Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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
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 , 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

I uninstalled apache2 in synaptic, then ran sudo /opt/lampp/lampp start and it worked.

share|improve this answer

Your Answer


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.