Apache does start with errors. MySQL does not start.
Posted: 13. July 2007 11:29
Hoi,
Apache does start, but with errors. MySQL does not start.
I have XAMPP 1.6.2 on Windows 98 SE (dutch). I tried the installer on C:/program files/xampp and C:/xampp. Now I am using the Selfextracting 7-ZIP archive in C:/xampp. All of them give the same result.
When I start Apache using apache_start.bat it's output is
I can access //localhost/xampp/ so Apache and PHP are working,
but C:\xampp\apache\logs\error.log displays some errors:
When I start the XAMPP Control Panel Application, it displays an warning about a directory mismatch, but I don't know where to correct it. I can start Apache by clicking on the 'Start' button with the following output:
Apache is started, but there is not green label with Running in it. The 'Start'-button doesn't change to 'Stop' as shown in the [url=http://images.apachefriends.org/images/1161.jpg]installation manual
[/url].
If I click on 'Status' it displays the following: state=0 but thread=lc
The following has been appended to C:\xampp\apache\logs\error.log:
//localhost/xampp/status.php gives:
After all this I can't get MySQL started using the control panel, mysql_start.bat, or WinMySQLadmin. It could be that this is because Apache isn't working properly. Let me know if you need to know more.
Registery:
Does anyone know what might be wrong, or needs to be checked?
Thanks for any reply,
Udo
Apache does start, but with errors. MySQL does not start.
I have XAMPP 1.6.2 on Windows 98 SE (dutch). I tried the installer on C:/program files/xampp and C:/xampp. Now I am using the Selfextracting 7-ZIP archive in C:/xampp. All of them give the same result.
When I start Apache using apache_start.bat it's output is
- Code: Select all
Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...
I can access //localhost/xampp/ so Apache and PHP are working,
but C:\xampp\apache\logs\error.log displays some errors:
- Code: Select all
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_imap.dll' - Een apparaat dat op het systeem is aangesloten, werkt niet.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_pgsql.dll' - Een apparaat dat op het systeem is aangesloten, werkt niet.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_svn.dll' - Kan een van de vereiste bibliotheekbestanden van deze toepassing niet vinden.\r\n in Unknown on line 0
[Fri Jul 13 11:39:18 2007] [notice] Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2 configured -- resuming normal operations
[Fri Jul 13 11:39:18 2007] [notice] Server built: Mar 5 2007 11:23:00
[Fri Jul 13 11:39:18 2007] [notice] Parent: Created child process -571639
[Fri Jul 13 11:39:20 2007] [notice] Child -571639: Child process is running
[Fri Jul 13 11:39:20 2007] [notice] Child -571639: Acquired the start mutex.
[Fri Jul 13 11:39:20 2007] [notice] Child -571639: Starting 250 worker threads.
[Fri Jul 13 11:39:22 2007] [notice] Child -571639: Listening on port 443.
[Fri Jul 13 11:39:22 2007] [notice] Child -571639: Listening on port 80.
When I start the XAMPP Control Panel Application, it displays an warning about a directory mismatch, but I don't know where to correct it. I can start Apache by clicking on the 'Start' button with the following output:
- Code: Select all
XAMPP Control Panel Version 2.5 (9. May, 2007)
Windows 4.10 Build 2222 Platform 1 A
Current Directory: C:\xampp
Install Directory:
*** WARNING: Directory mismatch ***
Status Check OK
Busy...
Apache started [Port 80]
Apache is started, but there is not green label with Running in it. The 'Start'-button doesn't change to 'Stop' as shown in the [url=http://images.apachefriends.org/images/1161.jpg]installation manual
[/url].
If I click on 'Status' it displays the following: state=0 but thread=lc
- Code: Select all
XAMPP Application Status 0.0.0.0
apache State 0 Service 0 Start 0 Thread lc Op 0 Port 80
mysql State 0 Service 0 Start 0 Thread 0 Op 0 Port 3306
ftp State 0 Service 0 Start 0 Thread 0 Op 0 Port 21
mercury State 0 Service 0 Start 0 Thread 0 Op 0 Port 25
The following has been appended to C:\xampp\apache\logs\error.log:
- Code: Select all
[Fri Jul 13 11:55:19 2007] [crit] (22)Invalid argument: unable to replace stderr with error_log
[Fri Jul 13 11:55:19 2007] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
[Fri Jul 13 11:55:19 2007] [crit] (22)Invalid argument: unable to replace stderr with error_log
[Fri Jul 13 11:55:19 2007] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
[Fri Jul 13 11:55:22 2007] [notice] Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2 configured -- resuming normal operations
[Fri Jul 13 11:55:22 2007] [notice] Server built: Mar 5 2007 11:23:00
[Fri Jul 13 11:55:22 2007] [notice] Parent: Created child process -683923
[Fri Jul 13 11:55:24 2007] [notice] Child -683923: Child process is running
[Fri Jul 13 11:55:24 2007] [notice] Child -683923: Acquired the start mutex.
[Fri Jul 13 11:55:24 2007] [notice] Child -683923: Starting 250 worker threads.
[Fri Jul 13 11:55:25 2007] [notice] Child -683923: Listening on port 443.
[Fri Jul 13 11:55:25 2007] [notice] Child -683923: Listening on port 80.
//localhost/xampp/status.php gives:
- Code: Select all
MySQL database DEACTIVATED
PHP ACTIVATED
HTTPS (SSL) ACTIVATED
Common Gateway Interface (CGI) ACTIVATED
Server Side Includes (SSI) ACTIVATED
SMTP Service DEACTIVATED
FTP Service DEACTIVATED
After all this I can't get MySQL started using the control panel, mysql_start.bat, or WinMySQLadmin. It could be that this is because Apache isn't working properly. Let me know if you need to know more.
Registery:
- Code: Select all
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Apache2.2]
"ImagePath"="\"C:\\PROGRAM FILES\\XAMPP\\APACHE\\BIN\\APACHE.EXE\" -n Apache2.2 -k runservice"
"DisplayName"="Apache2.2"
"Description"="Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Apache2.2\Parameters]
"ConfigArgs"=hex(7):00,00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\Application\MySQL]
"EventMessageFile"=hex(2):43,3a,5c,58,41,4d,50,50,5c,4d,59,53,51,4c,5c,42,49,\
4e,5c,4d,59,53,51,4c,44,2d,4e,54,2e,45,58,45,00
"TypesSupported"=dword:00000007
Does anyone know what might be wrong, or needs to be checked?
Thanks for any reply,
Udo