Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Oct 2002
    Posts
    25

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

    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?

    warn [quotacheck] User file '/var/cpanel/users/root' is empty or non-existent. at /scripts/cPScript/Config/LoadCpUserFile.pm line 35
    cPScript::Config::LoadCpUserFile::load('root') called at /scripts/cPScript/Config/LoadCpUserFile.pm line 158
    cPScript::Config::LoadCpUserFile::loadcpuserfile('root') called at /scripts/quotacheck line 84
    [2010-03-10 00:00:07 -0500] warn [quotacheck] User file '/var/cpanel/users/root' is empty or non-existent. at /scripts/cPScript/Config/LoadCpUserFile.pm line 35
    cPScript::Config::LoadCpUserFile::load('root') called at /scripts/cPScript/Config/LoadCpUserFile.pm line 158
    cPScript::Config::LoadCpUserFile::loadcpuserfile('root') called at /scripts/quotacheck line 84
    [2010-03-10 00:11:33 -0500] warn [zoneeditor] User file '/var/cpanel/users/root' is empty or non-existent. at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 35
    Cpanel::Config::LoadCpUserFile::load('root') called at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 158
    Cpanel::Config::LoadCpUserFile::loadcpuserfile('root') called at /usr/local/cpanel/Cpanel/Email/MX.pm line 18

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    This thread may be helpful:
    /var/cpanel/users/{username} is empty!

  3. #3
    Member
    Join Date
    Oct 2002
    Posts
    25

    Default

    Thanks, it rebuilt my exisiting 2 accts, but nothing for root.
    So still looking for an answer.

  4. #4
    Member yayyo's Avatar
    Join Date
    Jul 2004
    Location
    London, UK
    Posts
    58

    Question

    confirming that I see the same error message here, and it seems to occur nightly. It started on 2010-02-06 for me.
    [2010-02-05 03:49:28 -0500] warn [quotacheck] User file '/var/cpanel/users/root' is empty or non-existent. at /scripts/cPScript/Config/LoadCpUserFile.pm line
    35
    cPScript::Config::LoadCpUserFile::load('root') called at /scripts/cPScript/Config/LoadCpUserFile.pm line 158
    cPScript::Config::LoadCpUserFile::loadcpuserfile('root') called at /scripts/quotacheck line 84
    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. #5
    Member
    Join Date
    Oct 2002
    Posts
    25

    Default

    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. #6
    Member yayyo's Avatar
    Join Date
    Jul 2004
    Location
    London, UK
    Posts
    58

    Thumbs up

    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".
    Last edited by yayyo; 04-20-2010 at 04:56 AM.

Similar Threads & Tags
Similar threads

  1. /var/cpanel/users/{username} is empty!
    By hbhb in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-06-2007, 12:36 AM
  2. skiphorde not working in /var/cpanel/users/xx file
    By anojpala in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-12-2007, 08:02 AM
  3. Error in all cpanel servers /var/cpanel/users/cpanel-username
    By kctt in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-29-2006, 05:55 AM
  4. The cPanel Users File does not exist: /var/cpanel/users/cpanel
    By bigolo in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-06-2004, 10:34 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube