Eu tenho esse grande problema com o meu servidor Xampp, por algum motivo o serviço Apache para de funcionar após alguns segundos de inicialização, e não tenho idéia do problema, e os logs de erro não dizem muito sobre o problema.
[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.
Nota:
- Nenhum outro aplicativo está usando a porta do Apache.
Eu fiz algumas alterações no arquivo httpd.conf, mas funcionou bem por muito tempo.
- Adicionou alguns hosts virtuais.
- Ativado xdebug.
Como isso acontece com qualquer pessoa, isso poderia me dizer qual é o problema?
Obrigado pelo seu tempo.
Resposta:
A solução foi bastante simples: fui para as propriedades do Computador no Windows, na guia Avançado e, em seguida, cliquei em Variáveis de Ambiente e alterei a Variável Path
do meu usuário para:
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\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Softimage;c:\Program Files\Microsoft SQL Server0\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files\Microsoft SQL Server0\Tools\Binn\;c:\Program Files\Microsoft SQL Server0\DTS\Binn\
Se você não tiver certeza do que escrever aqui copie da variável do sistema Path
.
Isso resolveu meus problemas. Obrigado a Igal Serban .
EDIT 2
Desativei o Perl e o Apache começou a funcionar corretamente. Mas eu preciso do Perl ativo. Então, alguma sugestão?
EDIT 1
Conselho Igal Serban :
O resultado depois de alterar o nível de depuração no 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