Cannot Start Apache

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Cannot Start Apache

Postby kwow » 29. June 2005 05:32

Hi,

I have read thru some threads regarding the problem I'm facing and still unable to resolve.

After installing the latest version of xampp, I am able to start Apache on my W2000 server. However, the next day Apache was stopped and I cannot restart Apache again using the XAMPP control panel..it says "BUSY....DONE".

Went thru the error.log and could not see anything that might cause the problem....but again I am not competent enough to understand most of it. Below is the log file:

[Mon Jun 20 13:06:44 2005] [notice] Digest: generating secret for digest authentication ...
[Mon Jun 20 13:06:44 2005] [notice] Digest: done
[Mon Jun 20 13:06:46 2005] [notice] Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.0.4 configured -- resuming normal operations
[Mon Jun 20 13:06:46 2005] [notice] Server built: May 29 2005 12:18:55
[Mon Jun 20 13:06:46 2005] [notice] Parent: Created child process 2392
[Mon Jun 20 13:06:47 2005] [notice] Digest: generating secret for digest authentication ...
[Mon Jun 20 13:06:47 2005] [notice] Digest: done
[Mon Jun 20 13:06:48 2005] [notice] Child 2392: Child process is running
[Mon Jun 20 13:06:48 2005] [notice] Child 2392: Acquired the start mutex.
[Mon Jun 20 13:06:48 2005] [notice] Child 2392: Starting 250 worker threads.
[Mon Jun 20 13:06:59 2005] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Jun 20 13:06:59 2005] [notice] Child 2392: Exit event signaled. Child process is ending.
[Mon Jun 20 13:07:00 2005] [notice] Child 2392: Released the start mutex
[Mon Jun 20 13:07:01 2005] [notice] Child 2392: Waiting for 250 worker threads to exit.
[Mon Jun 20 13:07:01 2005] [notice] Child 2392: All worker threads have exited.
[Mon Jun 20 13:07:01 2005] [notice] Child 2392: Child process is exiting
[Mon Jun 20 13:07:01 2005] [notice] Parent: Child process exited successfully.
[Mon Jun 20 13:17:31 2005] [crit] (22)Invalid argument: unable to replace stderr with error_log
[Mon Jun 20 13:17:31 2005] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
[Mon Jun 20 13:17:32 2005] [crit] (22)Invalid argument: unable to replace stderr with error_log
[Mon Jun 20 13:17:32 2005] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
[Mon Jun 20 13:17:32 2005] [notice] Digest: generating secret for digest authentication ...
[Mon Jun 20 13:17:32 2005] [notice] Digest: done
[Mon Jun 20 13:17:33 2005] [notice] Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.0.4 configured -- resuming normal operations
[Mon Jun 20 13:17:33 2005] [notice] Server built: May 29 2005 12:18:55
[Mon Jun 20 13:17:33 2005] [notice] Parent: Created child process 2544
[Mon Jun 20 13:17:35 2005] [notice] Digest: generating secret for digest authentication ...
[Mon Jun 20 13:17:35 2005] [notice] Digest: done
[Mon Jun 20 13:17:36 2005] [notice] Child 2544: Child process is running
[Mon Jun 20 13:17:36 2005] [notice] Child 2544: Acquired the start mutex.
[Mon Jun 20 13:17:36 2005] [notice] Child 2544: Starting 250 worker threads.


I've also tried the command apache -t and it return "Syntax OK".

One more question, is there anyway to change to Apache to launch as a Windows service form the XAMPP control panel??

I'm lost to what to try next..... Please can anybody help??

Thanks.
kwow
 
Posts: 4
Joined: 24. June 2005 03:42

Postby Sjowhan » 29. June 2005 08:51

Yes, you can install Apache (and mysql too) as a service. Only you have to do is go the xammp/apache and click on install_service.bat (or something).

About the problem; dunno; maybe it's that dev/null that is the problem, because Windows doesn't have a dev/null, only Linux (Unix is better ;)) have.
Sjowhan
 
Posts: 16
Joined: 22. June 2005 16:38

Postby kwow » 29. June 2005 10:03

When I click on apache_installservice.bat, it return this error msg:

Installing Apache2 as an Service
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. :make_sock: could not bind to address 0.0.0.0:443
no listening sockets available. shutting down
unable to open logs
Now we start Apache2 :)
The service name invalid.

I guess this is because Apache is not started...not sure...
kwow
 
Posts: 4
Joined: 24. June 2005 03:42

Postby Sjowhan » 29. June 2005 10:15

That 443-thing is because apache is in SSLmode. Did you make any changes last days in httpd.conf on SSL-settings, the configurationfile of Apache?
Sjowhan
 
Posts: 16
Joined: 22. June 2005 16:38

Postby kwow » 29. June 2005 12:13

Never did touch the file after installation. Could this cause Apache unable to start??
kwow
 
Posts: 4
Joined: 24. June 2005 03:42

Postby alucard01 » 29. June 2005 13:20

maybe you have your IIS started in XP.

IIS seems by default started when system start. you can stop the service in control panel, or prevent it from start when system start.

When you stop IIS, restart Apache and please tell us what is the error then.

Hope it helps
alucard01
 
Posts: 122
Joined: 15. May 2005 13:51

Postby kwow » 30. June 2005 02:02

Thanks for reply.

I'm consider a newbie in all this but I am trying to learn the trade to make all this work. Apologize if I do ask stupid questions. Please bear with me.

I'm not running XP but Windows 2000 Server. Is this the same as IIs?? How do I identify in the service control panel which particular process to stop?? Can you help to identify the service name??

Thanks.
kwow
 
Posts: 4
Joined: 24. June 2005 03:42

Postby alucard01 » 30. June 2005 08:47

It's ok with W2k server. It has IIS also.

To stop IIS, go to Control panel > system management tools (or sth like that, because I am using Chinese, I dunno the English name, sorry.) > services

You will see a service name call 'IIS admin', see if it is enabled. If yes, stop it. And restart your Apache to see if it works.

And if there is any error, please let us know.
alucard01
 
Posts: 122
Joined: 15. May 2005 13:51


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 133 guests