BlueOnyx 5107R - make_sock: could not bind to address 0.0.0.0:80

Recently, I became aware that Apache’s access and error_log on a BlueOnyx 5107R server were both zero byte files. Restarting Apache to correct the issue resulted in the following error message:

(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

Fixing the issue was a simple matter of issuing the following commands:

killall -9 httpd
service httpd start

It seems that during logrotate, Apache was not able to get new file handles to write to the new log files.

Roger Comply avatar
Roger Comply
Thank you for reading!
Feel free to waste more time by subscribing to my RSS feed.