ramakant

Member
Oct 5, 2005
16
0
151
WWWAcct 10.0 (c) 1997-2005 cPanel, Inc.

+===================================+
| New Account Info |
+===================================+
| Domain: xxxx.com
| Ip: xxx.xxx.xxx.xxc (y)
| HasCgi: y
| UserName: check
| PassWord: default
| CpanelMod: x
| HomeRoot: /home
| Quota: 100 Meg
| NameServer1: ns1.xxxxx.com
| NameServer2: ns2.xxxxxx.com
| NameServer3:
| NameServer4:
| Contact Email:
+===================================+

Unable to add the user jazzcom

got above error

Account Creation Complete!!!


even upgrade wont help
also tried for gpconv and pwconv
 

WilliamE

Well-Known Member
May 14, 2004
52
0
156
Running into the same problem today, trying to restore a backup of an account that no longer exists on the server. WHM 10.8.0 cPanel 10.8.1-R4.

*edit*
Further digging in log files is showing:
unable to open shadow group file

error. Any ideas on what would cause that?

*edit*
Solved by running grpconv :D
 
Last edited:

Gnomercy

Well-Known Member
PartnerNOC
Sep 4, 2002
80
0
156
Running into the same problem here adding an account that has NEVER existed on the server. This is a dedicated server for a customer that previously had one domain on the box, now wants to add a second and is getting this error during account creation.

I've checked /var/cpanel/users to make sure that the user wasn't listed there, but really didn't expect to find it. The account creation did put the username in /etc/group, but removing it from there and reattempting the account creation generates the same results.

I've got a ticket in with Cpanel about it... will respond here when I get a resolution to the issue.
 

Gnomercy

Well-Known Member
PartnerNOC
Sep 4, 2002
80
0
156
Problem for me was a lock file on /etc/passwd. Cpanel support removed the lock file and operations resumed as normal.
 

aby

Well-Known Member
May 31, 2005
638
0
166
India
ramakant said:
I am sitll not able to create domain in whm please advise.
Paste the error you get here so that others will be able to help you..
 

kerriritter

Active Member
Oct 25, 2004
31
0
156
Same problem, this worked

I had the same problem - error when creating a new account on one of my servers Stable Build 10.8.1 - S31.

I had been waiting for the other person to get a response from Cpanel. But i tried this and it worked.

I just deleted some old domains/users (no longer in use) from /var/cpanel/users and saved the file.
And deleted old info also from /etc/group and /etc/passwd.

Maybe there was a lock somewhere and just an edit and save fixed...?
 

jondolar

Well-Known Member
Feb 15, 2004
46
0
156
similar problem

I had a similar problem. There was a lock file on group and shadow (/etc/group.lock and /etc/gshadow.lock). I removed both of those (they were a day old) and ran grpconv and now everything is working fine.
 

anton_latvia

Well-Known Member
PartnerNOC
May 11, 2004
432
47
178
Latvia
cPanel Access Level
Root Administrator
I have just got this error on the latest release (WHM 10.8.0 cPanel 10.8.1-R113; Fedora i686 - WHM X v3.1.0 ). Without any error message... Just:

WWWAcct 10.0 (c) 1997-2005 cPanel, Inc.

+===================================+
| New Account Info |
+===================================+
| Domain: antontest.com
| Ip: xx.xx.xx.xx (n)
| HasCgi: y
| UserName: antontes
| PassWord: ollalla
| CpanelMod: x
| HomeRoot: /home
| Quota: 0 Meg
| NameServer1: xxx
| NameServer2: xxx
| NameServer3:
| NameServer4:
| Contact Email:
+===================================+
Unable to add the user antontes

Does anyone know the reason? I have checked for lock files in /etc.. .Nothing there except .pwd.lock.

Anton.
 

anton_latvia

Well-Known Member
PartnerNOC
May 11, 2004
432
47
178
Latvia
cPanel Access Level
Root Administrator
well...

groupadd: unable to open shadow group file
useradd: unknown group superhos
superhos does not exist, so the password cannot be changed! at /scripts/realchpass line 28

Here is what I have in /etc, regarding shadows...

-rw------- 1 root root 3707737 Jan 23 23:48 gshadow
-rw------- 1 root root 3707724 Jan 23 22:44 gshadow-
-rw------- 1 root root 27640 Jan 23 22:45 shadow
-rw------- 1 root root 27578 Jan 23 18:09 shadow-
-r-------- 1 root root 152680 Jan 23 18:15 shadow,v
-rw------- 1 root root 60 Dec 28 2004 wwwacct.conf.shadow

Does any file have wrong permission?

Anton
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
They're the correct file permissions. It would be worth checking there are no attributes set on /etc/gshadow:

lsattr /etc/gshadow

Other than that idea, you may need to log a ticket with cPanel through your license provider.
 

anton_latvia

Well-Known Member
PartnerNOC
May 11, 2004
432
47
178
Latvia
cPanel Access Level
Root Administrator
Support team from CPANEL said that group shadow file was corrupted. They backed it up and rebuilt it using grpconv. They have also upgraded perl and all its modules. Now everything is working fine. :)
 

ebinfo

Active Member
Oct 5, 2005
31
0
156
i have similar issue in the fact that i cannot create new users, but my case is a little trickier. i looked in the /etc folder and there was no lock files for the group and passwd and shadow and so forth

i then tried to do a grpconv.

it then moaned saying it cannot open the group file.

i then go into /etc and perform pico.

and the file open just fine.

now i am scratching my head
 
Last edited: