This one is giving me a headache...
I have installed
XAMPP for Linux 1.7.7 on Ubuntu 12.10. I haven't installed the latest version because of the new security "feature" which makes
XAMPP so secure I can't get it running. But that's another story.
After it installed and ran ok for a couple of months, I now get the famous
XAMPP: Another web server daemon is already running. error while starting XAMPP.
Now I've googled extensively and can rule out the following:
- There is no other
- There are no
apache 2services running
- There are no services running that use
port 80(checked with
netstat -an grep -w 80)
I have also done a fresh install of
xampp 1.7.7, but that gives me the same result.
I think I have tried every solution on the first two result-pages of google and am nowhere nearer to a solution.
Can anyone give me pointers on how to find the mysterious
Webdeamon that is already running?
I changed the port that XAMPP listens to in httpd.conf, which, in my case,is located in the
/opt/lampp/etc/ folder. I changed the option Listen, as that was the only option that had a value of 80. Still I get the Deamon already running-error.
The output of the
netstat command is the following:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1189/tntnet tcp 0 0 192.168.178.52:35048 184.108.40.206:80 ESTABLISHED 2350/ubuntu-geoip-p tcp 0 0 192.168.178.52:35047 220.127.116.11:80 TIME_WAIT -
I have killed the
ubuntu-geoip-p service and couldn't find a way to kill the tcp service, but I don't think the tcp service must be killed in order to start apache. Anyway, after this I still got the same error.
Any other suggestions?
lsof -i :80 gave a different output and I saw that
tntnet also used port 80. Uninstalled
tntnet and apache started as normally. Problem solved! Thanks for the info.