On Sunday 28 September 2008 09:26:06 pm Adam Carter wrote: > rix adam # /etc/init.d/apache2 start > * Starting apache2 ... > (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 [ > ok ] rix adam # > > The socket is not in use and log dir perms are ok, and; > > rix adam # apache2 -f /etc/apache2/httpd.conf > rix adam # pgrep -lf apach > 17740 apache2 -f /etc/apache2/httpd.conf > 17741 apache2 -f /etc/apache2/httpd.conf > 17744 apache2 -f /etc/apache2/httpd.conf > 17772 apache2 -f /etc/apache2/httpd.conf > rix adam # > > So, how do I troubleshoot this?
I just did a google search on the error "(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 > no listening sockets available, shutting down" and it turned up so much that I just don't even feel like reading it for you... What I suspect and what's mentioned in the pages that google turned up, something else is bound to port 80. Do a "ps -A | grep apache" and see if a stray daemon is running around... i not then go to /etc/apache2/vhosts.d and make sure both config files are "pointing" to the same host that apache is running on... That's where I would start. -- ***************************************************************************** From the desk of: Jerome D. McBride 21:56:02 up 1 day, 2:13, 5 users, load average: 0.14, 0.07, 0.02 *****************************************************************************