Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    3

    Default Create an Account Fails

    WWWAcct 8.0 by J. Nick Koston

    [specific Info]

    User test1co added
    Changing password for test1co
    Password for test1co has been changed
    Unable to add the user test1co


    In the script wwwacct the section that is failing is this.

    if(!getpwnam($user)){
    deaderror" Unable to add user $user";
    }

    The user wasn't added previous to running this. If I am looking at this correctly it is supposed to skip over this when it gets a NULL because there is no entry to match. However, since it is erroring out...it leads me to believe it thinks the name is already created. I don't get it. If anyone has some insight on this it would be greatly appriciated.

  2. #2
    Registered User
    Join Date
    Jan 2004
    Posts
    3

  3. #3
    Registered User
    Join Date
    Jan 2004
    Posts
    3

    Default Rethinking this

    I still don't think it should be necessary to stop nscd to get the account to be created. Perhaps someone knows more about this than I do.

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge rking's Avatar
    Join Date
    Aug 2005
    Posts
    192

    Default

    I was getting :

    groupadd: Unable to open group shadow file

    in the cpanel error log

    I ran :

    grpconv to rebuild the group shadow file from group and accounts started working again.

    Hope this helps someone.

  5. #5
    Member
    Join Date
    Oct 2005
    Posts
    29

    Default

    i have a similar issue, but in my case, grpconv complains that it cannot open the group file?

    i went in there with pico and i could open it just fine so hmmm.

Similar Threads & Tags
Similar threads

  1. Create account forwarder fails
    By Lyttek in forum E-mail Discussions
    Replies: 1
    Last Post: 02-16-2010, 03:45 PM
  2. MySQL fails on startup - "Can't create/write to file"
    By n000b in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-15-2007, 08:55 AM
  3. Account Creation Fails
    By jonwatson in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-06-2007, 09:47 PM
  4. copy account with account password fails
    By gravely8 in forum New User Questions
    Replies: 8
    Last Post: 11-24-2004, 12:18 AM
  5. create new mail account fails
    By ne0shell in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 02-03-2004, 09:49 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube