Trying to start an apache server through XAMPP
<div class="IPBDescription">starting then stopping.</div>Hey guys, I know there are some server wizards around these parts so I'll pass my question on to you. Here goes:
Yesterday I downloaded XAMPP which is a PHP, MYSQL and Apache bundle with a decent control panel of sorts. I have had it installed before, a year ago, and back then it worked. Now it does not.
I have it installed, but I can't get the apache service up and running. I press the "start" button and it tells me "Busy..." and then "Apache service started". But I should be getting in green "RUNNING" marker besides the apache label and I'm not getting that. Furthermore I can't find the service in the list of running processes.
In services.msc I can find "Apache2.2" but if I click it it will tell me that it started, then stopped.
I have tried reinstalling the XAMPP package, no dice.
Cause?: I had IIS installed from the windows XP CD because I was told in a tutorial to do so, I uninstalled it when I heard that it could interfer with XAMPP's apache service config.
Errorlog: I get an errorlog from apache whenever I try to start it, it goes like this:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->[Wed Sep 23 13:11:02 2009] [notice] Digest: generating secret for digest authentication ...
[Wed Sep 23 13:11:02 2009] [notice] Digest: done
[Wed Sep 23 13:11:03 2009] [notice] Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Wed Sep 23 13:11:03 2009] [notice] Server built: Jul 22 2009 11:35:54
[Wed Sep 23 13:11:03 2009] [crit] (22)Invalid argument: Parent: Failed to create the child process.
[Wed Sep 23 13:11:03 2009] [crit] master_main: create child process failed. Exiting.
[Wed Sep 23 13:11:33 2009] [notice] Parent: Forcing termination of child process 36<!--c2--></div><!--ec2-->
tl;dr: Apache2.2 starts then stops.
Yesterday I downloaded XAMPP which is a PHP, MYSQL and Apache bundle with a decent control panel of sorts. I have had it installed before, a year ago, and back then it worked. Now it does not.
I have it installed, but I can't get the apache service up and running. I press the "start" button and it tells me "Busy..." and then "Apache service started". But I should be getting in green "RUNNING" marker besides the apache label and I'm not getting that. Furthermore I can't find the service in the list of running processes.
In services.msc I can find "Apache2.2" but if I click it it will tell me that it started, then stopped.
I have tried reinstalling the XAMPP package, no dice.
Cause?: I had IIS installed from the windows XP CD because I was told in a tutorial to do so, I uninstalled it when I heard that it could interfer with XAMPP's apache service config.
Errorlog: I get an errorlog from apache whenever I try to start it, it goes like this:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->[Wed Sep 23 13:11:02 2009] [notice] Digest: generating secret for digest authentication ...
[Wed Sep 23 13:11:02 2009] [notice] Digest: done
[Wed Sep 23 13:11:03 2009] [notice] Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Wed Sep 23 13:11:03 2009] [notice] Server built: Jul 22 2009 11:35:54
[Wed Sep 23 13:11:03 2009] [crit] (22)Invalid argument: Parent: Failed to create the child process.
[Wed Sep 23 13:11:03 2009] [crit] master_main: create child process failed. Exiting.
[Wed Sep 23 13:11:33 2009] [notice] Parent: Forcing termination of child process 36<!--c2--></div><!--ec2-->
tl;dr: Apache2.2 starts then stops.
Comments
Known Error.
Uninstall, make sure that the registry keys are cleared. Reinstall.
Also certain ActivePerl versions seem to ###### xampp over.
---
Other than that you pretty much have to do some intensive debugging.
Get yourself the sysinternals suite and debug away :P
Locallyunscene, I just downloaded the latest version of xampp, I'm not "using" any version of apache. I can't see why the guys behind xampp should include an old version of apache.
Vim /var/www/index.html.
--Scythe--
Vim /var/www/index.html.
--Scythe--<!--QuoteEnd--></div><!--QuoteEEnd-->
Propaganda!