Apache crashing repeatedly
Posted by:
ES
(---.ip.telfort.nl)
Date: June 15, 2009 03:47PM
I installed wampserver 2.0 (on Windows XP) a few months back, and everything worked fine. However, since yesterday, I keep on getting error messages.
This is what I get:
1) Often, when I request a page, I get a server timeout.
2) Apache crashes every time, with a message to send a Microsoft Bug Report.
3) Very (very!) occasionally, a page will work. However, since PHPMyAdmin won't work, I can't make a backup of my DB.
These are the Apache errors from the log:
[Mon Jun 15 14:26:03 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jun 15 14:26:03 2009] [notice] Parent: Created child process 5944
[Mon Jun 15 14:26:03 2009] [notice] Child 5944: Child process is running
[Mon Jun 15 14:26:03 2009] [notice] Child 5944: Acquired the start mutex.
[Mon Jun 15 14:26:03 2009] [notice] Child 5944: Starting 64 worker threads.
[Mon Jun 15 14:26:03 2009] [notice] Child 5944: Starting thread to listen on port 80.
[Mon Jun 15 15:16:48 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Mon Jun 15 15:16:48 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Mon Jun 15 15:16:48 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jun 15 15:16:48 2009] [notice] Parent: Created child process 2004
[Mon Jun 15 15:16:49 2009] [notice] Child 2004: Child process is running
[Mon Jun 15 15:16:49 2009] [notice] Child 2004: Acquired the start mutex.
[Mon Jun 15 15:16:49 2009] [notice] Child 2004: Starting 64 worker threads.
[Mon Jun 15 15:16:49 2009] [notice] Child 2004: Starting thread to listen on port 80.
When I "listen" to port 80, I get yet another Microfost Bug Report ("In Apache server an error occurred and must be shut down"... etc)
The command prompt says: "Your port 80 is actually used by...
Information ot available (might be Skype)."
However, Skype has been configured a long time ago, and worked perfectly. Same with IIS (which I also have running). A conflict with port 80 has been resolved a long time ago and both IIS and WAMP worked perfectly next to each other.
This is what I use:
Apache/2.2.11 (Win32) PHP/5.2.8
MySQL client version: 5.0.51a
PHP extension: mysqli
This is what I get from my PHP error log (this is just a snippet):
[15-Jun-2009 14:19:23] PHP 1. {main}() C:\wamp\scripts\refresh.php:0
[15-Jun-2009 14:19:23] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385
[15-Jun-2009 14:19:23] PHP Stack trace:
[15-Jun-2009 14:19:23] PHP 1. {main}() C:\wamp\scripts\refresh.php:0
[15-Jun-2009 14:19:23] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385
[15-Jun-2009 14:19:23] PHP Stack trace:
[15-Jun-2009 14:19:23] PHP 1. {main}() C:\wamp\scripts\refresh.php:0
[15-Jun-2009 14:19:23] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385
[15-Jun-2009 14:19:23] PHP Stack trace:
[15-Jun-2009 14:19:23] PHP 1. {main}() C:\wamp\scripts\refresh.php:0
[15-Jun-2009 14:19:23] PHP Notice: Undefined variable: list in C:\wamp\scripts\wampserver.lib.php on line 33
[15-Jun-2009 14:19:23] PHP Stack trace:
[15-Jun-2009 14:19:23] PHP 1. {main}() C:\wamp\scripts\refresh.php:0
[15-Jun-2009 14:19:23] PHP 2. listDir() C:\wamp\scripts\refresh.php:490
[15-Jun-2009 14:19:23] PHP Warning: Invalid argument supplied for foreach() in C:\wamp\scripts\refresh.php on line 497
[15-Jun-2009 14:19:23] PHP Stack trace:
[15-Jun-2009 14:19:23] PHP 1. {main}() C:\wamp\scripts\refresh.php:0
And here just a snippet from my MySQL error log:
090615 14:19:27 InnoDB: Started; log sequence number 0 46449
090615 14:19:27 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
090615 14:19:27 [ERROR] Incorrect definition of table mysql.event: expected column 'sql_mode' at position 14 to have type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH'), found type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_Z
090615 14:19:27 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
090615 14:19:27 [Note] wampmysqld: ready for connections.
Version: '5.1.30-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
Turning off Skype, my Firewall and IIS had no effect, the problem persisted...
Does anybody have a clue?