XAMPP: Another web server is already running

Juan Kev picture Juan Kev · Nov 8, 2016 · Viewed 46k times · Source

I get the following error after installing gitlab..

root@Blase:~# sudo /opt/lampp/lampp start
Starting XAMPP for Linux 7.0.9-1...
XAMPP: Starting Apache...fail.
[XAMPP:  Another web server is already running.][1]
XAMPP: Starting MySQL...already running.

I cannot access my localhost/phpmyadmin or any projects folder as am redirected to Gitlab.

I tried to view which program is using port 80 by running: "netstat -tulpn | grep --color :80" and i got the output shown in attached image. Any help guys? enter image description here

Answer

tech vanguard picture tech vanguard · Jun 6, 2017

I had to stop all the services,

$sudo /etc/init.d/apache2 stop

$sudo /etc/init.d/mysql stop

$sudo /etc/init.d/proftpd stop

Then I restarted the server

sudo /opt/lampp/lampp restart