Cannot start XAMPP on Ubuntu 11.10
Solution 1
This is a peculiar error you will get if you run XAMPP in LINUX.
Assumption: XAMPP is unzipped @ /opt/
folder.
If you get the error "XAMPP: Another web server daemon with SSL is already running" when you run ./lampp start
. Simply follow the steps below to get rid of this error:
Open the file
/opt/lampp/etc/httpd.conf
.Search the
Listen 80
and change it to some other port (e.g.Listen 2145
) (Line No. 40).Open the file
/opt/lampp/etc/extra/httpd-ssl.conf
.Search the
Listen 443
and change it to some other port (e.g.Listen 16443
) (Line No. 39).Open the file
/opt/lampp/lampp
Search for the port
testport 80
and replace it totestport 2145
. Also change thetestport 443
totestport 16443
. (Happens to be the Line No. 197, 214)Now go and run
/opt/lampp/lampp start
. It should work now.
Note: Line numbers may be different.
Solution 2
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 had vmware-hostd
and cupsd
listed.
Refer to http://www.apachefriends.org/en/xampp-linux.html, we need turn off lamp's SSL service using the command sudo /opt/lampp/lampp stopssl
, which deactivates the SSL support permanently.
Now you can start xampp: sudo /opt/lampp/lampp start
Solution 3
In the terminal, execute sudo /opt/lampp/lampp disablessl
. This should disable ssl, after which xampp will start successfully again.
Related videos on Youtube
Asanka400
Updated on September 18, 2022Comments
-
Asanka400 over 1 year
When I try to start XAMPP with sudo /opt/lampp/lampp start command it gives me a message like this.
Starting XAMPP for Linux 1.7.7... XAMPP: Another web server daemon with SSL is already running. XAMPP: Starting MySQL... XAMPP: Couldn't start MySQL! XAMPP: XAMPP-ProFTPD is already running. XAMPP for Linux started.
What is this and how can I find what was this another web server daemon with SSL. How to stop this server ?
-
Asanka400 over 12 yearsTnx bro.. :) Is there any way to stop that previously ruining server ?
-
sum2000 over 12 yearsThat depends on which server it is, if any daemon process is using it,chances are less,first you need to know that which process is using the port by default.
-
user568021 about 10 yearsChanging ports to 2145 and 16443 didn't work for me. This did, and I need no ssl.. thanks
-
Pranav over 4 yearsWorked like a charm. But is there any downside of disabling ssl in Xampp?