upcp generates some new errors..

PPNSteve

Well-Known Member
Mar 13, 2003
413
3
168
Somewhere in Ilex Forest
cPanel Access Level
Root Administrator
Twitter
last few runs of cpup has been generating new errors in the ftp update and IMAP server check:

Code:
Updating FTP Server...isweak is only available with the XS version of Scalar::Util at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Cpanel/Class/Meta/Class.pm line 6
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Cpanel/Class/Meta/Class.pm line 6.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Cpanel/Class.pm line 8.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Cpanel/Class.pm line 8.
Compilation failed in require at /scripts/cPScript/Init/Factory.pm line 4.
BEGIN failed--compilation aborted at /scripts/cPScript/Init/Factory.pm line 4.
Compilation failed in require at /scripts/cPScript/Init.pm line 11.
BEGIN failed--compilation aborted at /scripts/cPScript/Init.pm line 11.
Compilation failed in require at /scripts/ftpup line 22.
BEGIN failed--compilation aborted at /scripts/ftpup line 22.
...Done

Updating IMAP Server...isweak is only available with the XS version of Scalar::Util at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Cpanel/Class/Meta/Class.pm line 6
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Cpanel/Class/Meta/Class.pm line 6.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Cpanel/Class.pm line 8.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Cpanel/Class.pm line 8.
Compilation failed in require at /scripts/cPScript/Init/Factory.pm line 4.
BEGIN failed--compilation aborted at /scripts/cPScript/Init/Factory.pm line 4.
Compilation failed in require at /scripts/cPScript/Init.pm line 11.
BEGIN failed--compilation aborted at /scripts/cPScript/Init.pm line 11.
Compilation failed in require at /scripts/dovecotup line 20.
BEGIN failed--compilation aborted at /scripts/dovecotup line 20.
...Done
WHM 11.26.14
REDHAT Enterprise 5.5 i686 standard 32bit

Just want to know how to resolve it..

thanks
 
Last edited:

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
This page:

Scalar::Util - search.cpan.org

hints that the Perl module Scalar::Util may have been installed when the C compiler was not available or not working for some reason. I base this on the following:

Scalar::Util contains both perl and C implementations of many of its functions so that those without access to a C compiler may still use it. However some of the functions are only available when a C compiler was available to compile the XS version of the extension.

At present that list is: weaken, isweak, dualvar, isvstring, set_prototype
Try reinstalling Scalar::Util with /scripts/checkperlmodules:

Code:
# /scripts/checkperlmodules --force
Lastly, run checkperlmodules:

Code:
# /scripts/checkperlmodules --force
If, after doing this, the error persists, I recommend submitting a ticket so that we may investigate the issue directly.
 

PPNSteve

Well-Known Member
Mar 13, 2003
413
3
168
Somewhere in Ilex Forest
cPanel Access Level
Root Administrator
Twitter
ran it twice.. it first reported:
Code:
perlmod--Install done
Using fast module check.....checked 140 modules in 2 second(s)
Tested 140, 140 ok, 0 failed.
Then the second time reports:
Code:
perlmod--Install done
Using fast module check.....checked 121 modules in 2 second(s)
Tested 122, 122 ok, 0 failed.
Will run upcp now to see what happens..

Ok, looks like that forced reinstall did fix it:
Code:
Updating FTP Server...Ftp Setup Script Version 6.1
Fetching version information from http://httpupdate.cpanel.net/ftpinstall/version (CURRENT)....Fetching http://httpupdate.cpanel.net/ftpinstall/version (0)[email protected]%......Done
Done
This is the pure-ftpd 1.0.27 installer release number 1.tls for platform redhat AS-5.5
pure-ftpd is up to date.  Use ftpup --force to force a reinstall
...Done


Updating IMAP Server...Dovecot Setup Script Version 1.0
Fetching version information from http://httpupdate.cpanel.net/dovecotinstall/version (CURRENT)....Fetching http://httpupdate.cpanel.net/dovecotinstall/version (0)[email protected]%......Done
Done
This is the dovecot 1.2.11 installer release number 0cp for platform redhat AS-5.5
dovecot is up to date.  Use dovecotup --force to force a reinstall
Install Complete
...Done
thanks so much for the assist..
 

rainboy

Active Member
Mar 2, 2004
29
0
151
Eindhoven
Got the same error on a large amount of machines as well. Didnt try if the force does work though, but there seems to be something wrong in general.
 

rainboy

Active Member
Mar 2, 2004
29
0
151
Eindhoven
Tested the above on 1 of the failed machines, and it did work; now working on the others. Glad this at least solves the issue.