Current time: 05-19-2024, 01:27 AM Hello There, Guest! (LoginRegister)


Post Reply 
Subdomain anlegen endet mit Fehler 500
Author Message
h34dcr4sh Offline
Newbie
*

Posts: 6
Joined: Jan 2009
Reputation: 0
Post: #1
Subdomain anlegen endet mit Fehler 500
Hallo,

ich habe das Problem, dass nachdem ich eine Subdomain anlege oder lösche, nach 30 Sekunden (Server-Timeout) der Error 500 erscheint. Und dann komme ich garnicht mehr ins ISPCP (alle anderen Webseiten laufen ordentlich).

Wenn ich den Apache neustarte und auch meinen Browser (um eine neue Session zu beginnen) kann ich mich wieder einloggen.

Und der Status der Subdomain bleibt bei "wird erstellt" oder "wird gelöscht".

Vor ein paar Tagen ging alles noch reibungslos.

ich habe einen vServer mit Debian Etch und noch ISPCP RC4 (ich Warte auf die Final).

Kann es eventuell damit zusammenhängen, dass ich gestern eine weitere IP zur bestehenden IP auf meinen vServer bekommen habe (insgesamt jetzt 2 IP's).

Zu den Logfiles: Welche sind denn dazu jetzt die richtigen?


Edit: hab gerade mal über "top" nachgeschaut: sobald ich den Auftrag für eine Subdomain ausführe ist der php5-cgi dauerhaft auf 99% CPU-Auslastung.


M.f.G.

H34DCR4SH
(This post was last modified: 01-05-2009 02:21 AM by h34dcr4sh.)
01-05-2009 02:00 AM
Find all posts by this user Quote this message in a reply
h34dcr4sh Offline
Newbie
*

Posts: 6
Joined: Jan 2009
Reputation: 0
Post: #2
RE: Subdomain anlegen endet mit Fehler 500
Hab ein bisschen in den php-dateien vom ISPCP geguckt und durch einige tests (einkommentieren, die()-funktionen eingefügt) und gemerkt, dass er sich bei folgender Funktion "aufhängt":

(.../gui/include/ispcp-functions.php): send_request()

EDIT:

genauer gesagt bei folgender Zeile:
PHP Code:
/* read one line with welcome string */
    
$out read_line($socket); 


und ich weiß nicht ob das normal ist:

Code:
xxxxxxx:/var/www/ispcp# telnet 127.0.0.1 9876
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
xxxxxxx:/var/www/ispcp#
(This post was last modified: 01-06-2009 02:25 AM by h34dcr4sh.)
01-06-2009 02:01 AM
Find all posts by this user Quote this message in a reply
h34dcr4sh Offline
Newbie
*

Posts: 6
Joined: Jan 2009
Reputation: 0
Post: #3
RE: Subdomain anlegen endet mit Fehler 500
Woran kann das liegen? Der Disconnected direkt nachdem Verbinden. Sad

Code:
xxxxxxx:/var/www/ispcp# telnet 127.0.0.1 9876
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
xxxxxxx:/var/www/ispcp#
01-06-2009 10:50 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: Subdomain anlegen endet mit Fehler 500
Aktiviere mal in der ispcp.conf den Debug Modus.
Setze den Status der Domain direkt in der DB so wie du Ihn brauchst.
Und danach lasst Du denn "ispcp-rqst-mngr" auf der shell laufen.
Damit sollte der Fehler dann angezeigt werden.

Greez BeNe
01-07-2009 02:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
h34dcr4sh Offline
Newbie
*

Posts: 6
Joined: Jan 2009
Reputation: 0
Post: #5
RE: Subdomain anlegen endet mit Fehler 500
Dann wird auch alles richtig angelegt.

Das Problem ist eher das, dass der ispcp-daemon sich direkt wieder beendet und das php-script in einer while-schleife auf eine antwort wartet, welche jedoch nie beendet wird.


Das kommt dabei raus:

Code:
gaming-revolution:/var/www/ispcp/engine# ./ispcp-rqst-mngr
DEBUG: push_el() sub_name: mngr_start_up(), msg: Starting...
DEBUG: push_el() sub_name: lock_system(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('`which touch` /var/run/ispcp.lock'), msg: Ending...
DEBUG: push_el() sub_name: lock_system(), msg: Ending...
DEBUG: push_el() sub_name: del_file(), msg: Starting...
DEBUG: push_el() sub_name: del_file(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_start_up(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 46, vier, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-sub-mngr 46 1>/var/log/ispcp/ispcp-sub-mngr.stdout 2>/var/log/ispcp/ispcp-sub-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-serv-mngr 0 1 0 0 1>/var/log/ispcp/ispcp-serv-mngr.stdout 2>/var/log/ispcp/ispcp-serv-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 1, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/var/www/ispcp/engine/ispcp-htuser-mngr 1 1>/var/log/ispcp/ispcp-htuser-mngr.stdout 2>/var/log/ispcp/ispcp-htuser-mngr.stderr' returned '9' status !
DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command '/var/www/ispcp/engine/ispcp-htuser-mngr 1 1>/var/log/ispcp/ispcp-htuser-mngr.stdout 2>/var/log/ispcp/ispcp-htuser-mngr.stderr' returned '9' status !
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_engine(), msg: processing 1, toadd.
DEBUG: pop_el() sub_name: doSQL(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Starting...
DEBUG: pop_el() sub_name: doSQL(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Starting...
DEBUG: pop_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-serv-mngr 0 1 0 0 1>/var/log/ispcp/ispcp-serv-mngr.stdout 2>/var/log/ispcp/ispcp-serv-mngr.stderr'), msg: Ending...
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: doSQL(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Starting...
DEBUG: pop_el() sub_name: doSQL(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Starting...
DEBUG: pop_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-sub-mngr 46 1>/var/log/ispcp/ispcp-sub-mngr.stdout 2>/var/log/ispcp/ispcp-sub-mngr.stderr'), msg: Ending...
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_engine(), msg: processing 46, vier, toadd.
DEBUG: pop_el() sub_name: doSQL(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Starting...
DEBUG: pop_el() sub_name: doSQL(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_engine(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_start_up(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Ending...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: pop_el() sub_name: get_file(), msg: Ending...
DEBUG: pop_el() sub_name: get_file(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Starting...
DEBUG: pop_el() sub_name: del_file(), msg: Ending...
DEBUG: pop_el() sub_name: del_file(), msg: Starting...
DEBUG: pop_el() sub_name: lock_system(), msg: Ending...
DEBUG: pop_el() sub_name: sys_command('`which touch` /var/run/ispcp.lock'), msg: Ending...
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: lock_system(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_start_up(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Ending...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: pop_el() sub_name: get_file(), msg: Ending...
DEBUG: pop_el() sub_name: get_file(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Starting...
DEBUG: pop_el() Empty 'EL' Stack !
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: unlock_system(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('`which rm` -rf /var/run/ispcp.lock'), msg: Ending...
DEBUG: push_el() sub_name: unlock_system(), msg: Ending...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Ending...
gaming-revolution:/var/www/ispcp/engine#
(This post was last modified: 01-07-2009 04:13 AM by h34dcr4sh.)
01-07-2009 03:09 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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