Hi there!
I searched the web without finding a clear answer to my problem.
Maybe somebody on the list can help me out.
I am running a Win2k3 server with Apache 2.0.59 and PHP 5.1.4
Some flaky PHP script is causing Apache to restart itself every now
and then. The PHP script is not the issue though. My problem is that
Apache does not completely return to a working state after restarting
itself. See below for a snippet from the error log:
---start of log: apache auto restart---
fatal flex scanner internal error--end of buffer missed
[Tue Jun 26 10:56:33 2007] [error] Parent: child process exited with
status 2 -- Aborting.
[Tue Jun 26 10:56:34 2007] [notice] Apache configured -- resuming
normal operations
[Tue Jun 26 10:56:34 2007] [notice] Server built: Jul 27 2006 15:55:03
[Tue Jun 26 10:56:34 2007] [notice] Parent: Created child process 3528
[Tue Jun 26 10:56:34 2007] [notice] Disabled use of AcceptEx()
WinSock2 API
[Tue Jun 26 10:56:34 2007] [notice] Child 3528: Child process is running
[Tue Jun 26 10:56:34 2007] [notice] Child 3528: Acquired the start
mutex.
[Tue Jun 26 10:56:34 2007] [notice] Child 3528: Starting 512 worker
threads.
---end of log: apache auto restart---
Note:
- the error which seems to cause the restart: it is logged without
the regular date and time etc. header
- the exit code of the child process: 2: I could not find any info on
this exit code
- the newly created child process does not start listening on port 80
---> compare the log of a manual restart below, the created child
process does start listening on port 80, as expected:
---start of log: manual restart---
[Tue Jun 26 11:00:53 2007] [notice] Parent: Received shutdown signal
-- Shutting down the server.
[Tue Jun 26 11:00:53 2007] [notice] Child 3528: Exit event signaled.
Child process is ending.
[Tue Jun 26 11:00:54 2007] [notice] Child 3528: Released the start mutex
[Tue Jun 26 11:00:54 2007] [notice] Child 3528: Waiting for 0 worker
threads to exit.
[Tue Jun 26 11:00:54 2007] [notice] Child 3528: All worker threads
have exited.
[Tue Jun 26 11:00:54 2007] [notice] Child 3528: Child process is exiting
[Tue Jun 26 11:00:55 2007] [notice] Parent: Child process exited
successfully.
[Tue Jun 26 11:00:55 2007] [notice] Apache configured -- resuming
normal operations
[Tue Jun 26 11:00:55 2007] [notice] Server built: Jul 27 2006 15:55:03
[Tue Jun 26 11:00:55 2007] [notice] Parent: Created child process 5400
[Tue Jun 26 11:00:55 2007] [notice] Disabled use of AcceptEx()
WinSock2 API
[Tue Jun 26 11:00:55 2007] [notice] Child 5400: Child process is running
[Tue Jun 26 11:00:55 2007] [notice] Child 5400: Acquired the start
mutex.
[Tue Jun 26 11:00:55 2007] [notice] Child 5400: Starting 512 worker
threads.
[Tue Jun 26 11:00:55 2007] [notice] Child 5400: Listening on port 80.
---end of log: manual restart---
Regards,
Rudo de Jong
Jet Stream BV - The Netherlands
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]