I have this big problem with my Xampp server, for some reason the Apache service stops running after a few seconds it as been started, and i have no idea what the problem is, and the error logs don't say much about the problem.
[Fri May 07 01:09:32 2010] [notice] Digest: generating secret for digest authentication ...
[Fri May 07 01:09:32 2010] [notice] Digest: done
[Fri May 07 01:09:33 2010] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Fri May 07 01:09:33 2010] [notice] Server built: Nov 11 2009 14:29:03
[Fri May 07 01:09:33 2010] [crit] (22)Invalid argument: Parent: Failed to create the child process.
[Fri May 07 01:09:33 2010] [crit] (OS 6)O identificador é inválido. : master_main: create child process failed. Exiting.
[Fri May 07 01:09:33 2010] [notice] Parent: Forcing termination of child process 36
identificador é inválido (pt_PT) => identifier is invalid.
Note:
- No other application is using the Apache port.
I have done some changes to the httpd.conf file, but it as worked well for allot of time.
- Added some virtual hosts.
- Enabled xdebug.
As this happen to anyone, that could tell me whats the problem?
Thanks for your time.
Answer:
The solution as quite simple, i went to the Computer properties in Windows, Advanced tab, and then clicked Environment Variables, and changed the Variable Path
for my user to:
C:\Program Files\JavaFX\javafx-sdk1.2\bin;C:\Program Files\JavaFX\javafx-sdk1.2\emulator\bin;C:\Program Files\PC Connectivity Solution\;%CommonProgramFiles%\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Softimage;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\
If you aren't sure what to write here copy from the System Variable Path
.
That fixed my problems. Thanks to Igal Serban.
EDIT 2
I have disabled Perl and then Apache started to work properly. But i need Perl active. So any suggestions?
EDIT 1
The result after changing the debug level on Apache:
[Fri May 07 10:38:58 2010] [info] Init: Seeding PRNG with 136 bytes of entropy
[Fri May 07 10:38:59 2010] [info] Loading certificate & private key of SSL-aware server
[Fri May 07 10:38:59 2010] [debug] ssl_engine_pphrase.c(470): unencrypted RSA private key - pass phrase not required
[Fri May 07 10:38:59 2010] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Fri May 07 10:38:59 2010] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Fri May 07 10:38:59 2010] [info] Init: Initializing (virtual) servers for SSL
[Fri May 07 10:38:59 2010] [info] Configuring server for SSL protocol
[Fri May 07 10:38:59 2010] [debug] ssl_engine_init.c(414): Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1)
[Fri May 07 10:38:59 2010] [debug] ssl_engine_init.c(607): Configuring permitted SSL ciphers [ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL]
[Fri May 07 10:38:59 2010] [debug] ssl_engine_init.c(370): Configuring TLS extension handling
[Fri May 07 10:38:59 2010] [debug] ssl_engine_init.c(738): Configuring RSA server certificate
[Fri May 07 10:38:59 2010] [debug] ssl_engine_init.c(777): Configuring RSA server private key
[Fri May 07 10:38:59 2010] [info] mod_ssl/2.2.14 compiled against Server: Apache/2.2.14, Library: OpenSSL/0.9.8l
[Fri May 07 10:39:00 2010] [info] Init: Seeding PRNG with 136 bytes of entropy
[Fri May 07 10:39:01 2010] [info] Loading certificate & private key of SSL-aware server
[Fri May 07 10:39:01 2010] [debug] ssl_engine_pphrase.c(470): unencrypted RSA private key - pass phrase not required
[Fri May 07 10:39:01 2010] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Fri May 07 10:39:01 2010] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Fri May 07 10:39:01 2010] [debug] ssl_scache_shmcb.c(253): shmcb_init allocated 512000 bytes of shared memory
[Fri May 07 10:39:01 2010] [debug] ssl_scache_shmcb.c(272): for 511952 bytes (512000 including header), recommending 32 subcaches, 133 indexes each
[Fri May 07 10:39:01 2010] [debug] ssl_scache_shmcb.c(306): shmcb_init_memory choices follow
[Fri May 07 10:39:01 2010] [debug] ssl_scache_shmcb.c(308): subcache_num = 32
[Fri May 07 10:39:01 2010] [debug] ssl_scache_shmcb.c(310): subcache_size = 15996
[Fri May 07 10:39:01 2010] [debug] ssl_scache_shmcb.c(312): subcache_data_offset = 2144
[Fri May 07 10:39:01 2010] [debug] ssl_scache_shmcb.c(314): subcache_data_size = 13852
[Fri May 07 10:39:01 2010] [debug] ssl_scache_shmcb.c(316): index_num = 133
[Fri May 07 10:39:01 2010] [info] Shared memory session cache initialised
[Fri May 07 10:39:01 2010] [info] Init: Initializing (virtual) servers for SSL
[Fri May 07 10:39:01 2010] [info] Configuring server for SSL protocol
[Fri May 07 10:39:01 2010] [debug] ssl_engine_init.c(414): Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1)
[Fri May 07 10:39:01 2010] [debug] ssl_engine_init.c(607): Configuring permitted SSL ciphers [ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL]
[Fri May 07 10:39:01 2010] [debug] ssl_engine_init.c(370): Configuring TLS extension handling
[Fri May 07 10:39:01 2010] [debug] ssl_engine_init.c(738): Configuring RSA server certificate
[Fri May 07 10:39:01 2010] [debug] ssl_engine_init.c(777): Configuring RSA server private key
[Fri May 07 10:39:01 2010] [info] mod_ssl/2.2.14 compiled against Server: Apache/2.2.14, Library: OpenSSL/0.9.8l
[Fri May 07 10:39:02 2010] [notice] Digest: generating secret for digest authentication ...
[Fri May 07 10:39:02 2010] [notice] Digest: done
[Fri May 07 10:39:02 2010] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Fri May 07 10:39:02 2010] [notice] Server built: Nov 11 2009 14:29:03
[Fri May 07 10:39:02 2010] [crit] (22)Invalid argument: Parent: Failed to create the child process.
[Fri May 07 10:39:02 2010] [crit] (OS 6)O identificador é inválido. : master_main: create child process failed. Exiting.
[Fri May 07 10:39:02 2010] [notice] Parent: Forcing termination of child process 36