[Solved] can't add new users - retox - 10-11-2007 12:32 AM
Hi,
I installed the latest trunk from 10.10.2007 on Debian Etch with sundace "mini installer script" without any problems.
If I add any Domain / User in the Panel, the Status in the Database is always "toadd".
The ispcp_daemon is running. I turned the debug_mode on, and ran the ispcp-rqst-mngr manually. I got following error:
Code:
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: 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: mngr_engine(), msg: processing 1, domain1.at, 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-dmn-mngr 1 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr' returned '255' status !
DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command '/var/www/ispcp/engine/ispcp-dmn-mngr 1 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr' returned '255' status !
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_engine(), msg: processing 1, domain1.at, toadd.
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...
What's that line, and what's status = 255:
Code:
DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/var/www/ispcp/engine/ispcp-dmn-mngr 1 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr' returned '255' status !
DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command '/var/www/ispcp/engine/ispcp-dmn-mngr 1 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr' returned '255' status !
?
any ideas?
Thank you very much,
Cheers,
Chris
RE: can't add new users - zpin - 10-11-2007 12:37 AM
You might want to post the contents of "/var/log/ispcp/ispcp-dmn-mngr.stdout" and "/var/log/ispcp/ispcp-dmn-mngr.stderr" so we get to see some actual information
RE: can't add new users - BeNe - 10-11-2007 12:45 AM
Did you enabled AWStats Static ?
Greez BeNe
RE: can't add new users - retox - 10-11-2007 02:57 AM
Hi,
@zpin:
stderr.log:
Code:
"my" variable $dmn_awstats_b masks earlier declaration in same statement at /var/www/ispcp/engine/ispcp-dmn-mngr line 3958.
Global symbol "$dmn_awstats_e" requires explicit package name at /var/www/ispcp/engine/ispcp-dmn-mngr line 4004.
Global symbol "$dmn_awstats_e" requires explicit package name at /var/www/ispcp/engine/ispcp-dmn-mngr line 4010.
Global symbol "$dmn_awstats_e" requires explicit package name at /var/www/ispcp/engine/ispcp-dmn-mngr line 4014.
Execution of /var/www/ispcp/engine/ispcp-dmn-mngr aborted due to compilation errors.
stdout: logfile is empty...
so it seems that awstats is the cause...
@BeNe:
That's my /etc/ispcp/ispcp.conf
Code:
#
# AWSTATS data
#
AWSTATS_ACTIVE = no
# could be 'dynamic' = 0 or 'static' = 1
AWSTATS_MODE = 0
AWSTATS_CACHE_DIR = /var/cache/awstats
AWSTATS_CONFIG_DIR = /etc/awstats
AWSTATS_ENGINE_DIR = /usr/lib/cgi-bin
AWSTATS_WEB_DIR = /usr/share/awstats
AWSTATS_ROOT_DIR = /var/www/ispcp/engine/awstats
oh yes - static = 1 (I thought if awstats_active = no, awstats is completely deactivated...)
I tried:
dynamic = 0 and static = 0 (without success)
dynamic = 1 and static = 0 (without success)
and saved the .conf file...
start the reqst-mngr with the same errors.... hmm.... Do I have to restart anything?
RE: can't add new users - BeNe - 10-11-2007 03:11 AM
Update to the new Trunk #839
RatS corrected this Error today (and many more)
Here is the correction for your Problem
--> http://www.isp-control.net/ispcp/changeset/838
But you should upgrade to 839
Greez BeNe
RE: can't add new users - retox - 10-11-2007 03:17 AM
Thanks a lot!
I'll try it tomorrow!
cheers,
Christoph
RE: can't add new users - retox - 10-11-2007 03:22 AM
so... ok - not tomorrow.
It's working now! I didn't installed the new trunk, I only changed the character from "b" the "e" ....
*loool*
yap - it's working.... cool.
Thanks,
chris
RE: can't add new users - BeNe - 10-11-2007 03:25 AM
No Problem!
But as i said - we found some Errors in AWStats and they are in the current trunk. RatS fixed some of them in r839.
Later you should update.
Greez BeNe
RE: can't add new users - Breaki - 10-11-2007 03:28 AM
retox Wrote:so... ok - not tomorrow.
It's working now! I didn't installed the new trunk, I only changed the character from "b" the "e" ....
*loool*
yap - it's working.... cool.
Thanks,
chris
do you know what you do? i fear the dmn_mngr code, so i won't look into, but afaik
Code:
Global symbol "$dmn_awstats_e" requires explicit package name at /var/www/ispcp/engine/ispcp-dmn-mngr line 4004.
means that the variable $dmn_awstats_e is not defined before... but i can be wrong...
the best solution is ever to t[/code]ake the changes from the last trunk.
greetz
|