The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Error restarting cPanel

Discussion in 'General Discussion' started by Jonatan Quevedo, Apr 26, 2016.

  1. Jonatan Quevedo

    Jonatan Quevedo Registered

    Joined:
    Apr 26, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Cordoba - Argentina
    cPanel Access Level:
    Root Administrator
    root@backup [~]# 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
    
    
     
    #1 Jonatan Quevedo, Apr 26, 2016
    Last edited by a moderator: Apr 26, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. Jonatan Quevedo

    Jonatan Quevedo Registered

    Joined:
    Apr 26, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Cordoba - Argentina
    cPanel Access Level:
    Root Administrator
    Thank you very much for your help.

    Code:
    root@backup [~]# cat /usr/local/cpanel/version         
    11.56.0.8
    root@backup [~]# cat /etc/redhat-release
    CentOS release 6.7 (Final)
    root@backup [~]# 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*
    root@backup [~]# /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.
    
     
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,145
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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.
     
  5. Jonatan Quevedo

    Jonatan Quevedo Registered

    Joined:
    Apr 26, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Cordoba - Argentina
    cPanel Access Level:
    Root Administrator
    Code:
    Linux backup.shockmedia.com.ar 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
    
    :(
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page