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

I have installed Xampp .run file. and when I type

/opt/lampp/lampp start 

then it gives me a message like this

XAMPP: Starting
XAMPP:  Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
share|improve this question
sudo: /etc/init.d/apache2: command not found when i am hit the command show like this – user266243 Apr 7 '14 at 12:08
Hi i faced the same issue and have tried mitch's solution to fix it, it works because i get this message on the terminal Starting Appache... Ok But while lampp started... I m not seeing how to use it. I m not seeing any lampp window on my computer – user274996 Apr 27 '14 at 15:56
Skype is using/blocking port 80, afaik – Blauhirn Mar 20 at 1:29
up vote 1 down vote accepted

You've already got a web server running on port 80. I see three viable choices:

  1. Move XAMPP's version of Apache to a different port
  2. Move whatever httpd is running on port 80 to another port (or remove it)
  3. Just install lamp-server^ (a real production stack) and stop messing around with XAMPP (which is really just a toy for Windows developers)
share|improve this answer
I've moved the apache port and work. Thanks :) – a_pajic Sep 2 '13 at 10:43

Try this:

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo /etc/init.d/apache2 stop
sudo /etc/init.d/mysql stop
sudo /etc/init.d/proftpd stop
sudo /opt/lampp/lampp start
share|improve this answer
It works flawlessly! – Rubens Mariuzzo Nov 4 '13 at 17:22
command not found. ubuntu 13.10 – Danny Archer Dec 21 '13 at 11:13
How did you install Apache? – Mitch Dec 21 '13 at 11:20
Thanks Mitch that helped me too.. :) – Utpal - Ur Best Pal Jul 10 at 5:43

Had the same problem, but these fixes didn't work for me. This post on the same forum solved my issues... I literally tried everything else :) Working great now though.

Cannot start XAMPP on Ubuntu 11.10

Thanks, hope this helps somebody.

share|improve this answer

protected by Community Oct 22 '14 at 13:47

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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