Al Duccino

Member
Feb 26, 2009
9
0
51
Hi,

First of all sorry about my bad English.
I'm trying to upgrade whm/cpanel with the command : /scripts/upcp --force

But I always an error, here is the log :
Code:
Can't locate Cpanel/Time/Local.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-t                                                hread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib                                                64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/c                                                panel/Cpanel/Logger.pm line 9.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Logger.pm line 9.
Compilation failed in require at /usr/local/cpanel/Cpanel/SafeDir/MK.pm line 4.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/SafeDir/MK.pm line                                                 4.
Compilation failed in require at /usr/local/cpanel/Cpanel/Update/Logger.pm line                                                 10.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Update/Logger.pm l                                                ine 10.
Compilation failed in require at /scripts/upcp line 37.
BEGIN failed--compilation aborted at /scripts/upcp line 37.
We determined that /scripts/upcp had compilation issues..
Trying to exec /usr/local/cpanel/scripts/upcp.static --force
[20120405.114229]   Detected cron=0 (Terminal detected)
--------------------------------------------------------------------------------                                                --------------------
=> Log opened from /usr/local/cpanel/scripts/upcp.static at Thu Apr  5 02:55:43 2012
[20120405.025543]   Detected cron=0 (Terminal detected)
=> Log closed Thu Apr  5 02:55:43 2012
[20120405.025543]   mtime on upcp is 1318661852 (Sat Oct 15 08:57:32 2011)
[20120405.025543] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1333587343.log --force` failed, exited with code 512
[20120405.025543] E Failed to send contact message
=> Log closed Thu Apr  5 02:55:43 2012
Any idea to solve this ? Thank you in advance for your help.
Best regards, Al Duccino.
 
Last edited:

LAZer

Well-Known Member
Jan 18, 2010
78
2
58
at net :D
hi i have faced the same problem after yesterdays upgrade :(
the csf page stoped working , but csf is working fine in the ssh .
the httpd.conf cannot be updated ,

ConfigServer Scripts Forum • View topic - Empty csf page in WHM after cPanel upgrade

Internal Server Error
500
No response from subprocess with exit signal: 2

i have no specific logs in /var/log/messages or /usr/local/apache/logs regarding csf or internal server errors or code 500.

and here is what i faced after updating httpd.conf
BEGIN failed--compilation aborted at /scripts/ensure_vhost_includes line 20.

Can't locate Net/LibIDN.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Encoder/Punycode.pm line 10.
Compilation failed in require at /usr/local/cpanel/Cpanel/DomainTools.pm line 13.

and here is the error i saw from cpanel update logs :
This module is required by cPanel, and the system may not function correctly until it is installed, and functional. Below is the results of the auto-install attempt:

Test Run
==============
Can't locate IO/Interactive/Tiny.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at - line 1.
BEGIN failed--compilation aborted at - line 1.


Installer Run
==============

any suggestions ?
 

LAZer

Well-Known Member
Jan 18, 2010
78
2
58
at net :D
hi , i force upgraded the cpanel again , and things are working fine now . don't know what had happened last night during that upgrades ...

/scripts/upcp -force
 

arly

Registered
Aug 17, 2012
2
0
1
cPanel Access Level
Root Administrator
I have the same issue. Cpanel login page is showing this error:

Internal Server Error
Can't use an undefined value as filehandle reference at /usr/local/cpanel/Cpanel/LegacyLogin.pm line 148.

upcp does not work.

cpanel restart fails with below error:

Code:
Starting tailwatchd: Can't locate Cpanel/AcctUtils/DomainOwnerCache.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/ApacheConf.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/ApacheConf.pm line 14.
Compilation failed in require at /usr/local/cpanel/Cpanel/HttpUtils/SSL.pm line 10.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HttpUtils/SSL.pm line 10.
Compilation failed in require at /usr/local/cpanel/Cpanel/HttpUtils.pm line 15.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HttpUtils.pm line 15.
Compilation failed in require at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 13.
BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 13.
Compilation failed in require at /usr/local/cpanel/bin/fetch_cpconf_value line 19.
Can't locate Cpanel/AcctUtils/DomainOwnerCache.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/ApacheConf.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/ApacheConf.pm line 14.
Compilation failed in require at /usr/local/cpanel/Cpanel/HttpUtils/SSL.pm line 10.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HttpUtils/SSL.pm line 10.
Compilation failed in require at /usr/local/cpanel/Cpanel/HttpUtils.pm line 15.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HttpUtils.pm line 15.
Compilation failed in require at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 13.
BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 13.
Compilation failed in require at /usr/local/cpanel/bin/fetch_cpconf_value line 19.
Can't locate Cpanel/AcctUtils/DomainOwnerCache.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/ApacheConf.pm line 14.
There are also some other errors related to missing perl modules in /usr/local/cpanel/Cpanel folder.

I do not want and do not actually have opportunity to reinstall cpanel. Can you please advise is it safe Simply to rename current "Cpanel" folder on my server and copy the same folder from server with working cpanel.

Thanks.
 

arly

Registered
Aug 17, 2012
2
0
1
cPanel Access Level
Root Administrator
You should try this instead:
/scripts/upcp -force
This does not work for me
Code:
 ~]# /scripts/upcp -force
[20120821.110656]   Detected cron=0 (Terminal detected)
----------------------------------------------------------------------------------------------------
=> Log opened from /scripts/upcp at Tue Aug 21 11:06:56 2012
[20120821.110656]   Detected cron=0 (Terminal detected)
=> Log closed Tue Aug 21 11:06:56 2012
[20120821.110656]   mtime on upcp is 1338885606 (Tue Jun  5 04:40:06 2012)
[20120821.110656] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1345561616.log` failed, exited with code 512
=> Log closed Tue Aug 21 11:06:56 2012