Jonatan Quevedo

Registered
Apr 26, 2016
3
0
1
Cordoba - Argentina
cPanel Access Level
Root Administrator
[email protected] [~]# service cpanel restart

Code:
Stopping tailwatchd:  [16825] [2016-04-26 18:32:32 -0300] [] No PID in /var/run/                                                      tailwatchd.pid
                                                           [  OK  ]
Stopping cPanel services:  /usr/local/cpanel/etc/init/stopcpsrvd: error while lo                                                      ading shared libraries: /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_l                                                      ib/x86_64-linux-64int/auto/JSON/XS/XS.so: file too short
                                                           [FAILED]
Stopping cPanel dav services:  /usr/local/cpanel/etc/init/stopcpdavd: error whil                                                      e loading shared libraries: /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpan                                                      el_lib/x86_64-linux-64int/auto/JSON/XS/XS.so: file too short
                                                           [FAILED]
Stopping cPanel queue services:  /usr/local/cpanel/etc/init/stopqueueprocd: erro                                                      r while loading shared libraries: /usr/local/cpanel/3rdparty/perl/522/lib64/perl                                                      5/cpanel_lib/x86_64-linux-64int/auto/JSON/XS/XS.so: file too short
                                                           [FAILED]
Stopping cPanel brute force detector services:  /usr/local/cpanel/etc/init/stopc                                                      phulkd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/52                                                      2/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/JSON/XS/XS.so: file too short
                                                           [FAILED]
Stopping cPanel log services:                              [FAILED]

Stopping cPanel ssl services:  Waiting for (?^:^(?:stunnel$|stunnel-[0-9\.]+loca                                                      l)) to shutdown ... not running.
                                                           [  OK  ]
Starting cpanel:
Cpanel::Exception::ModuleLoadError/(XID 424ty5) The system failed to load the mo                                                      dule “Cpanel::JSON” because of an error: JSON/XS.pm did not return a true value                                                       at /usr/local/cpanel/Cpanel/JSON.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/JSON.pm line 11.
Compilation failed in require at (eval 6) line 1.
BEGIN failed--compilation aborted at (eval 6) line 1.

at /usr/local/cpanel/Cpanel/Exception.pm line 195.
        Cpanel::Exception::new("Cpanel::Exception::ModuleLoadError", HASH(0x2a7e                                                      538)) called at /usr/local/cpanel/Cpanel/Exception.pm line 75
        Cpanel::Exception::create("ModuleLoadError", HASH(0x2a7e538)) called at                                                       /usr/local/cpanel/Cpanel/LoadModule.pm line 75
        Cpanel::LoadModule::load_perl_module("Cpanel::JSON") called at /usr/loca                                                      l/cpanel/Cpanel/JSON/FailOK.pm line 43
        eval {...} called at /usr/local/cpanel/Cpanel/JSON/FailOK.pm line 40
        Cpanel::JSON::FailOK::LoadJSONModule() called at /usr/local/cpanel/Cpane                                                      l/Config/CpConfGuard.pm line 57
        Cpanel::Config::CpConfGuard::new("Cpanel::Config::CpConfGuard", "loadcpc                                                      onf", 1) called at /usr/local/cpanel/Cpanel/Config/LoadCpConf.pm line 14
        Cpanel::Config::LoadCpConf::loadcpconf() called at /usr/local/cpanel/etc                                                      /init/startup line 26
Waiting for cpaneld to shutdown ... not running.
Waiting for webmaild to shutdown ... not running.
/usr/local/cpanel/etc/init/stopcphulkd: error while loading shared libraries: /u                                                      sr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto                                                      /JSON/XS/XS.so: file too short
/usr/local/cpanel/etc/init/stopcpdavd: error while loading shared libraries: /us                                                      r/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/                                                      JSON/XS/XS.so: file too short
Waiting for cpdavd-ssl to shutdown ... not running.
Waiting for cpanellogd to shutdown ... not running.
Waiting for eximstats to shutdown ... not running.
mailmanctl: no process killed
Waiting for eximstats to shutdown ... not running.
/usr/local/cpanel/etc/init/stoptailwatchd: error while loading shared libraries:                                                       /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/a                                                      uto/JSON/XS/XS.so: file too short
/usr/local/cpanel/etc/init/stopqueueprocd: error while loading shared libraries:                                                       /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/a                                                      uto/JSON/XS/XS.so: file too short
/usr/local/cpanel/etc/init/stopp0f: error while loading shared libraries: /usr/l                                                      ocal/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/JSO                                                      N/XS/XS.so: file too short
[+] No running cPGreyList process found.
You may be running this update interactively from within WHM.
It is necessary we restart cpsrvd, but this will kill the session displaying upd                                                      ate progress.
Please see the logs in /var/cpanel/updatelogs/ for further information if the up                                                      date progress stops

