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.

upcp generates some new errors..

Discussion in 'General Discussion' started by PPNSteve, Sep 25, 2010.

  1. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    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
     
    #1 PPNSteve, Sep 25, 2010
    Last edited: Sep 25, 2010
  2. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    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:

    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.
     
  4. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    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)....@209.85.80.214......connected......receiving...100%......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)....@209.85.80.214......connected......receiving...100%......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..
     
  5. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You are most welcome. Please let us know if it recurs or if you see any other unusual errors in the upcp runs.
     
  6. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    Will do.

    thanks again,
     
  7. rainboy

    rainboy Active Member

    Joined:
    Mar 2, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  8. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    IIRC there was a minor perl update a day or 2 before, then a WHM update right after.. thats when it triggered.
     
  9. rainboy

    rainboy Active Member

    Joined:
    Mar 2, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  10. face778c

    face778c Registered

    Joined:
    Oct 1, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Thank you.
     
Loading...

Share This Page