Big installation problem perl modules !!!

Misiek

Well-Known Member
Feb 23, 2004
116
0
166
cPanel Access Level
Root Administrator
Cpanel::FastMath: [INSTALLED=0] [VERSION=]
Writing Makefile for Cpanel::FastMath
make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Cpanel::FastMath
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make: *** [Makefile] Error 1
make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Cpanel::FastMath
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make: *** [Makefile] Error 1
Crypt::PasswdMD5::XS: [INSTALLED=0] [VERSION=]
Using built in crypt()
Writing Makefile for Crypt::PasswdMD5::XS
make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/bin/perl Makefile.PL
Using built in crypt()
Checking if your kit is complete...
Looks good
Writing Makefile for Crypt::PasswdMD5::XS
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make: *** [Makefile] Error 1
make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/bin/perl Makefile.PL
Using built in crypt()
Checking if your kit is complete...
Looks good
Writing Makefile for Crypt::PasswdMD5::XS
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make: *** [Makefile] Error 1
Cpanel::POSIX::Tiny: [INSTALLED=0] [VERSION=]
Writing Makefile for Cpanel::POSIX::Tiny
make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Cpanel::POSIX::Tiny
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make: *** [Makefile] Error 1
make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Cpanel::POSIX::Tiny
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
 
Last edited:

Silent Ninja

Well-Known Member
Apr 18, 2006
196
0
166
Buenos Aires, Argentina
I have this same issue, and the server didn't installed MySQL between other stuff.

By running mysqlup --force it shows me this error:

Code:
die [mysqlup] Cpanel::CpPkg::Factory failed to require Cpanel::CpPkg::Package::mysql51_server: Can't locate Cpanel/Class.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/Init/Factory.pm line 4.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Init/Factory.pm line 4.
Compilation failed in require at /usr/local/cpanel/Cpanel/Init.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Init.pm line 11.
Compilation failed in require at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql.pm line 11.
Compilation failed in require at (eval 17) line 3.
        ...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql51_server.pm line 8.
Compilation failed in require at (eval 16) line 3.

exit level [die] (Cpanel::CpPkg::Factory failed to require Cpanel::CpPkg::Package::mysql51_server: Can't locate Cpanel/Class.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/Init/Factory.pm line 4.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Init/Factory.pm line 4.
Compilation failed in require at /usr/local/cpanel/Cpanel/Init.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Init.pm line 11.
Compilation failed in require at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql.pm line 11.
Compilation failed in require at (eval 17) line 3.
        ...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql51_server.pm line 8.
Compilation failed in require at (eval 16) line 3.
)
And if I try to install the missing perl modules, the script fails with the message

make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
 

nightaddix

Active Member
PartnerNOC
Jul 7, 2008
30
0
56
What does 'date' return on your server ? Also, you can try installing the module manually and running touch Makefile.PL prior to proceeding with the install.
 

Silent Ninja

Well-Known Member
Apr 18, 2006
196
0
166
Buenos Aires, Argentina
The date is configured properly, I've even installed NTP to check that out.

Code:
[email protected] [~]# date --utc
Mon Jun  6 21:39:37 UTC 2011
I don't know which modules to install, the script checkperlmodules and mysqlup are the ones that fail.

BTW: I've opened a ticket for this issue #1588513
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please post the results for this command:

Code:
awk '/VERSION_/{print FILENAME": "NR": "$0}' /usr/local/cpanel/scripts/updatenow.static
If there are no results, then updatenow.static is corrupted and would need to be grabbed from another machine:

Code:
mv /usr/local/cpanel/scripts/updatenow.static /usr/local/cpanel/scripts/updatenow.static.bak110725
cd /root
wget http://httpupdate.cpanel.net/cpanelsync/11.30.0.32/cpanel/scripts/updatenow.static.bz2
bunzip2 updatenow.static.bz2
cp -pv /root/updatenow.static /usr/local/cpanel/scripts/updatenow.static
chmod 755 /usr/local/cpanel/scripts/updatenow.static
After getting a sound copy at that location, recheck it shows a version:

Code:
awk '/VERSION_/{print FILENAME": "NR": "$0}' /usr/local/cpanel/scripts/updatenow.static
If it does, then resync the files:

Code:
/usr/local/cpanel/scripts/updatenow.static --sync
Finally, update cPanel again:

Code:
/scripts/upcp --force