Current time: 11-15-2024, 10:23 PM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT] subdomain anlegen bzw. löschen geht nicht!!!
Author Message
gandalf4711 Offline
Junior Member
*

Posts: 18
Joined: Jan 2009
Reputation: 0
Post: #1
[ERLEDIGT] subdomain anlegen bzw. löschen geht nicht!!!
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????
(This post was last modified: 03-15-2009 08:30 PM by gandalf4711.)
03-13-2009 07:05 AM
Visit this user's website Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: subdomain anlegen bzw. löschen geht nicht!!!
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
03-13-2009 07:37 AM
Visit this user's website Find all posts by this user
gandalf4711 Offline
Junior Member
*

Posts: 18
Joined: Jan 2009
Reputation: 0
Post: #3
RE: subdomain anlegen bzw. löschen geht nicht!!!
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ß
03-13-2009 07:48 AM
Visit this user's website Find all posts by this user
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: subdomain anlegen bzw. löschen geht nicht!!!
(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?
03-13-2009 02:17 PM
Visit this user's website Find all posts by this user
gandalf4711 Offline
Junior Member
*

Posts: 18
Joined: Jan 2009
Reputation: 0
Post: #5
RE: subdomain anlegen bzw. löschen geht nicht!!!
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
03-13-2009 05:39 PM
Visit this user's website Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: subdomain anlegen bzw. löschen geht nicht!!!
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
03-13-2009 10:17 PM
Visit this user's website Find all posts by this user
gandalf4711 Offline
Junior Member
*

Posts: 18
Joined: Jan 2009
Reputation: 0
Post: #7
RE: subdomain anlegen bzw. löschen geht nicht!!!
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
(This post was last modified: 03-13-2009 10:48 PM by BeNe.)
03-13-2009 10:36 PM
Visit this user's website Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #8
RE: subdomain anlegen bzw. löschen geht nicht!!!
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
03-13-2009 10:48 PM
Visit this user's website Find all posts by this user
gandalf4711 Offline
Junior Member
*

Posts: 18
Joined: Jan 2009
Reputation: 0
Post: #9
RE: subdomain anlegen bzw. löschen geht nicht!!!
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
03-13-2009 10:54 PM
Visit this user's website Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #10
RE: subdomain anlegen bzw. löschen geht nicht!!!
Sorry, dann habe ich dich falsch verstanden.
So ganz verstehen kann ich das noch nicht...

Greez BeNe
03-13-2009 11:10 PM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


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