Hi Kyle,
Thanks for the reply. I know about that bug in PHP. I guess it still
exists in PHP 5.2.3 because another Win2k3 server running that
version using the same script also generates that error now and then.
However: The PHP bug is not really the issue (unless directly related
off course). My problem concerns the unsuccessful auto restart of
apache.
Regards,
Rudo
On 26-jun-2007, at 15:05, Kyle Wilcox wrote:
There has been a documented problem with PHP giving that error in the
past if you end your files with a comment. Check the script to make
sure it does not end in a comment or add a '?>' to the end of the
script.
http://bugs.php.net/bug.php?id=35382
Rudo de Jong wrote:
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]
--
Kyle Wilcox
NOAA Chesapeake Bay Office
410 Severn Avenue
Suite 107A
Annapolis, MD 21403
office: (410) 295-3151
[EMAIL PROTECTED]
"It is from the wellspring of our despair and the places
that we are broken that we come to repair the world."
- Murray Waas
---------------------------------------------------------------------
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]