Current time: 11-06-2024, 01:34 AM Hello There, Guest! (LoginRegister)


Post Reply 
Cannot create accounts (account status is not ok)
Author Message
Numicus Offline
Junior Member
*

Posts: 19
Joined: Mar 2008
Reputation: 0
Post: #1
Cannot create accounts (account status is not ok)
I de-installed winCP and reinstalled it again today, but when adding an account I see a red traffic-sign (round with a diagonal stripe) indicating that the account is not succesfully created. When I switch to the account I see in red:
XXXX's account status is not ok!

ispcp_daemon-stdout.log.1205268350
and
ispcp_daemon-stderr.log.1205268350
are empty.

When running /var/www/ispcp/engine/ispcp-rqst-mngr (in debug mode=1)
I get this:

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: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-serv-mngr 2 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: 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...

Can anyone point me to the right direction?


Attached File(s)
.txt  ispcp-serv-mngr.stdout.txt (Size: 3.73 KB / Downloads: 11)
03-12-2008 07:04 AM
Find all posts by this user Quote this message in a reply
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #2
RE: Cannot create accounts (account status is not ok)
Which version do you have? See the vmail uid and mail gid in the ispcp.conf. Don't forget to update the ispcp database status fields to "change" before run the rebuild process.
(This post was last modified: 03-12-2008 07:20 AM by Kika.)
03-12-2008 07:09 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #3
RE: Cannot create accounts (account status is not ok)
which version of *ispCP* (what's winCP ???) ?

something in /var/log/ispcp/ispcp-serv-mngr.stderr??

what is the status (see directly in the database)

/J
03-12-2008 07:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Numicus Offline
Junior Member
*

Posts: 19
Joined: Mar 2008
Reputation: 0
Post: #4
RE: Cannot create accounts (account status is not ok)
Thanks for quick reply.
Sorry, it was a type, I use ispCP RC3

When I use ISPcp debugger I get the following error for each domain:
sys_command() | ERROR: External command '/usr/sbin/groupadd -g 2001 vu2001' returned '9' status !

Quick edit:
When I run /usr/sbin/groupadd -g 2001 vu2001 in SSH as root I get:
groupadd: group vu2001 exists


Will now look in SQL for the status
(This post was last modified: 03-12-2008 07:24 AM by Numicus.)
03-12-2008 07:19 AM
Find all posts by this user Quote this message in a reply
Numicus Offline
Junior Member
*

Posts: 19
Joined: Mar 2008
Reputation: 0
Post: #5
RE: Cannot create accounts (account status is not ok)
Also, the /var/www/virtual folder is completely empty
03-12-2008 07:22 AM
Find all posts by this user Quote this message in a reply
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #6
RE: Cannot create accounts (account status is not ok)
joximu Wrote:what is the status (see directly in the database)

If you click to the "not ok" icon before the username in the ispCP then you can see the status of the user too, this is equal with the database status filed.
03-12-2008 07:23 AM
Find all posts by this user Quote this message in a reply
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #7
RE: Cannot create accounts (account status is not ok)
Numicus Wrote:Thanks for quick reply.
Sorry, it was a type, I use ispCP RC3

When I use ISPcp debugger I get the following error for each domain:
sys_command() | ERROR: External command '/usr/sbin/groupadd -g 2001 vu2001' returned '9' status !

Quick edit:
When I run /usr/sbin/groupadd -g 2001 vu2001 in SSH as root I get:
groupadd: group vu2001 exists


Will now look in SQL for the status

Did you deleted the old ispCP and after reinstall that? You must remove the vu* gorup and user from the system before you create a new domain (except the vu2000).
(This post was last modified: 03-12-2008 07:30 AM by Kika.)
03-12-2008 07:27 AM
Find all posts by this user Quote this message in a reply
Numicus Offline
Junior Member
*

Posts: 19
Joined: Mar 2008
Reputation: 0
Post: #8
RE: Cannot create accounts (account status is not ok)
ls -l
gives:

drwxr-xr-x 2 root root 4096 2008-03-11 16:33 awstats
drwxr-xr-x 3 vu2000 vu2000 4096 2008-03-11 16:35 fcgi
drwxr-xr-x 7 root root 4096 2008-03-11 16:35 ispcp
drwxr-xr-x 2 root root 4096 2008-03-11 16:33 scoreboards
drwxr-xr-x 2 vu2000 www-data 4096 2008-03-11 16:33 virtual

When clicking on the icon I get the domain details page, after status is:

Status sys_command() | ERROR: External command '/usr/sbin/groupadd -g 2002 vu2002' returned '9' status !
03-12-2008 07:33 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: Cannot create accounts (account status is not ok)
The question is what means "de-install" in post 1.

Normally a ispcp-uninstall should remove the vu2xxx users and groups...

/J
03-12-2008 07:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Numicus Offline
Junior Member
*

Posts: 19
Joined: Mar 2008
Reputation: 0
Post: #10
RE: Cannot create accounts (account status is not ok)
"Did you deleted the old ispCP and after reinstall that? You must remove the vu* gorup and user from the system before you create a new domain (except the vu2000)"
What exactly do you mean by that?

I uninstalled using the ispCP uninstaller, it gave an error though, I deleted some folders manually. It may be that it did not delete the users/groups.
Should I dedelete al vu* groups in etc/groups?

UPDATE: deleted the vu* groups, the error changed now:
sys_command() | ERROR: External command '/usr/sbin/useradd -c virtual-user -d /var/www/virtual/zennid.nl -g vu2003 -s /bin/false -u 2003 vu2003' returned '9' status !

Looks like I need to remove the users..in which file will I find them / which command to run to delete them?
(This post was last modified: 03-12-2008 07:44 AM by Numicus.)
03-12-2008 07:37 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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