« Installing Apache on XP | Main | Problems with web site? »
March 10, 2006
Apache Error Messages
I'm running Apache 2.0.55 now instead of IIS 5.1. (Hold the applause.)
But now, I'm getting the following error messages in my log file:
[Fri Mar 10 18:22:53 2006] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
[Fri Mar 10 18:22:53 2006] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
My best gues at this point is Message #3 at this url:
#
# EnableMMAP: Control whether memory-mapping is used to deliver
# files (assuming that the underlying OS supports it).
# The default is on; turn this off if you serve from NFS-mounted
# filesystems. On some systems, turning it off (regardless of
# filesystem) can improve performance; for details, please see
# http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap
#
EnableMMAP Off
# Also added this one as per Apache directions
# http://www.apache.org/dist/httpd/binaries/win32/#xpbug
Win32DisableAcceptEx
#
# EnableSendfile: Control whether the sendfile kernel support is
# used to deliver files (assuming that the OS supports it).
# The default is on; turn this off if you serve from NFS-mounted
# filesystems. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
#
EnableSendfile Off
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q317949
http://www.apache.org/dist/httpd/binaries/win32/README.html
[Fri Mar 10 21:37:31 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Fri Mar 10 21:37:31 2006] [notice] Child 5004: Child process is running
[Fri Mar 10 21:37:32 2006] [notice] Child 5752: Released the start mutex
[Fri Mar 10 21:37:32 2006] [notice] Child 5004: Acquired the start mutex.
[Fri Mar 10 21:37:32 2006] [notice] Child 5004: Starting 250 worker threads.
[Fri Mar 10 21:37:32 2006] [notice] Child 5004: Listening on port 80.
[Fri Mar 10 21:37:33 2006] [notice] Child 5752: Waiting for 250 worker threads to exit.
[Fri Mar 10 21:37:33 2006] [notice] Child 5752: All worker threads have exited.
[Fri Mar 10 21:37:33 2006] [notice] Child 5752: Child process is exiting
[Fri Mar 10 21:59:35 2006] [error] [client 66.218.65.27] File does not exist: C:/Inetpub/wwwroot/robots.txt
[Fri Mar 10 22:04:40 2006] [error] [client 65.55.246.72] File does not exist: C:/Inetpub/wwwroot/robots.txt
I got tired of seeing these messages about the robots.txt file, so I created one as described at
http://www.thesitewizard.com/archive/robotstxt.shtml
This is my robots.txt file:
User-agent: *
Disallow:
The biggest concern I'm facing now is that I get error messages like these in my log:
[Sat Mar 11 00:42:09 2006] [error] [client 66.249.71.57] File does not exist: C:/Inetpub/wwwroot/2006/02/www.peeniewallie.com
[Sat Mar 11 04:29:56 2006] [error] [client 66.249.64.42] File does not exist: C:/Inetpub/wwwroot/2005/03/www.peeniewallie.com
[Sat Mar 11 04:37:17 2006] [error] [client 66.249.71.62] File does not exist: C:/Inetpub/wwwroot/2006/01/www.peeniewallie.com
Posted by Peenie Wallie on March 10, 2006 at 9:30 PM
Comments
I have not seen the dreadful "winnt_accept: Asynchronous AcceptEx failed." entry in my log files after I made the same configuration chages to my Apache 2.0.55 a few weeks ago.
Congrats for moving to Apache.
Posted by: Uzi on March 10, 2006 at 11:23 PM
Thanks Uzi. Glad to know I'm not alone on this. :)
Posted by: Peenie Wallie on March 11, 2006 at 7:32 AM