Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    4

    Default Need help : WHM is creating accounts with errors !

    Its a very strange situation. Ive been creating accounts with no problem for the last few days, in my new server. But today a new client signed up and I started to get this errors.

    can't write into /home/usernamehere/.cpanel/nvdata.cache: Permission denied at /usr/local/cpanel/Cpanel/NVData.pm line 60
    Version of Cpanel and WHM
    cPanel 11.25.0-S43473 - WHM 11.25.0 - X 3.9

    Runing under CENTOS 5.4

    When i try to login into the cpanel under that account I get the following errors !

    can't write into /home/clientsname/.cpanel/nvdata.cache: No such file or directory at /usr/local/cpanel/Cpanel/NVData.pm line 60
    Carp::croak('can\'t write into /home/clientsname/.cpanel/nvdata.cache: No such f...') called at /usr/lib/perl5/site_perl/5.6.2/x86_64-linux/Storable.pm line 76
    Storable::logcroak('can\'t write into /home/clientsname/.cpanel/nvdata.cache: No such f...') called at /usr/lib/perl5/site_perl/5.6.2/x86_64-linux/Storable.pm line 248
    Storable::_store('CODE(0x397eb90)', 'HASH(0x19db740)', '/home/clientsname/.cpanel/nvdata.cache', 1) called at /usr/lib/perl5/site_perl/5.6.2/x86_64-linux/Storable.pm line 236
    Storable::lock_nstore('HASH(0x19db740)', '/home/clientsname/.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 1423
    main::execiftag('<cpanelif $NVDATA{\'x3_hideicons\'}>') called at cpanel line 4021
    main::dotag_finished_headers('<cpanelif $NVDATA{\'x3_hideicons\'}>', 0) called at cpanel line 3846
    main::cpanel_parseblock('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "...') called at cpanel line 3822
    main::cpanel_parse('GLOB(0x3bd9500)') called at cpanel line 2137
    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 929
    main::real_exectag('<cpanelif $NVDATA{\'x3_hideicons\'}>') called at cpanel line 3993
    main::dotag_finished_headers('<cpanelif $NVDATA{\'x3_hideicons\'}>', 0) called at cpanel line 3876
    main::cpanel_parseblock('<cpanel Branding="include(index.html)">^J') called at cpanel line 3822
    main::cpanel_parse('GLOB(0x39fd5d0)') called at cpanel line 5303
    main::run_standard_mode() called at cpanel line 387
    Last edited by sickboy; 03-14-2010 at 08:04 PM.

  2. #2
    Member
    Join Date
    May 2008
    Posts
    1,114

    Default

    Please make sure that you have assigned the appropriate permission and ownership with the particular account when you have hosted a new domain.

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    4

    Default

    Sorry, but I had 4 signups yestarday and there was no problem and everything is working right for the old accounts.

    But today, a had 2 signups and both are having the same problem. It seems that is affecting only new accounts creation.

    I tried to create 10 accounts via WHMCS and always the same errors. Its not affecting only 1 account if not all new accounts.

    thewebhosting mentioned that I have to assign the appropiate permission and ownership.... HOW can I do this ?

    Thanks !

  4. #4
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    Do you receive the error message while creating the account OR while logging into the cPanel of the newly created accounts?

    BTW, try correcting the ownership and see if it helps:

    chown usernamehere.usernamehere /home/usernamehere/.cpanel -R

  5. #5
    Registered User
    Join Date
    Mar 2010
    Posts
    4

    Default

    I recive this messages while users try to login into cpanel new accounts. I have no problems with old accounts. The problem is with new accounts only !


    chown usernamehere.usernamehere /home/usernamehere/.cpanel -R
    IS not working !

    Please any help is really apreciated !
    Last edited by sickboy; 03-15-2010 at 02:41 PM.

  6. #6
    Member
    Join Date
    Mar 2010
    Posts
    7

    Default

    You Can See The Code in

    PHP Code:
    pico  +60 /usr/local/cpanel/Cpanel/NVData.pm 
    I Think this Problem With Perl ...

    Can You Plz Give Me The Result Of

    PHP Code:
    /scripts/checkperlmodules 
    GooD Luck ^_^

  7. #7
    Registered User
    Join Date
    Mar 2010
    Posts
    4

    Default

    Quote Originally Posted by Al-Ra3eD.CoM View Post
    You Can See The Code in

    PHP Code:
    pico  +60 /usr/local/cpanel/Cpanel/NVData.pm 
    I Think this Problem With Perl ...

    Can You Plz Give Me The Result Of

    PHP Code:
    /scripts/checkperlmodules 
    GooD Luck ^_^

    The line is :
    Code:
       Storable::lock_nstore(\%NVDataCACHE, $cachefile);
    The only part were I found an error while doing /scripts/checkperlmodules was the following.

    Code:
     CPAN.pm: Going to build M/MS/MSCHWERN/ExtUtils-MakeMaker-6.56.tar.gz
    
    perl-64bit-hack: enabled
    ExtUtils::MakeMaker version 6.5 required--this is only version 6.30 at Makef        ile.PL line 15.
    BEGIN failed--compilation aborted at Makefile.PL line 15.
    No 'Makefile' created  MSCHWERN/ExtUtils-MakeMaker-6.56.tar.gz
      /scripts/cpan_sandbox/x86_64/perl Makefile.PL OTHERLDFLAGS=-L/usr/lib64 LD        FLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 -- NOT OK
    Running make install
      Make had some problems, won't install
    Mail::SRS is up to date (0.31).
    Acme::Spork is up to date (0.0.8).
    Archive::Tar is up to date (1.58).
    Archive::Tar::Streamed is up to date (0.03).
    Archive::Zip is up to date (1.30).
    Encode::Guess is up to date (2.03).
    Digest::MD5 is up to date (2.36).
    Digest::SHA1 is up to date (2.12).
    MIME::Base64 is up to date (3.09).
    MIME::Lite is up to date (3.027).
    URI::URL is up to date (5.03).
    HTML::Tagset is up to date (3.20).
    HTML::Entities is up to date (3.64).
    MIME::Base64 is up to date (3.09).
    Digest::MD5 is up to date (2.36).
    URI is up to date (1.53).
    Net::FTP is up to date (2.77).
    HTML::Tagset is up to date (3.20).
    HTML::Parser is up to date (3.64).
    HTML::HeadParser is up to date (3.62).
    LWP is up to date (5.810).
    Parse::RecDescent is up to date (1.964).
    OLE::Storage_Lite is up to date (0.19).
    MIME::Base64 is up to date (3.09).
    Digest::MD5 is up to date (2.36).
    URI is up to date (1.53).
    Net::FTP is up to date (2.77).
    HTML::Tagset is up to date (3.20).
    HTML::Parser is up to date (3.64).
    HTML::HeadParser is up to date (3.62).
    LWP is up to date (5.810).
    Term::ReadKey is up to date (2.30).
    Term::ReadLine::Perl is up to date (1.0303).
    Text::Query is up to date (0.07).
    Image::Size is up to date (3.220).
    DBI is up to date (1.609).
    Safe::Hole is up to date (0.10).
    Tie::ShadowHash is up to date (0.07).
    Set::Crontab is up to date (1.02).
    IO::Scalar is up to date (2.110).
    Storable is up to date (2.21).
    Spreadsheet::ParseExcel is up to date (0.57).
    Spreadsheet::WriteExcel is up to date (2.37).
    Business::OnlinePayment::AuthorizeNet is up to date (3.21).
    Business::UPS is up to date (1.13).
    CGI is up to date (3.49).
    Class::Std::Utils is up to date (0.0.3).
    Compress::Bzip2 is up to date (2.09).
    Compress::Zlib is up to date (2.024).
    DBIx::MyParsePP is up to date (0.50).
    DBD::SQLite2 is up to date (0.33).
    Date::Parse is up to date (2.30).
    File::Tail is up to date (0.99.3).
    GD::Graph is up to date (1.44).
    GD::Text::Align is up to date (1.18).
    Memoize is up to date (1.01).
    Geo::IPfree is up to date (1.100470).
    HTML::Parser is up to date (3.64).
    HTTP::Daemon::App is up to date (0.0.9).
    IO::Socket::ByteCounter is up to date (0.0.2).
    Image::Size is up to date (3.220).
    MIME::Base64 is up to date (3.09).
    Mail::DomainKeys is up to date (1.0).
    Error is up to date (0.17016).
    NetAddr::IP is up to date (4.027).
    Net::DNS::Resolver::Programmable is up to date (v0.003).
    cPCPAN: Module (Mail::SPF) holdback (v2.007 held back to 2.007001)
    Mail::SPF is up to date (2.007_001).
    Mail::SPF::Query is up to date (1.999.1).
    Mail::DKIM is up to date (0.37).
    IP::Country is up to date (2.27).
    Graph::Easy is up to date (0.64).
    Graph::Flowchart is up to date (0.11).
    cPCPAN: Module (Mail::SpamAssassin) holdback (3.003000 held back to 3.2.4)
    Mail::SpamAssassin is up to date (3.002004).
    XML::LibXML::Common is up to date (1.70).
    URI::Escape is up to date (3.30).
    XML::LibXML is up to date (1.70).
    File::Find::Rule::Filesys::Virtual is up to date (1.22).
    File::Slurp is up to date (9999.13).
    Net::DAV::Server is up to date (1.29).
    Net::Daemon is up to date (0.43).
    Net::Daemon::SSL is up to date (1.0).
    Net::LDAP is up to date (0.40).
    Net::LDAP::Schema is up to date (0.9905).
    Net::LDAP::Server is up to date (0.42).
    GD::Graph is up to date (1.44).
    Parse::RecDescent is up to date (1.964).
    Quota is up to date (1.6.4).
    SVG::TT::Graph is up to date (0.12).
    Safe::Hole is up to date (0.10).
    Text::CSV is up to date (1.17).
    Spreadsheet::ParseExcel is up to date (0.57).
    Spreadsheet::WriteExcel is up to date (2.37).
    String::CRC32 is up to date (1.4).
    SQL::Statement is up to date (1.25).
    Tie::IxHash is up to date (1.22).
    Tie::ShadowHash is up to date (0.07).
    Tie::Watch is up to date (1.2).
    Tie::DBI is up to date (1.02).
    URI::URL is up to date (5.03).
    perlmod--Install done
    Using fast module check.....checked 121 modules in 1 second(s)
    Tested 122, 122 ok, 0 failed.
    Cpanel::FastMath: [INSTALLED=1] [VERSION=0.3]
    Crypt::PasswdMD5::XS: [INSTALLED=1] [VERSION=0.3]
    Cpanel::POSIX::Tiny: [INSTALLED=1] [VERSION=1.1]
    Cpanel::Cleanup: [INSTALLED=1] [VERSION=0.4]
    Cpanel::Class: [INSTALLED=1] [VERSION=1.0.5]
    Cpanel::TaskQueue: [INSTALLED=1] [VERSION=0.3]
    Any help is really apreciated ! Thanks !

  8. #8
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Exclamation

    The very first thing I take notice to when I look at your posts is this:
    Code:
    called at /usr/lib/perl5/site_perl/5.6.2/x86_64-linux
    It would seem to me that your Perl installation got replaced with a very old version and you might want to take a peek at /var/log/yum.log to see what is going on there around the time you started having problems.

    Here is the link to 5.8.8 that Cpanel uses as standard:
    Perl 5.8.8 Installer

Similar Threads & Tags
Similar threads

  1. Fuse / S3FS and creating new accounts in WHM
    By pvetch in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-17-2010, 10:17 AM
  2. whm not creating the accounts
    By neo_user in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-18-2007, 10:10 AM
  3. Problems creating and terminating accounts with WHM
    By starterwebsites in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 06-07-2007, 01:03 PM
  4. Errors after creating new accounts in WHM
    By aoit in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-04-2006, 07:23 AM
  5. WHM Errors when creating accounts on subdomains.
    By Jason2Jason in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-01-2004, 09:35 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube