Once in a while, apache will crash on our server and it will NOT restart. To get it working, you must reboot the server.
Here is what the log files have to say about this:
I was not able to check to see why it is saying "Address already in use" because somebody rebooted the server before I got a chance to look into the matter. And of course, now everything is working fine. Apache will restart perfectly.
We are using Apache 2. About a month ago, it was doing sort of the same thing, only it was saying that it could not bind to port 443. Well, since we don't use SSL, I just commented out everything about port 443 in httpd.conf and changed the init script startup command so that apache would start without SSL. And that seemed to work because after that, we could restart apache manually again without error.
Now, today, all of sudden, it does something similar again! With the log entries I posted above. And no attempts to restart it by the system watch program or in DA were successful. I'm wondering if maybe the httpd daemon is crashing, but not completely dying??? Then, it could still be bound to port 80, but not working, which would cause apache not to be able to start???
I don't know if I'm anywhere close, but if you have any ideas, please let me know.
Louie
Here is what the log files have to say about this:
Code:
Oct 1 00:55:08 bulldog httpd: no listening sockets available, shutting down
Oct 1 00:55:08 bulldog httpd: Unable to open logs
Oct 1 00:55:08 bulldog httpd: httpd startup failed
Oct 1 01:00:08 bulldog httpd: httpd shutdown failed
Oct 1 01:00:09 bulldog httpd: (98)Address already in use: make_sock: could not bind to address
I was not able to check to see why it is saying "Address already in use" because somebody rebooted the server before I got a chance to look into the matter. And of course, now everything is working fine. Apache will restart perfectly.
We are using Apache 2. About a month ago, it was doing sort of the same thing, only it was saying that it could not bind to port 443. Well, since we don't use SSL, I just commented out everything about port 443 in httpd.conf and changed the init script startup command so that apache would start without SSL. And that seemed to work because after that, we could restart apache manually again without error.
Now, today, all of sudden, it does something similar again! With the log entries I posted above. And no attempts to restart it by the system watch program or in DA were successful. I'm wondering if maybe the httpd daemon is crashing, but not completely dying??? Then, it could still be bound to port 80, but not working, which would cause apache not to be able to start???
I don't know if I'm anywhere close, but if you have any ideas, please let me know.
Louie