Ir para conteúdo
  • Cadastre-se

Erro 500 com alguns clientes de Hospedagem


Jamis Henrique

Posts Recomendados

Executa o comando abaixo e diz se tem algum problema:

tail -50 /usr/local/apache/logs/error_log

Aparece isso:

[Sat Oct 15 15:44:17 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:44:19 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:45:24 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:45:32 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:46:39 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:46:49 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:46:49 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:46:49 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:46:50 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:46:50 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:46:50 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:46:50 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:46:51 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:48:01 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 15:48:06 2011] [error] [client 66.249.72.198] File does not exist: /home/kekohost/public_html/robots.txt

[Sat Oct 15 15:48:06 2011] [error] [client 66.249.72.198] File does not exist: /home/kekohost/public_html/404.shtml

[Sat Oct 15 16:11:18 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:11:28 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:11:31 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:11:37 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:11:43 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:11:49 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:11:55 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:23:25 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:23:26 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:23:27 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:23:39 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:23:40 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:30:07 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:33:45 2011] [error] [client 213.186.120.196] File does not exist: /home/kekohost/public_html/robots.txt

[Sat Oct 15 16:33:45 2011] [error] [client 213.186.120.196] File does not exist: /home/kekohost/public_html/404.shtml

[Sat Oct 15 16:33:45 2011] [error] [client 213.186.120.196] File does not exist: /home/kekohost/public_html/clientes

[Sat Oct 15 16:33:45 2011] [error] [client 213.186.120.196] File does not exist: /home/kekohost/public_html/404.shtml

[Sat Oct 15 16:33:46 2011] [error] [client 213.186.120.196] File does not exist: /home/kekohost/public_html/hospedagem-linux.html

[Sat Oct 15 16:33:46 2011] [error] [client 213.186.120.196] File does not exist: /home/kekohost/public_html/404.shtml

[Sat Oct 15 16:33:47 2011] [error] [client 213.186.120.196] File does not exist: /home/kekohost/public_html/livezilla

[Sat Oct 15 16:33:47 2011] [error] [client 213.186.120.196] File does not exist: /home/kekohost/public_html/404.shtml

[Sat Oct 15 16:34:34 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:34:36 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:37:49 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:56:44 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:56:45 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:56:47 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:56:48 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 16:56:51 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 17:00:27 2011] [warn] [client 189.1.150.17] mod_fcgid: read data timeout in 40 seconds, referer: http://kekohost.com.br/

[Sat Oct 15 17:00:27 2011] [error] [client 189.1.150.17] Premature end of script headers: server.php, referer: http://kekohost.com.br/

[Sat Oct 15 17:00:27 2011] [error] [client 189.1.150.17] File does not exist: /home/kekohost/public_html/500.shtml, referer: http://kekohost.com.br/

[Sat Oct 15 17:03:19 2011] [warn] Cannot get media type from 'x-mapp-php5'

[Sat Oct 15 17:03:48 2011] [warn] Cannot get media type from 'x-mapp-php5'

Link para o comentário
Compartilhar em outros sites

Altere o arquivo php.conf e abaixo de

LoadModule fcgid_module modules/mod_fcgid.so

adicione a linha:

MaxRequestLen 524288

No arquivo php.conf não encontrei essas linhas, nele só esta:

MaxRequestsPerProcess 500

AddHandler fcgid-script .php5 .php .php3 .php2 .phtml

FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php5

FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php

FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php3

FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php2

FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .phtml


# Fastcgi configuration for PHP4

AddHandler fcgid-script .php4

FCGIWrapper /usr/local/cpanel/cgi-sys/php4 .php4


# End of autogenerated PHP configuration.

PS: Fui em /usr/local/apache/conf/php.conf

Link para o comentário
Compartilhar em outros sites

tira a linha que passei e adiciona isso:


MaxProcessCount 1000

MaxRequestLen 524288

DefaultMaxClassProcessCount 100

IPCConnectTimeout 60

IPCCommTimeout 60

PHP_Fix_Pathinfo_Enable 1

IdleTimeout 900

IdleScanInterval 120

BusyTimeout 300

BusyScanInterval 120

ErrorScanInterval 9

ZombieScanInterval 9

ProcessLifeTime 3600

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...

Informação Importante

Concorda com os nossos termos?