пятница, 1 июля 2011 г.

The MySQL® server is currently offline

The MySQL® server is currently offline




There is a missing Perl module on this server and is failing due to
as: error while loading shared libraries: libbfd-2.17.50.0.6-14.el5.so: cannot open shared object file: No such file or directory
CDB_File.xs: In function �XS_CDB_File__Maker_finish’:
This is due to a system RPM called binutils. This may need to be reinstalled.


In /usr/local/cpanel/logs/error_log:

Can't locate CDB_File.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/Locale/Utils.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 12.
Compilation failed in require at /usr/local/cpanel/Cpanel/Locale.pm line 17.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Locale.pm line 17.



FIXING:


Reinstall binutils-2.17.50.0.6-14.el5 and then try running and then 

/scripts/perlinstaller --force CDB_file
tp install the missing Perl module and if that works then proceed with the following
/scripts/mysqlup --force
and also locales need to be built on this server with
/usr/local/cpanel/bin/build_locale_databases

/scripts/checkperlmodules --full --force