==> SMTP Mail protection has been enabled.
All outbound SMTP connections will be redirected to localhost except:
        uid is root (ports: 25,465,587)
        uid is cpanel (ports: 25,465,587)
        gid is mail (ports: 25,465,587)
        gid is mailman (ports: 25,465,587)
/usr/local/cpanel/etc/init/startcpsrvd: error while loading shared libraries: /u                                                      sr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto                                                      /JSON/XS/XS.so: file too short
/usr/local/cpanel/etc/init/startqueueprocd: error while loading shared libraries                                                      : /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/                                                      auto/JSON/XS/XS.so: file too short
/usr/local/cpanel/scripts/restartsrv_dnsadmin: error while loading shared librar                                                      ies: /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64i                                                      nt/auto/JSON/XS/XS.so: file too short
/usr/local/cpanel/etc/init/starttailwatchd: error while loading shared libraries                                                      : /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/                                                      auto/JSON/XS/XS.so: file too short
/usr/local/cpanel/etc/init/startp0f: error while loading shared libraries: /usr/                                                      local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/JS                                                      ON/XS/XS.so: file too short
/usr/local/cpanel/etc/init/startcpgreylistd: error while loading shared librarie                                                      s: /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int                                                      /auto/JSON/XS/XS.so: file too short
/usr/local/cpanel/etc/init/startcpanel_php_fpm: error while loading shared libra                                                      ries: /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64                                                      int/auto/JSON/XS/XS.so: file too short
/usr/local/cpanel/etc/init/startcphulkd: error while loading shared libraries: /                                                      usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/aut                                                      o/JSON/XS/XS.so: file too short
/usr/local/cpanel/etc/init/startcpdavd: error while loading shared libraries: /u                                                      sr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto                                                      /JSON/XS/XS.so: file too short
/usr/local/cpanel/scripts/restartsrv_cpanellogd: error while loading shared libr                                                      aries: /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-6                                                      4int/auto/JSON/XS/XS.so: file too short
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Please post the output from the following commands:

Code:
cat /usr/local/cpanel/version
cat /etc/redhat-release
ls -l /usr/local/bin/perl /usr/bin/perl
/scripts/check_cpanel_rpms --fix
Thank you.
 

Jonatan Quevedo

Registered
Apr 26, 2016
3
0
1
Cordoba - Argentina
cPanel Access Level
Root Administrator
Thank you very much for your help.

Code:
[email protected] [~]# cat /usr/local/cpanel/version         
11.56.0.8
[email protected] [~]# cat /etc/redhat-release
CentOS release 6.7 (Final)
[email protected] [~]# ls -l /usr/local/bin/perl /usr/bin/perl
/bin/ls: cannot access /usr/local/bin/perl: No such file or directory
-rwxr-xr-x 2 root root 7184 Nov 10 09:06 /usr/bin/perl*
[email protected] [~]# /scripts/check_cpanel_rpms --fix
JSON/XS.pm did not return a true value at /usr/local/cpanel/Cpanel/JSON.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/JSON.pm line 11.
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/CachedDataStore.pm line 20.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 20.
Compilation failed in require at /usr/local/cpanel/Cpanel/Hooks.pm line 10.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Hooks.pm line 10.
Compilation failed in require at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 20.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 20.
Compilation failed in require at /scripts/check_cpanel_rpms line 25.
BEGIN failed--compilation aborted at /scripts/check_cpanel_rpms line 25.
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hello :),

Can you please let me know which kernel are you using ? I think your are using OVH grsecurity kernel. Can you please check your kernel version with "uname -ar" try to install CentOS kernel on your server.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
JSON/XS.pm did not return a true value at /usr/local/cpanel/Cpanel/JSON.pm line 11.
Please let us know if the following command completes successfully:

Code:
/scripts/perlinstaller --force JSON::XS
If so, try running "/scripts/upcp --force" again to determine if the issue persists.

Thank you.