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.

Copy accounts error

Discussion in 'General Discussion' started by billyrobot, Jul 3, 2005.

  1. billyrobot

    billyrobot Active Member

    Joined:
    Feb 18, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I'm trying to copy accounts from one server to another using WHM, and I keep getting this error:

    Can't locate Cpanel/Errors.pm in @INC
    internal) Sun Jul 3 10:25:49 2005 [17270] error: Can't locate Cpanel/Errors.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /scripts /usr/local/cpanel) at /scripts/wwwacct line 24.
    at /scripts/wwwacct line 24
    main::BEGIN() called at Cpanel/Errors.pm line 24
    eval {...} called at Cpanel/Errors.pm line 24
    (internal) Sun Jul 3 10:25:49 2005 [17270] error: Can't locate Cpanel/Errors.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /scripts /usr/local/cpanel) at /scripts/wwwacct line 24.
    BEGIN failed--compilation aborted at /scripts/wwwacct line 24.
    at /scripts/wwwacct line 24
    Can't locate Cpanel/Errors.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /scripts /usr/local/cpanel) at /scripts/wwwacct line 24.
    BEGIN failed--compilation aborted at /scripts/wwwacct line 24.
    [an error or timeout occurred while processing this directive][an error or timeout occurred while processing this directive]

    Any ideas why this line in wwwacct:

    use Cpanel::Errors;

    Is causing these errors? Why wouldn't Cpanel::Errors be able to be incluided?

    BR
     
  2. billyrobot

    billyrobot Active Member

    Joined:
    Feb 18, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    The problem actually doesn't seem to be backup related -- the problem seems to be with the account creation script (wwwacct) on the new server, since I can't create accts in whm either. Grrrr!
     
  3. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    In ssh do a locate Errors.pm and see if it actually exists and if the path is

    /usr/local/cpanel/Cpanel/Errors.pm

    If it does not exist i would try /scripts/updatenow
    /scripts/upcp --force
     
  4. billyrobot

    billyrobot Active Member

    Joined:
    Feb 18, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, Dave -- I'll try updating. I ran locate looking for the script, but it couldn't find it. The strange thing is that it doesn't exist on my old server either, and it seeems to be able to create accounts without problems. I'll let you know how the update goes.

    BR
     
  5. billyrobot

    billyrobot Active Member

    Joined:
    Feb 18, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    upcp seems to have fixed it... I'm tattooing upcp --force on my arm as I type this, so I won't forget next time. Seems like that's often the first thing to do when cpanel problems pop up ;)

    BR
     
  6. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    Glad ya got it fixed :)
     
Loading...

Share This Page