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.

New Accounts Aren't Being Created Properly

Discussion in 'General Discussion' started by Alcan, Sep 26, 2010.

  1. Alcan

    Alcan Member

    Joined:
    Sep 25, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Recently, I have been having trouble creating new accounts through WHM. The account is supposedly created but nothing in the /home/<username> is added. So it's blank. The bigger issue, possibly connected, is that the new user cannot login to cPanel. Instead, there's the following error:

    And expanded:

    The quota is also nonexistent for these accounts. For disk space usage, it shows up as "none/unlimited".

    Copying in the folder of another, working account, also fails. It gives a similar error to the above except that it's about not having exceeded the quota. The drive is far from capacity and other accounts can still add new files without trouble.

    Also, removing the account doesn't delete the /home/<username> folder. But that could be normal and really isn't much of an issue.

    This only affects new accounts. Old accounts are fine. The problem seemed to have showed up randomly. Also, copying in the directory of another, working user, also fails.

    After searching a bit, I have found one possible solution but that didn't work. It involved checkperlmodules and cpup with some arguments that I forgot. (but I think they told them to "forge" the update and check) Well, the two scripts worked, but they did nothing.

    There are a few another threads around with seemingly the same or a related problem but they were unresolved.

    EDIT: Oh, and when creating the account, everything looks normal. No errors and, as far as I know, it has the same messages as it did before. Also, the Perl version is currently at 5.6.2 because of the cPanel update which fixed nothing I described above. It was at 5.8.8 before with the same issue.
     
    #1 Alcan, Sep 26, 2010
    Last edited: Sep 26, 2010
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    197
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Not sure I understand, perl ver was 5.8.8 but is now 5.6.2? Whats that mean, you rolled it back? I would expect issues with that older version.

    IMHO, it sounds like you were on the right track to solving this yourself.

    What version of cPanel is the server currently running?
     
  3. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Please be aware that some internal cPanel modules do use Perl 5.6.2, and it is not unusual to see references to 5.6.2 in error output, even if the system Perl is a later version. To verify the version of the system Perl, pass it the -v switch:

    Code:
    # perl -v
    I do see this in the output you provided in your post:

    Code:
    Carp::croak('can\'t write into /home/<username>/.cpanel/nvdata.cache: Disk quota...') called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 76
    What version of Perl does the perl -v command show?
     
  4. Alcan

    Alcan Member

    Joined:
    Sep 25, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    It's currently running "RELEASE".

    It shows up as Perl 5.8.8.

    Oops, the error I posted was the one I got AFTER I copied in another user's directory. Here's the "actual" error (right after I create the account):

    Code:
    can't write into /home/<username>/.cpanel/nvdata.cache: No such file or directory at /usr/local/cpanel/Cpanel/NVData.pm line 60
    Carp::croak('can\'t write into /home/<username>/.cpanel/nvdata.cache: No such f...') called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 76
    Storable::logcroak('can\'t write into /home/<username>/.cpanel/nvdata.cache: No such f...') called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 248
    Storable::_store('CODE(0x8f0432c)', 'HASH(0x8b26154)', '/home/<username>/.cpanel/nvdata.cache', 1) called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 236
    Storable::lock_nstore('HASH(0x8b26154)', '/home/<username>/.cpanel/nvdata.cache') called at /usr/local/cpanel/Cpanel/NVData.pm line 60
    Cpanel::NVData::_savecache() called at /usr/local/cpanel/Cpanel/NVData.pm line 149
    Cpanel::NVData::_loadcache(1) called at /usr/local/cpanel/Cpanel/NVData.pm line 181
    Cpanel::NVData::_get(undef) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 156
    Cpanel::ExpVar::expvar('$NVDATA{\'x3_hideicons\'}') called at cpanel line 1443
    main::execiftag('<cpanelif $NVDATA{\'x3_hideicons\'}>') called at cpanel line 4043
    main::dotag_finished_headers('<cpanelif $NVDATA{\'x3_hideicons\'}>', 0) called at cpanel line 3867
    main::cpanel_parseblock('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "...') called at cpanel line 3842
    main::cpanel_parse('GLOB(0x9151020)') called at cpanel line 2157
    main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 48
    Cpanel::Branding::Branding_include('index.html') called at (eval 5) line 1
    eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel line 949
    main::real_exectag('<cpanelif $NVDATA{\'x3_hideicons\'}>') called at cpanel line 4015
    main::dotag_finished_headers('<cpanelif $NVDATA{\'x3_hideicons\'}>', 0) called at cpanel line 3898
    main::cpanel_parseblock('<cpanel Branding="include(index.html)">^J') called at cpanel line 3842
    main::cpanel_parse('GLOB(0x8f28ee0)') called at cpanel line 5335
    main::run_standard_mode() called at cpanel line 387
    
     
  5. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    the file /home/<username>/.cpanel/nvdata.cache not exist .

    try creating a file with the same name and path .
     
Loading...

Share This Page