Recently I have made changes to the directives for some sites. When I hit "apply changes" nothing happened. so I tried to stop and restart apache and Apache fails to come up.
98)Address already in use: make_sock: could not bind to address [::]:80 no listening sockets available, shutting down.
Be a "newbie" I paniced and call ServePath (where our machine is hosted) support to reboot the server.
The second time it happened I decided to so the same thing, but told them to do a "graceful" reboot... when they did, this time Apache still failed with the same error. So, now I decide to calm down, and past the error into google and find on Slashdot a solution: run netstat -tulpn | grep :80 --> get the process number (it was a tcp connection still in use by apache) --> then kill that PID, now I can go back to VirtualMin/WebMin and start apache and it comes up OK..
My question is: what am I doing to make this happen? Possibly not waiting long enough for the "Apply" go finish? is "Apply" running a complete httpd graceful stop and start? Or does apply simply write the new settings to httpd.conf and then we should stop and start Apache? I don't think so, in fact that seems to be what is causing this to happen... I'm pushing too many buttons too fast or something....
Any clues? I need to see if I can not keep making this happen and I am pretty sure it is "user dumb action" that is the problem.