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.

WHM / Cpanel broken suddenly on its own

Discussion in 'General Discussion' started by lemonjuice, Dec 16, 2005.

  1. lemonjuice

    lemonjuice Registered

    Joined:
    Oct 20, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    I discovered today that when I tried to access WHM through 2087 or Cpanel through 2082, both showed blank pages (completely blank white pages) after authentication and logging in.

    I tried doing a /scripts/upcp and /scripts/upcp --force but nothing helped.

    At the end of upcp, these errors appear:

    Code:
    ==> Post Install Complete
    
    Broadcast message from root (Thu Dec 15 23:47:33 2005):
    
    cPanel Layer 2 Install Complete
    /usr/local/cpanel/whostmgr/bin/whostmgr2: error while loading shared libraries: /usr/local/cpanel/perl/Storable/Storable.so: cannot open shared object file: Error 20
    /usr/local/cpanel/bin/dcpumon: error while loading shared libraries: /usr/local/cpanel/perl/File/Glob/Glob.so: cannot open shared object file: Error 20
    /usr/local/cpanel/bin/scanfornewmail: error while loading shared libraries: /usr/local/cpanel/perl/File/Glob/Glob.so: cannot open shared object file: Error 20
    Scanning suexec_log.Done
    
    I'm clueless. Can anyone help?
     
  2. Izzee

    Izzee Well-Known Member

    Joined:
    Feb 6, 2004
    Messages:
    469
    Likes Received:
    0
    Trophy Points:
    16
    If you had no problems before today then might I suggest you do another
    /scripts/upcp --force

    to see if it errors the same.

    Some times a repeat kick in the groin helps. ;)

    Also try and locate the error files.
    On one of my servers it looks like this:

    #locate Storable.so
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Storable/Storable.so
    /usr/lib/perl5/5.8.4/i686-linux/auto/Storable/Storable.so
    /usr/local/cpanel/perl/Storable/Storable.so


    Do the same for Globe.so

    # locate Glob.so
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/File/Glob/Glob.so
    /usr/lib/perl5/5.8.4/i686-linux/auto/File/Glob/Glob.so
    /usr/local/cpanel/perl/File/Glob/Glob.so


    :)
     
  3. lemonjuice

    lemonjuice Registered

    Joined:
    Oct 20, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    When I did a locate for Storable.so and Glob.so, I found these:

    Code:
    /home/cpins/installd/perl587installer/perl-5.8.7/lib/auto/Storable/Storable.so
    /usr/lib/perl5/5.8.7/i686-linux/auto/Storable/Storable.so
    /usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/Storable/Storable.so
    Code:
    /home/cpins/installd/perl587installer/perl-5.8.7/lib/auto/File/Glob/Glob.so
    /usr/lib/perl5/5.8.7/i686-linux/auto/File/Glob/Glob.so
    /usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/File/Glob/Glob.so
    My cpanel ones apparently disappeared.

    Any suggestions? :confused:
     
  4. Izzee

    Izzee Well-Known Member

    Joined:
    Feb 6, 2004
    Messages:
    469
    Likes Received:
    0
    Trophy Points:
    16
    Try to copy each that is missing over to the cpanel directory.

    Code:
    cp /home/cpins/installd/perl587installer/perl-5.8.7/lib/auto/Storable/Storable.so /usr/local/cpanel/perl/Storable/Storable.so
    cp /home/cpins/installd/perl587installer/perl-5.8.7/lib/auto/File/Glob/Glob.so /usr/local/cpanel/perl/File/Glob/Glob.so
    Then /scripts/upcp --force again and see if that fixes it.
    :)
     
    #4 Izzee, Dec 16, 2005
    Last edited: Dec 16, 2005
  5. lemonjuice

    lemonjuice Registered

    Joined:
    Oct 20, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Did the above.

    The error loading messages are gone but WHM / CPanel still loads a blank white page.

    Code:
    Broadcast message from root (Sat Dec 17 07:53:40 2005):
    cPanel Layer 2 Install Complete
    Updating addon type:scripts addon:phpBB version:2.0.18-1.2.......Done
    Updating addon type:scripts addon:AdvancedGuestBook version:latest.......Done
    Scanning for new mail senders.....Done
    I suspect something is wrong with perl. But my sites perl scripts run ok. Unless WHM uses a different perl from the sites'?

    Anyone can help? :confused:
     
Loading...

Share This Page