0

每当我尝试运行脚本时: /usr/local/cpanel/script/fixwebalizer ,它都会给我以下错误。输入要修复 webalizer 的用户名?statxxxx

Log checker loaded ok..
==> cPanel Log Daemon version 25.0
Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.16: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/XSLoader.pm line 70.
at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBD/mysql.pm line 15
Compilation failed in require at /usr/local/cpanel/Cpanel/Logd.pm line 79.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Logd.pm line 79.
Compilation failed in require at /usr/local/cpanel/libexec/cpanellogd line 199.

如果有人知道如何解决它,非常感谢您的帮助。

提前致谢。

4

2 回答 2

0

您的服务器上的 perl 有问题。

按顺序尝试:

/scripts/checkperlmodules --full

如果不起作用:尝试从 layer1.cpanel.net 重新安装 Perl(获取perl588installer.tar.gz

于 2012-04-19T14:07:05.560 回答
0

强制重新安装 perl 模块。首次登录 perl shell

perl -MCPAN -e shell

强制安装以下模块。

force install DBI
force install DBD::mysql
于 2013-03-17T22:43:25.330 回答