The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cpanel error: file /var/cpanel/users/root is empty or non-existent

Discussion in 'General Discussion' started by Hoss, Mar 10, 2010.

  1. Hoss

    Hoss Active Member

    Joined:
    Oct 15, 2002
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Had this unusual entry I've never seen in cpanel/logs/error_log
    ran /scripts/updateuserdomains to no effect
    Any solutions or just ignore it?

     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. Hoss

    Hoss Active Member

    Joined:
    Oct 15, 2002
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, it rebuilt my exisiting 2 accts, but nothing for root. :(
    So still looking for an answer.
     
  4. yayyo

    yayyo Well-Known Member

    Joined:
    Jul 10, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    confirming that I see the same error message here, and it seems to occur nightly. It started on 2010-02-06 for me.
    cPanel 11.25.0-R43473 - WHM 11.25.0 - X 3.9
    CENTOS 5.4 i686 standard on mail

    /scripts/rebuildcpusers didn't create a /var/cpanel/users/root

    Any other suggestions?
     
  5. Hoss

    Hoss Active Member

    Joined:
    Oct 15, 2002
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I can tell you what I ended up doing...
    I created a new file called root by opening one of my other users, copying the content, and then editing the info to fit my server's root profile.
    DNS, mx, IP, etc..
    Save and name the file root with permissions of root :: root 0640
     
  6. yayyo

    yayyo Well-Known Member

    Joined:
    Jul 10, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    Good workaround - Thanks Hoss :)

    --

    Did anyone mention the logfile where we are seeing this? It's in /usr/local/cpanel/logs/error_log

    as in:-

    # grep '/var/cpanel/users/root' /usr/local/cpanel/logs/error_log

    My "best guess" is that it's a low impact bug. The main issue seems to be that it was filling up the error_log. (and annoying the 'eck out of a few of us sysadmins LOL). I think that one of the scripts mentioned in the OP is supposed to be looking for a cpanel user "system" rather than "root".
     
    #6 yayyo, Apr 20, 2010
    Last edited: Apr 20, 2010
Loading...

Share This Page