Current time: 12-24-2024, 05:05 AM Hello There, Guest! (LoginRegister)


Post Reply 
Problem adding users
Author Message
dave9 Offline


Posts: 2
Joined: Jun 2008
Reputation: 0
Post: #1
Problem adding users
Hi,

I've just installed ispCP but am having some problems adding users.

When i fill in the details and click the add user button on the /reseller/rau3.php I just get a blank screen. When I go back to the main page again I can see that the user has been added however the status is two circular blue arrows. If I try to switch to the user I get a message saying the user's account status is not OK. When I check the ispCP debugger under system tools I can see that there are 16 execute requests (after trying to add 4 users) under the Daemon tools section. If I click on these I get a blank page with the url xxxxxx.org/admin/ispcp_debugger.php?action=run_engine

I followed the Gentoo installation instructions and there is a section about changing the suexec minimum uid and gid lines or there will be problems adding domains however i'm not sure what I should set this to in my case as i'm not familiar with suexec.

If i run suexec -V i get the following:

-D AP_DOC_ROOT="/var/www"
-D AP_GID_MIN=100
-D AP_HTTPD_USER="apache"
-D AP_LOG_EXEC="/var/log/apache2/suexec_log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_SUEXEC_UMASK=077
-D AP_UID_MIN=1000
-D AP_USERDIR_SUFFIX="public_html"

I've tried setting the gid and uid lines to 100 and 1000 respectively under /etc/ispcp/iscp.conf however this made no difference. I also tried changing the vu10000 user and group to 999 and 99 but this also made no difference.

I am running an up to date stable Hardened Gentoo build and have tried using both the RC5 release and the 26/06/08 snapshot builds with the same results.

I have debugging turned on but I cant seem to see anything useful in any of the log files under /var/log/ispcp

Any ideas?

Many thanks,
Dave
06-27-2008 01:07 AM
Find all posts by this user Quote this message in a reply
dave9 Offline


Posts: 2
Joined: Jun 2008
Reputation: 0
Post: #2
RE: Problem adding users
I've tried running ispcp-rqst-mngr manually and get the following output:

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: 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, xxxxxxxxx1.net, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_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'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 2, xxxxxxxxx2.net, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-dmn-mngr 2 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 3, xxxxxxxxx3.org, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-dmn-mngr 3 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 4, xxxxxxxxx4.net, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-dmn-mngr 4 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-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: mngr_engine(), msg: processing 1, webmaster, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 1 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 2, postmaster, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 2 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 3, abuse, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 3 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 4, webmaster, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 4 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 5, postmaster, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 5 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 6, abuse, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 6 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 7, webmaster, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 7 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 8, postmaster, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 8 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 9, abuse, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 9 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 10, webmaster, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 10 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 11, postmaster, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 11 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 12, abuse, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 12 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-serv-mngr 4 0 0 12 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: 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...


After this if i log into the admin interface again the users status has changed from the blue arrows to a red circle with a line through it. If i try to switch to the user i still get a message saying account status is not ok.

There are now some .stderr and .stdout logs, which if i grep for ERROR i get the following (domain names have been sanitised):

/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DB_DIR}' eq '{DB_DIR}', missing '{DB_DIR}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DB_DIR}' eq '{DB_DIR}', missing '{DB_DIR}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DB_DIR}' eq '{DB_DIR}', missing '{DB_DIR}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '// dmn [xxxxxx4.net] cfg entry BEGIN.
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{TIMESTAMP}' eq '{TIMESTAMP}', missing '{TIMESTAMP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{BASE_SERVER_IP}' eq '{BASE_SERVER_IP}', missing '{BASE_SERVER_IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SECONDARY_DNS_IP}' eq '{SECONDARY_DNS_IP}', missing '{SECONDARY_DNS_IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_IP}' eq '{DMN_IP}', missing '{DMN_IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{TIMESTAMP}' eq '{TIMESTAMP}', missing '{TIMESTAMP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{BASE_SERVER_IP}' eq '{BASE_SERVER_IP}', missing '{BASE_SERVER_IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SECONDARY_DNS_IP}' eq '{SECONDARY_DNS_IP}', missing '{SECONDARY_DNS_IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_IP}' eq '{DMN_IP}', missing '{DMN_IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{TIMESTAMP}' eq '{TIMESTAMP}', missing '{TIMESTAMP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{BASE_SERVER_IP}' eq '{BASE_SERVER_IP}', missing '{BASE_SERVER_IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SECONDARY_DNS_IP}' eq '{SECONDARY_DNS_IP}', missing '{SECONDARY_DNS_IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_IP}' eq '{DMN_IP}', missing '{DMN_IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{IP}' eq '{IP}', missing '{IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{IP}' eq '{IP}', missing '{IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_GRP}' eq '{DMN_GRP}', missing '{DMN_GRP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{IP}' eq '{IP}', missing '{IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_GRP}' eq '{DMN_GRP}', missing '{DMN_GRP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{IP}' eq '{IP}', missing '{IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_GRP}' eq '{DMN_GRP}', missing '{DMN_GRP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{IP}' eq '{IP}', missing '{IP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_GRP}' eq '{DMN_GRP}', missing '{DMN_GRP}' in src !
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '# httpd Data BEGIN.
/var/log/ispcp/ispcp-dmn-mngr.stdout:DEBUG: pop_el() sub_name: get_tag(), msg: ERROR: '# httpd Data BEGIN.
(This post was last modified: 06-27-2008 01:43 AM by dave9.)
06-27-2008 01:38 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #3
RE: Problem adding users
There are many Variables missing. Maybe Zothos can help. I think he use Gentoo.
06-27-2008 02:04 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)