[ERLEDIGT] subdomain anlegen bzw. löschen geht nicht!!! - gandalf4711 - 03-13-2009 07:05 AM
Hallo zusammen,
ich habe ziemliche Probleme mit der Subdomain Anlage bzw. Löschung.
ispCP 1.0.0 läuft auf einem Debian Etch und es sind etliche Domains gehostet.
Das Problem ist, wenn ich eine Subdomain anlegen will, wird diese nicht angelegt und im ispCP - Domainverwaltung sehe ich "unbekannter Fehler"
Im ispCP-Debugger sehe ich:
Quote: Subdomain-Fehler
test - Set status to "change"
get_tag() | ERROR: '# httpd Data BEGIN. ' ne '# httpd Data END. ', '# httpd Data BEGIN. ' or '# httpd Data END. ' missing in src !
wenn ich im Debugger die Sub auf Change setze und den Daemon laufen lasse, kommt der selbe Fehler wieder.
In der SQL im table Subdomains steht beim Status folgendes:
Quote: get_tag() | ERROR: '# httpd Data BEGIN. ' ne '# httpd Data END. ', '# httpd Data BEGIN. ' or '# httpd Data END. ' missing in src !
Auch das manuelle ändern des Status in "change" und dann das manuelle laufen lassen des Daemon (/var/www/ispcp/engine/ispcp-rqst-mngr) bringt mich zum selben Fehler zurück.
Ich kann auch auf anderen Domains keine Subdomains anlegen.
Kann jemand helfen????
RE: subdomain anlegen bzw. löschen geht nicht!!! - BeNe - 03-13-2009 07:37 AM
aktiviere mal den DebugModus
--> http://www.isp-control.net/ispcp/wiki/howto_debug
Deine Templates ok ?
Mal was geändert ? Oder an der ApacheConfig direkt ?
Greez BeNe
RE: subdomain anlegen bzw. löschen geht nicht!!! - gandalf4711 - 03-13-2009 07:48 AM
Hi BeNe,
an den Templates hab ich nichts geändert. Die sehen auch OK aus. Am der Apache hab ich lediglich AMaViS installiert und logischerweise in die 00_master.conf eingefügt.
Den Debugmode habe ich gestartet...
Quote: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: 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: 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: 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 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: 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: Ending...
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...
Sagt dir das was???
Gruß
RE: subdomain anlegen bzw. löschen geht nicht!!! - gOOvER - 03-13-2009 02:17 PM
(03-13-2009 07:48 AM)gandalf4711 Wrote: /var/log/ispcp/ispcp-serv-mngr.stdout
/var/log/ispcp/ispcp-serv-mngr.stderr
Was steht da drin?
RE: subdomain anlegen bzw. löschen geht nicht!!! - gandalf4711 - 03-13-2009 05:39 PM
ispcp-serv-mngr.stderr
Quote: - processing configuration directory '/etc/proftpd/ispcp'
und
ispcp-serv-mngr.stdout
Quote:DEBUG: push_el() sub_name: serv_mngr_start_up(), msg: Starting...
DEBUG: push_el() sub_name: check_master(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('export COLUMNS=120;/bin/ps auxww | awk '$0 ~ /ispcp-rqst-mngr/ && $0 !~ /awk/ { print $2 ;}' 1>/tmp/ispcp-cc.stdout 2>/tmp/ispcp-cc.stderr'), 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: del_file(), msg: Starting...
DEBUG: push_el() sub_name: del_file(), msg: Ending...
DEBUG: push_el() sub_name: check_master(), msg: Starting...
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: serv_mngr_start_up(), msg: Ending...
DEBUG: push_el() sub_name: serv_mngr_engine(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
Stopping Postfix Mail Transport Agent: postfix.
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
Stopping Courier authentication services: authdaemond.
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
Stopping Courier IMAP server: imapd.
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
Stopping Courier POP3 server: pop3d.
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
Stopping domain name service...: bind.
Starting domain name service...: bind.
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
Stopping ftp server: proftpd.
Starting ftp server: proftpd.
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
Starting Postfix Mail Transport Agent: postfix.
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
Starting Courier authentication services: authdaemond.
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
Starting Courier IMAP server: imapd.
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
Starting Courier POP3 server: pop3d.
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: check_httpd(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('export COLUMNS=120;/bin/ps aux | /usr/bin/awk '$0 ~/apache2/ {print $0}' | /usr/bin/wc | /usr/bin/awk '{print $1}' 1>/tmp/httpd-run-check.stdout'), msg: Ending...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: check_httpd(), 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: serv_mngr_engine(), msg: Ending...
DEBUG: push_el() sub_name: serv_mngr_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: serv_mngr_shut_down(), msg: Ending...
Hilft das weiter?
Gruß Gandalf
RE: subdomain anlegen bzw. löschen geht nicht!!! - BeNe - 03-13-2009 10:17 PM
Der Fehler kommt NUR bei Subdomains vor ?
Poste mal bitte das Output von
Code:
grep -r "# httpd Data BEGIN" /etc/ispcp/apache/* && grep -r "# httpd Data END" /etc/ispcp/apache/*
Greez BeNe
RE: subdomain anlegen bzw. löschen geht nicht!!! - gandalf4711 - 03-13-2009 10:36 PM
Ja, der Fehler ist nur bei den Subdomains. Anlegen von FTP user, Mail accounts usw. funzt!
Domainanlage hab ich noch nicht getestet. Mach ich aber nachher mal.
Hier der Output:
Code:
/etc/ispcp/apache/backup/httpd.conf.1236514472:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514855:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236513965:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236525580:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236513595:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236515024:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236515160:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236517354:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236515117:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236512536:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236512633:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514536:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514901:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236522840:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236523004:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236517022:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514593:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514112:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514230:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236517116:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236517384:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236762901:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514638:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236756630:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514055:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236755540:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236517047:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236517318:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236513397:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236517104:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514970:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514425:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514160:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514362:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236515079:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236516933:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514693:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236517329:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236512593:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514789:# httpd Data BEGIN.
/etc/ispcp/apache/httpd.conf:# httpd Data BEGIN.
/etc/ispcp/apache/parts/cfg_b.tpl:# httpd Data BEGIN.
/etc/ispcp/apache/parts/ispcp_base.tpl:# httpd Data BEGIN.
/etc/ispcp/apache/working/ispcp.conf:# httpd Data BEGIN.
/etc/ispcp/apache/backup/httpd.conf.1236514472:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514855:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236513965:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236525580:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236513595:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236515024:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236515160:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236517354:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236515117:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236512536:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236512633:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514536:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514901:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236522840:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236523004:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236517022:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514593:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514112:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514230:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236517116:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236517384:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236762901:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514638:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236756630:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514055:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236755540:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236517047:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236517318:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236513397:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236517104:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514970:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514425:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514160:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514362:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236515079:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236516933:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514693:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236517329:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236512593:# httpd Data END.
/etc/ispcp/apache/backup/httpd.conf.1236514789:# httpd Data END.
/etc/ispcp/apache/httpd.conf:# httpd Data END.
/etc/ispcp/apache/parts/cfg_e.tpl:# httpd Data END.
/etc/ispcp/apache/parts/ispcp_base.tpl:# httpd Data END.
/etc/ispcp/apache/working/ispcp.conf:# httpd Data END.
Any idea?????
Gruß GANDALF
RE: subdomain anlegen bzw. löschen geht nicht!!! - BeNe - 03-13-2009 10:48 PM
Quote:Domainanlage hab ich noch nicht getestet. Mach ich aber nachher mal.
Und zu welcher Domain willst Du dann die Subdomain hinzufügen ?
Jetzt leg erstmal eine normal Domain.
Greez BeNe
RE: subdomain anlegen bzw. löschen geht nicht!!! - gandalf4711 - 03-13-2009 10:54 PM
Nein, nein, falsch verstanden....
Auf dem Server laufen z. Zt. 26 Domains!!! Egal auf welcher Domain ich eine Subdomain anlegen möchte ... es funzt nicht!
Seit dem der Fehler aufgetreten ist habe ich noch keine NEUE Doamin zusätzlich angelegt.
Das wollte ich noch testen!
Gruß Gandalf
RE: subdomain anlegen bzw. löschen geht nicht!!! - BeNe - 03-13-2009 11:10 PM
Sorry, dann habe ich dich falsch verstanden.
So ganz verstehen kann ich das noch nicht...
Greez BeNe
|