ispCP - Board - Support
Problem create users - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Problem create users (/thread-8792.html)



Problem create users - syled - 12-17-2009 10:41 PM

hello,

i've running several debian servers with ispcp. All the servers work fine exept one. This one is a vmclone from a working machine. (ispCP 1.0.0 RC7 OMEGA
build: 20081212)

I've changed hostname and ipadresses in the configuration files. And deleted the customers that weren't nessecary.

Then i started creating new users. The first four went without problems and everything worked fine. bu when i added the seventh the user was vissible in the ispcp config and in the ispcp mysql database but the user isn't active, it's not possible to activate the user. When i go to details there is the message:

Status get_tag() | ERROR: Undefined intput data, bt: |// bind Data BEGIN. |, et: |// bind Data END. |, src !

when i look in the ispcp.conf the domain isn't added also the maps /var/www/virtual/domain.com/etc aren't there.

When i look in /etc/passwd and etc/shadow the user and the group isn't created.

I can't find anything in the logs
If you need more info please ask.


RE: Problem create users - BeNe - 12-17-2009 10:46 PM

Enable the Debug and start the ispcp-rqst-mngr manuel.
Also check the Status in the ispCP DB for this Domain and set it to "TOADD".

--> http://www.isp-control.net/documentation/doku.php?id=enable_debug_in_ispcp

Greez BeNe


RE: Problem create users - syled - 12-17-2009 11:03 PM

Output after restart:

Code:
/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: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 81 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 82 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 83 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 84 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-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: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-serv-mngr 2 0 0 4 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 37, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-htusers-mngr 37 1>/var/log/ispcp/ispcp-htusers-mngr.stdout 2>/var/log/ispcp/ispcp-htusers-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 40, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-htusers-mngr 40 1>/var/log/ispcp/ispcp-htusers-mngr.stdout 2>/var/log/ispcp/ispcp-htusers-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 43, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-htusers-mngr 43 1>/var/log/ispcp/ispcp-htusers-mngr.stdout 2>/var/log/ispcp/ispcp-htusers-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 44, 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-htusers-mngr 44 1>/var/log/ispcp/ispcp-htusers-mngr.stdout 2>/var/log/ispcp/ispcp-htusers-mngr.stderr' returned '1' status !
DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command '/var/www/ispcp/engine/ispcp-htusers-mngr 44 1>/var/log/ispcp/ispcp-htusers-mngr.stdout 2>/var/log/ispcp/ispcp-htusers-mngr.stderr' returned '1' status !
DEBUG: push_el() sub_name: get_el_error(), 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: get_el_error(), msg: Ending...
DEBUG: push_el() sub_name: /var/www/ispcp/engine/ispcp-htusers-mngr, msg: ERROR: Can't open file |/var/www/virtual/duurzaamtilburg.nl/.htpasswd| for writing: No such file or directory
DEBUG: pop_el() sub_name: /var/www/ispcp/engine/ispcp-htusers-mngr, msg: ERROR: Can't open file |/var/www/virtual/duurzaamtilburg.nl/.htpasswd| for writing: No such file or directory
DEBUG: pop_el() sub_name: get_el_error(), msg: Ending...
DEBUG: pop_el() sub_name: get_file(), msg: Ending...
DEBUG: pop_el() sub_name: get_file(), msg: Starting...
DEBUG: pop_el() sub_name: get_el_error(), msg: Starting...
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_engine(), msg: processing 44, toadd.
DEBUG: pop_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-htusers-mngr 43 1>/var/log/ispcp/ispcp-htusers-mngr.stdout 2>/var/log/ispcp/ispcp-htusers-mngr.stderr'), msg: Ending...
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_engine(), msg: processing 43, toadd.
DEBUG: pop_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-htusers-mngr 40 1>/var/log/ispcp/ispcp-htusers-mngr.stdout 2>/var/log/ispcp/ispcp-htusers-mngr.stderr'), msg: Ending...
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_engine(), msg: processing 40, toadd.
DEBUG: pop_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-htusers-mngr 37 1>/var/log/ispcp/ispcp-htusers-mngr.stdout 2>/var/log/ispcp/ispcp-htusers-mngr.stderr'), msg: Ending...
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_engine(), msg: processing 37, 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 2 0 0 4 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: 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-mbox-mngr 84 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 83 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 82 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 81 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-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: 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...



RE: Problem create users - BeNe - 12-17-2009 11:08 PM

Please check the Errorfiles:

Code:
/var/log/ispcp/ispcp-serv-mngr.stdout
/var/log/ispcp/ispcp-serv-mngr.stderr

Also some Errors:
Code:
ERROR: Can't open file |/var/www/virtual/duurzaamtilburg.nl/.htpasswd| for writing: No such file or directory
DEBUG: pop_el() sub_name: /var/www/ispcp/engine/ispcp-htusers-mngr, msg: ERROR: Can't open file |/var/www/virtual/duurzaamtilburg.nl/.htpasswd| for writing: No such file or directory
Greez BeNe


RE: Problem create users [solved] - syled - 01-13-2010 03:24 AM

The problem is solved.
The named.conf was empty
I've manual added the entries and the everything worked.