Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I try to start XAMPP with /opt/lampp/lampp start command it gives me a message like this.

Starting XAMPP for Linux 1.7.7...
XAMPP: Another web server daemon is already running.
XAMPP: XAMPP-MySQL is already running.
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.
share|improve this question
1  
You have another apache installation running. Uninstall apache2, restart and try again –  user47257 Feb 20 '12 at 18:59
    
How can i uninstall apache2? –  sabbir Feb 20 '12 at 19:02
    
I don't really use XAMPP, but I don't see why you should uninstall Apache. It seems more likely to my naive intuition that XAMPP was already started, along with MySQL and ProFTPD. Unless you installed those servers, plus XAMPP. Personally, I find it simpler to just install the servers, and forget about the added layer of XAMPP. Then, you know what's going on, and have more control. –  Marty Fried Feb 20 '12 at 20:42

3 Answers 3

You're assuming it's Apache, it may be something else. If it is Apache then try sudo aptitude remove apache2. It could be lighttpd (sudo aptitude remove lighttpd) or nginx (sudo aptitude remove nginx) or any number of other packages. To identify it you can use netstat:

sudo netstat -pant | egrep ":80 .* LISTEN"

The last field will identify the program using port 80.


' sudo: aptitude: command not found '

Looks like you don't have aptitude installed, I assume you have an old version of Ubuntu? You can use apt-get instead:

apt-get remove apache2
share|improve this answer
    
After tring :: ## ' sudo netstat -pant | egrep ":80 .* LISTEN" ' ## Show that :: ## ' tcp6 0 0 :::80 :::* LISTEN 1117/apache2 ' ## . Then Try :: ## ' sudo aptitude remove apache2 ' ##. Then Show message :: # ' sudo: aptitude: command not found ' # –  sabbir Feb 20 '12 at 20:15
3  
On Oneiric 11.10 aptitute isn't installed by default. –  red_trumpet Feb 21 '12 at 19:27
    
@red_trumpet - interesting, thanks. I hadn't realised that –  Cry Havok Feb 21 '12 at 23:39

I have similar problem and found the issue caused another service already running on port 443 (SSL).

Check running listener: sudo netstat -tunap | grep LISTEN, Mine got vmware-hostd and cupsd listed.

Refer to http://www.apachefriends.org/en/xampp-linux.html , we need turn of lamp's SSL service using this command: sudo /opt/lampp/lampp stopssl , the command deactivates the SSL support permanently.

Now you can start xampp: sudo /opt/lampp/lampp start

share|improve this answer

To stop apache2 you can use following command

sudo /etc/init.d/apache2 stop

and then you can try starting xampp

hopefully it will work .

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.