Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XAMPP: Another web server is already running

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

like image 362
kmihingo Avatar asked Nov 08 '16 07:11

kmihingo


2 Answers

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
like image 145
tech vanguard Avatar answered Dec 15 '22 01:12

tech vanguard


**Running Server on Linux Ubuntu **

In my case Nginx server is already running that's why i am getting this kind of error.

I stop the Nginx Web server first then start Apache server.

Stop Nginx server

sudo systemctl stop nginx

Start Apache Server

sudo /opt/lampp/lampp start

Must Read

Sometimes it can be port conflict between web servers. Changing the port number of both server or maybe one server we can run both servers at a time.

like image 21
Muhammad Faizan Fareed Avatar answered Dec 15 '22 01:12

Muhammad Faizan Fareed