WHM Cpanel Create Account Error

by Herb on 21 January 2008

Apparently, you can’t be running the name-service caching daemon with Cpanel/WHM. I was trying to create an account earlier, through both the WHM web-ui as well as the command-line version wwwacct. Running either script produces no logical error messages related to nscd; at first try it says it is unable to create group. Nothing comes up in classic google search, I had to register on the Cpanel Forums to find some relevant information.


Attempts to create an account:

Checking input data......Done
WWWAcct 12.0 (c) 1997-2007 cPanel, Inc.......Done
Running pre creation script (/scripts/prewwwacct)......Done
Adding User...Unable to add group deuce

The script actually manages to create the group, which can be verified in /etc/groups.

# cat /etc/group
---
deuce:x:32070:

Which you have to manually remove to get the script to work again.

# /usr/sbin/groupdel deuce

As mentioned in the above post, (paraphrasing the Cpanel techs) the problem was that nscd is running.

# /sbin/service nscd stop

Account gets created without a hitch (assuming that group is removed manually). Easily reproducible.

Leave a Comment

Previous post:

Next post: