Can't locate JSON/XS.pm and DBD/SQLite.pm

iso99

Well-Known Member
Jan 5, 2011
112
7
68
cPanel Access Level
Root Administrator
Seems like WHM 70 was installed earlier this morning, but I got a few errors, some of which I fixed but these two remains:

/usr/local/cpanel/scripts/eximstats_spam_check 2>&1

Code:
Can't locate DBD/SQLite.pm in @INC (you may need to install the DBD::SQLite module) (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0 /opt/cpanel/perl5/526/site_lib/x86_64-linux-64int /opt/cpanel/perl5/526/site_lib) at /usr/local/cpanel/scripts/eximstats_spam_check line 15.
BEGIN failed--compilation aborted at /usr/local/cpanel/scripts/eximstats_spam_check line 15.
/usr/bin/test -e /etc/cpanel-dovecot-solrdisable || /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit

Code:
Can't locate JSON/XS.pm in @INC (you may need to install the JSON::XS module) (@INC contains: /var/cpanel/perl /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0 /opt/cpanel/perl5/526/site_lib/x86_64-linux-64int /opt/cpanel/perl5/526/site_lib) at /usr/local/cpanel/Cpanel/JSON.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/JSON.pm line 12.
Compilation failed in require at /usr/local/cpanel/Cpanel/AdminBin/Serializer.pm line 9.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/AdminBin/Serializer.pm line 9.
Compilation failed in require at /usr/local/cpanel/Cpanel/PublicSuffix.pm line 13.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/PublicSuffix.pm line 13.
Compilation failed in require at /usr/local/cpanel/Cpanel/HTTP/Tiny/FastSSLVerify.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HTTP/Tiny/FastSSLVerify.pm line 11.
Compilation failed in require at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0/parent.pm line 16.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HTTP/Client.pm line 63.
Compilation failed in require at /var/cpanel/perl/Cpanel/Dovecot/Solr/Utils.pm line 13.
BEGIN failed--compilation aborted at /var/cpanel/perl/Cpanel/Dovecot/Solr/Utils.pm line 13.
Compilation failed in require at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit line 31.
BEGIN failed--compilation aborted at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit line 31.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
Hello @iso99,

It looks like your system is missing some required Perl modules. Can you open a support ticket so we can take a closer look and determine why those Perl modules are missing, and install them if necessary? You can post the ticket number here and I'll link this forums thread to the ticket.

Thank you.