WHM / Cpanel broken suddenly on its own

lemonjuice

Registered
Oct 20, 2004
3
0
151
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?
 

Izzee

Well-Known Member
Feb 6, 2004
469
0
166
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


:)
 

lemonjuice

Registered
Oct 20, 2004
3
0
151
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:
 

Izzee

Well-Known Member
Feb 6, 2004
469
0
166
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.
:)
 
Last edited:

lemonjuice

Registered
Oct 20, 2004
3
0
151
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: