You are not logged in.
I just installed xampp and after a few hours of messing around I deleted the logs (assuming they would re-create) since I wanted to get a clean start. Once I restarted it the only log that go created was error_log with the contents of
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Apache also says it's not running, even though it is.
Last edited by brando56894 (2011-08-17 04:41:48)
Offline
I think what is running is a previous instance of apache that wasn't shut down properly hence the messages about the port being in use.
You will have to kill the existing apache processes, then restart via the xampp startup script (you may as well delete the logs too)
Offline
Run this as root will show you the processes that are already listening on port 80
netstat -tnlp
EDIT: Then you can kill them and start again...
Last edited by fukawi2 (2011-08-15 23:11:43)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Run this as root will show you the processes that are already listening on port 80
netstat -tnlp
EDIT: Then you can kill them and start again...
I'd never noticed the p flag in netstat! Nice.
Offline
I ended up just looking through the apache config files and saw references to the log files that it needed and created them. I also had apache running twice apparently since even when I stopped XAMPP I still had a bunch of httpd threads running, a simple sudo killall httpd fixed that!
Offline
I think the duplicate httpds were your problem. If there are no log files, the startup of apache should create them
Offline