Wu Jin wrote:
I'm using httpd-2.0.39 on FreeBSD. I put the "apachectl start" command in the startup script. But intermittently apache fails to start when the computer reboots. Then I have to manually start it. Here is the message in the error log:[emerg] (9) Bad file descriptor: Couldn't create accept lock.
Maybe you can run truss on it (in the startup script), saving the output to a file? It would be helpful to see what is happening with file descriptor 9.
