|Note this is an old guide. It was for apache 1.3 with customapache. The current boot script we provide shouldn't have this issue.|
If apache is not completely shutting down, consider trying graceful restarts (see related link below) and also ensure your system is updated such that you don't have any outdated php scripts on the server.
[crit] (98)Address already in use: make_sock: could not bind to port 8090
[crit] (98)Address already in use: make_sock: could not bind to port 443
[crit] (98)Address already in use: make_sock: could not bind to port 80
If you see this error in your /var/log/httpd/error_log, it would mean that apache isn't shutting down completely before trying to restart. This means that the new process won't be able to bind to the given ports because they're still being used by the old copy of apache that wasn't completely shut down.
To solve this, use a different boot script that will wait for all apache processes to stop before starting the new one:
cp httpd /etc/init.d/httpd
cp httpd_freebsd /usr/local/etc/rc.d/httpd
|Change apache to do graceful restarts|
|Basic system security|
© 2003 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST