Current time: 11-30-2024, 08:20 AM Hello There, Guest! (LoginRegister)


Post Reply 
PHP 500 Error
Author Message
Lapos11 Offline
Newbie
*

Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #1
PHP 500 Error
Hallo!

Wenn ich einen Script von mir installieren möchte bekomme ich folgende Fehlernachricht:

Quote:Error 500!

/install/index.php
Internal Server Error!

In /ect/apache2/mods-enabled/fcgid_ispcp.conf habe ich schon folgendes Eingefügt:

PHP Code:
<IfModule mod_fcgid.c>
  
AddHandler fcgid-script .php .php5
  SocketPath 
/var/lib/apache2/fcgid/sock
  IdleTimeout 600
  IdleScanInterval 240
  BusyTimeout 300
  BusyScanInterval 120
  ErrorScanInterval 6
  ZombieScanInterval 3
  ProcessLifeTime 3600
  SpawnScoreUpLimit 10
  SpawnScore 1
  TerminationScore 2
  MaxProcessCount 250
  DefaultMaxClassProcessCount 10
  DefaultMinClassProcessCount 0
  IPCConnectTimeout 20
  IPCCommTimeout 60
</IfModule

Auch im ordner von meiner Domain habe ich max_execution_time in der php.ini ein bißchen höher gestellt, doch irgendwie klappt das alles nicht.

nach 40 Sekunden bekomme ich einfach diese 500 error Fehlermeldung. Auch im Internet und hier im Forum habe ich nachgeschaut, doch einfach nichts gefunden was weiterhelfen könnte. Den apache2-Server habe ich auch neugestartet, doch das hat auch nix gebracht. Ich hoffe ihr könnt mir helfen.

Edit: Mein OS ist Debian Lenny 32 bits
(This post was last modified: 08-03-2009 09:44 PM by Lapos11.)
08-03-2009 09:36 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: PHP 500 Error
Hast Du einen vServer ?
Du schreibst von deinem Script ? Ein eigens oder wie?
Stehen Fehler im ApacheLogs ? Der Fehler kommt generell oder immer nur mit dem gleichen Script ?

Greez BeNe
08-03-2009 09:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Lapos11 Offline
Newbie
*

Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #3
RE: PHP 500 Error
Hallo BeNe!

Man kann es nicht unbedingt vServer nennen. Mein Server, der von OVH ist (RPS) ist an einer Netzwerkestplatte angekoppelt, der eben mind. 1M/s macht (Durschnittlich sind es ~2,5M/s)
Es ist nicht mein eigenes Script, sondern das von EQdkp-plus.

Ja, es macht eine Fehlermeldung, sogar mehrere. Ich kopier mal einen Teil raus, ich verstehe davon aber nicht so viel.

Code:
[Mon Aug 03 13:18:16 2009] [notice] caught SIGTERM, shutting down
[Mon Aug 03 13:18:20 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
SIGTERM handler "exitall" not defined.
[Mon Aug 03 13:18:20 2009] [notice] Apache/2.2.9 (Debian) configured -- resuming normal operations
[Mon Aug 03 13:18:34 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/client/sql_database_delete.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:18:42 2009] [notice] mod_fcgid: process 3971 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:18:42 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/client/sql_database_add.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:18:45 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/client/sql_database_add.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:18:47 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/client/sql_user_add.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:18:49 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/client/sql_user_add.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:18:49 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/client/sql_database_delete.php(3971) exit(idle timeout), terminated by calling exit(), return code: 0
[Mon Aug 03 13:18:49 2009] [notice] mod_fcgid: process 3996 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:18:49 2009] [notice] mod_fcgid: process 3989 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:18:49 2009] [notice] mod_fcgid: process 3982 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:18:51 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/client/sql_manage.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:18:54 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:18:55 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/client/sql_user_add.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:18:56 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/client/sql_database_delete.php(3996) exit(idle timeout), terminated by calling exit(), return code: 0
[Mon Aug 03 13:18:56 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/client/sql_database_delete.php(3989) exit(idle timeout), terminated by calling exit(), return code: 0
[Mon Aug 03 13:18:56 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/client/sql_database_delete.php(3982) exit(idle timeout), terminated by calling exit(), return code: 0
[Mon Aug 03 13:18:56 2009] [notice] mod_fcgid: process 4045 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:18:56 2009] [notice] mod_fcgid: process 4009 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:18:56 2009] [notice] mod_fcgid: process 4005 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:18:56 2009] [notice] mod_fcgid: process 4001 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:19:02 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/client/sql_user_add.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:19:03 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/client/sql_database_delete.php(4045) exit(idle timeout), terminated by calling exit(), return code: 0
[Mon Aug 03 13:19:03 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/client/sql_database_delete.php(4009) exit(idle timeout), terminated by calling exit(), return code: 0
[Mon Aug 03 13:19:03 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/client/sql_database_delete.php(4005) exit(idle timeout), terminated by calling exit(), return code: 0
[Mon Aug 03 13:19:03 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/client/sql_database_delete.php(4001) exit(idle timeout), terminated by calling exit(), return code: 0
[Mon Aug 03 13:19:03 2009] [notice] mod_fcgid: process 4082 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:19:03 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/client/sql_manage.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:19:10 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/client/sql_database_delete.php(4082) exit(idle timeout), terminated by calling exit(), return code: 0
[Mon Aug 03 13:19:10 2009] [notice] mod_fcgid: process 4094 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:19:10 2009] [notice] mod_fcgid: process 4090 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:19:17 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/client/sql_database_delete.php(4090) exit(idle timeout), terminated by calling exit(), return code: 0
[Mon Aug 03 13:19:17 2009] [notice] mod_fcgid: process 4103 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:19:17 2009] [notice] mod_fcgid: process 4099 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:19:31 2009] [notice] mod_fcgid: process 4108 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:19:59 2009] [warn] mod_fcgid: read data timeout in 40 seconds
[Mon Aug 03 13:19:59 2009] [error] [client 79.236.32.197] Premature end of script headers: index.php, referer: http://wow.yondorin.de/install/index.php
[Mon Aug 03 13:20:04 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:21:00 2009] [error] [client 85.114.135.67] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Mon Aug 03 13:26:07 2009] [error] [client 87.106.80.167] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Mon Aug 03 13:28:19 2009] [warn] child process 3915 still did not exit, sending a SIGTERM
[Mon Aug 03 13:28:19 2009] [warn] child process 3916 still did not exit, sending a SIGTERM
[Mon Aug 03 13:28:21 2009] [warn] child process 3915 still did not exit, sending a SIGTERM
[Mon Aug 03 13:28:21 2009] [warn] child process 3916 still did not exit, sending a SIGTERM
[Mon Aug 03 13:28:23 2009] [warn] child process 3915 still did not exit, sending a SIGTERM
[Mon Aug 03 13:28:23 2009] [warn] child process 3916 still did not exit, sending a SIGTERM
[Mon Aug 03 13:28:25 2009] [error] child process 3915 still did not exit, sending a SIGKILL
[Mon Aug 03 13:28:25 2009] [error] child process 3916 still did not exit, sending a SIGKILL
[Mon Aug 03 13:28:26 2009] [notice] caught SIGTERM, shutting down
[Mon Aug 03 13:33:51 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Aug 03 13:33:51 2009] [notice] Apache/2.2.9 (Debian) configured -- resuming normal operations
[Mon Aug 03 13:33:51 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Aug 03 13:37:22 2009] [error] [client 87.106.80.167] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Mon Aug 03 13:39:15 2009] [error] [client 85.214.82.40] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Mon Aug 03 13:45:34 2009] [warn] mod_fcgid: read data timeout in 40 seconds
[Mon Aug 03 13:45:34 2009] [error] [client 79.236.32.197] Premature end of script headers: index.php, referer: http://www.wow.yondorin.de/install/index.php
[Mon Aug 03 13:45:35 2009] [notice] mod_fcgid: process 5962 going graceful shutdown, sending SIGTERM
[Mon Aug 03 13:46:52 2009] [error] [client 85.114.135.67] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Mon Aug 03 13:48:40 2009] [error] [client 87.106.80.167] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)

Wenn der Script die MySQL-Tabellem erstellen möchte dann lädt der Browser lange und danach kommt eben dieser Fehler.
08-03-2009 10:09 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: PHP 500 Error
Die Frage wegen vServer ging in die Richtung, weil es ja einige Beschräkungen gibt. Anzahl geöffnete Dateien, Speicher, CPU Speed usw...
Die ganzen Scripte hier greifen alle auf den MySQL-Server zu, deines auch wo der Fehler kommt ?

Hatten es schon mal das der MySQL-Server zu langsam war und das Ergebniss nicht nach 40sek da war. Daher beendet PHP das Script -> idle timeout

Greez BeNe
08-03-2009 10:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Lapos11 Offline
Newbie
*

Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #5
RE: PHP 500 Error
Ich Poste mal die Informationen von meinen Server hinein:

Quote:Prozessor
Intel Atom mono
1.60 Ghz
L2: 512KB, FSB: 533MHz

Arbeitsspeicher 512 MB DDR 2
Festplattenzugriff ISCSI
Minimaler iSCSI Durchsatz 1 MB/sek
Verbindung 100 Mbit/s
Bandbreite 100 Mbit/s
Traffic inklusive 100 Mbit/s
Backup
-
feste IP 1 Adresse
Fail-Over-IP +1 Adresse

Ja, aber den idle tomeout in /ect/apache2/mods-enabled/fcgid_ispcp.conf hab ich schon auf 600 gestellt..... warum beendet dann php das trotzdem?
08-03-2009 10:36 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #6
RE: PHP 500 Error
Welche Module hast Du installiert, bzw aktiviert bei eqdkp-plus? Oder kommt das schon während der installation? Bei welchem Punkt?
(This post was last modified: 08-03-2009 11:08 PM by gOOvER.)
08-03-2009 11:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Lapos11 Offline
Newbie
*

Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #7
RE: PHP 500 Error
Also, der Server war echt zu lahm. Ich habe ihn gerade geupgradet, sodass die Festplatte mind. 4M/s macht. Und nun klappt es. Diese Option ist derzeit einen Monat aktiviert. Ich hoffe dann es klappt so. Wenn es mal wieder ein Problem gibt (was ich nicht hoffe) dann melde ich mich wieder Wink

Danke für eure Hilfe Big Grin
mfg
Lapos11
08-03-2009 11:13 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)