On my dev server. Evey so often apache2 just falls over. Its no longer running as a process.
Server details: Linux Debian etch Apache2
# ps aux | grep apache www-data 6782 99.9 0.2 4792 2912 ? R Oct12 8592:53 /usr/sbin/apache/log root 22418 0.0 0.0 2852 704 pts/2 S+ 13:31 0:00 grep apache # apache2ctl restart httpd not running, trying to start (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
When I check the /var/log/apach2/error.log There is nothing in there.
I guess I want to do two things.
Figure out why apache is falling over. Fix it
Congifure where nessacary so it doesn't happen again and maybe set up log files better?
If i restart the machine I can get apache up and running again. can anyone explain what is going on here?