Unable to copy account from another server.. getting STD.pm error

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
Hi guys,

I am getting the following error when try to copy account from another server.
May i know how to fix it?


pkgacct started.
pkgacct version 4.2 - running with uid 0
using time::hires for speedups
We will be splitting the archive!!
Copying Reseller Config...Done
Copying SSL Certificates, CSRS, and Keys...Done
Copying Mail files....Done
Copying frontpage files....Done
Copying proftpd file....Done
Copying www logs.............
...............
...............
Done
Grabbing mysql dbs............
Can't locate Class/Std.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/cpanel/Cpanel/Lang/Cache/Utils.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Lang/Cache/Utils.pm line 11.
Compilation failed in require at (eval 1) line 3.
...propagated at /usr/lib/perl5/5.8.0/base.pm line 64.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Lang/Cache/Utils/Cachelangfiles.pm line 14.
Compilation failed in require at /usr/local/cpanel/bin/cachelangfiles line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/bin/cachelangfiles line 11.
...............
Can't locate Class/Std.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/cpanel/Cpanel/Lang/Cache/Utils.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Lang/Cache/Utils.pm line 11.
Compilation failed in require at (eval 1) line 3.
...propagated at /usr/lib/perl5/5.8.0/base.pm line 64.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Lang/Cache/Utils/Cachelangfiles.pm line 14.
Compilation failed in require at /usr/local/cpanel/bin/cachelangfiles line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/bin/cachelangfiles line 11.
Done
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
The problem is most likely the version of perl you are running. v5.8.0 is too old and many of the current modules on cpan don't support it. You need to upgrade to v5.8.7, which can easily do using the package on http://layer1.canel.net
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
Hi Chirpy,

Thanks for your reply.

I download and install perl package from http://layer1.cpanel.net/ .

Unfortunately, i still get the STD.pm error. :(
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
Have you tried:

/scripts/perlinstaller --force Class::Std

after install perl package and your latest command.
the copy transfer is working now.

Thanks chirpy.