Current time: 11-23-2024, 03:03 AM Hello There, Guest! (LoginRegister)


Post Reply 
[Solved] can't add new users
Author Message
retox Offline
Newbie
*

Posts: 7
Joined: Jan 2007
Reputation: 0
Post: #1
[Solved] can't add new users
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
(This post was last modified: 10-11-2007 03:29 AM by Breaki.)
10-11-2007 12:32 AM
Find all posts by this user Quote this message in a reply
zpin Offline
Junior Member
*****
Dev Team

Posts: 160
Joined: Sep 2007
Reputation: 1
Post: #2
RE: can't add new users
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 Smile
10-11-2007 12:37 AM
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: #3
RE: can't add new users
Did you enabled AWStats Static ?

Greez BeNe
10-11-2007 12:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
retox Offline
Newbie
*

Posts: 7
Joined: Jan 2007
Reputation: 0
Post: #4
RE: can't add new users
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?
10-11-2007 02:57 AM
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: #5
RE: can't add new users
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
10-11-2007 03:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
retox Offline
Newbie
*

Posts: 7
Joined: Jan 2007
Reputation: 0
Post: #6
RE: can't add new users
Thanks a lot!

I'll try it tomorrow!

cheers,
Christoph
10-11-2007 03:17 AM
Find all posts by this user Quote this message in a reply
retox Offline
Newbie
*

Posts: 7
Joined: Jan 2007
Reputation: 0
Post: #7
RE: can't add new users
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
10-11-2007 03:22 AM
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: #8
RE: can't add new users
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
10-11-2007 03:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Breaki Offline
Junior Member
*

Posts: 109
Joined: Sep 2007
Reputation: 5
Post: #9
RE: can't add new users
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
10-11-2007 03:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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