Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Error while loading shared libraries

Discussion in 'General Discussion' started by koempeni, May 11, 2018.

  1. koempeni

    koempeni Registered

    Joined:
    May 11, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    please cont u help me about this issue.

    /usr/local/cpanel/cpanel -S
    /usr/local/cpanel/cpanel: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/JSON/XS/XS.so: cannot open shared object file: No such file or directory

    Code:
    /etc/redhat-release:CloudLinux Server release 6.9 (Igor Volk)
    /usr/local/cpanel/version:11.70.0.34
    /var/cpanel/envtype:vmware
    CPANEL=release
    Code:
    root@host-y [~]# service cpanel start
    Starting cpanel:
    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: /                                                                                         usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/au                                                                                         to/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such file or                                                                                          directory
    /usr/local/cpanel/etc/init/stopcpdavd: error while loading shared libraries: /u                                                                                         sr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/aut                                                                                         o/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such file or                                                                                          directory
    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/526/lib64/perl5/cpanel_lib/x86_64-linux-64int                                                                                         /auto/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such file                                                                                          or directory
    /usr/local/cpanel/etc/init/stopqueueprocd: error while loading shared libraries                                                                                         : /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int                                                                                         /auto/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such file                                                                                          or directory
    /usr/local/cpanel/etc/init/stopp0f: error while loading shared libraries: /usr/                                                                                         local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/P                                                                                         roc/FastSpawn/FastSpawn.so: cannot open shared object file: No such file or dir                                                                                         ectory
    Can't locate Getopt/Param/Tiny.pm in @INC (you may need to install the Getopt::                                                                                         Param::Tiny module) (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdpart                                                                                         y/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/perl                                                                                         5/5.26.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.2                                                                                         6.0 /opt/cpanel/perl5/526/site_lib/x86_64-linux-64int /opt/cpanel/perl5/526/sit                                                                                         e_lib) at /usr/local/cpanel/cpgreylistd.pl line 16.
    BEGIN failed--compilation aborted at /usr/local/cpanel/cpgreylistd.pl line 16.
    Waiting for cpanalyticsd to shutdown ... not running.
    You may be running this update interactively from within WHM.
    It is necessary we restart cpsrvd, but this will kill the session displaying up                                                                                         date progress.
    Please see the logs in /var/cpanel/updatelogs/ for further information if the u                                                                                         pdate 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: /                                                                                         usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/au                                                                                         to/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such file or                                                                                          directory
    /usr/local/cpanel/etc/init/startqueueprocd: error while loading shared librarie                                                                                         s: /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64in                                                                                         t/auto/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such fil                                                                                         e or directory
    /usr/local/cpanel/scripts/restartsrv_dnsadmin: error while loading shared libra                                                                                         ries: /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-6                                                                                         4int/auto/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such                                                                                          file or directory
    /usr/local/cpanel/etc/init/starttailwatchd: error while loading shared librarie                                                                                         s: /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64in                                                                                         t/auto/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such fil                                                                                         e or directory
    /usr/local/cpanel/etc/init/startcpgreylistd: error while loading shared librari                                                                                         es: /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64i                                                                                         nt/auto/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such fi                                                                                         le or directory
    /usr/local/cpanel/etc/init/startcpanel_php_fpm: error while loading shared libr                                                                                         aries: /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-                                                                                         64int/auto/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such                                                                                          file or directory
    /usr/local/cpanel/etc/init/startcphulkd: error while loading shared libraries:                                                                                          /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/a                                                                                         uto/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such file o                                                                                         r directory
    /usr/local/cpanel/etc/init/startcpdavd: error while loading shared libraries: /                                                                                         usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/au                                                                                         to/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such file or                                                                                          directory
    /usr/local/cpanel/etc/init/startcpanalyticsd: error while loading shared librar                                                                                         ies: /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64                                                                                         int/auto/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No such f                                                                                         ile or directory
    /usr/local/cpanel/scripts/restartsrv_cpanellogd: error while loading shared lib                                                                                         raries: /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux                                                                                         -64int/auto/Proc/FastSpawn/FastSpawn.so: cannot open shared object file: No suc                                                                                         h file or directory
     
    #1 koempeni, May 11, 2018
    Last edited by a moderator: May 11, 2018
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Can you try updating the cPanel forcefully. Use the below command:
    # /scripts/upcp --force

    Let us know here if you are getting issue with it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. koempeni

    koempeni Registered

    Joined:
    May 11, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    I've tried to update before, but the problem remains the same

    Code:
    root@host-y [~]# /scripts/upcp --force
    We determined that /scripts/upcp had compilation issues..
    Trying to exec /scripts/upcp.static --force
    Name "Cpanel::DIp::MainIP::clear_configured_ips_cache" used only once: possibletypo at /scripts/upcp.static line 13419.
    Name "Cpanel::Config::LoadCpUserFile::has_cpuser_file" used only once: possibletypo at /scripts/upcp.static line 14373.
    Name "Cpanel::Config::LoadUserDomains::counttrueuserdomains" used only once: posible typo at /scripts/upcp.static line 6381.
    Name "Cpanel::appname" used only once: possible typo at /scripts/upcp.static lie 18629.
    JSON::XS is not available (attempting to ignore). at /scripts/upcp.static line 582.
    YAML::Syck is not available (attempting to ignore). at /scripts/upcp.static lin 16660.
    [2018-05-11 12:01:28 +0700]   Checking that the RPM DB is OK...
    [2018-05-11 12:01:29 +0700]   glibc-2.12-1.209.el6_9.2.cloudlinux.x86_64
    [2018-05-11 12:01:29 +0700]   glibc-2.12-1.209.el6_9.2.cloudlinux.i686
    [2018-05-11 12:01:29 +0700]   OK: RPM DB is responding to queries
    [2018-05-11 12:01:29 +0700]   Testing if rpm_is_working RPM is installed
    [2018-05-11 12:01:29 +0700]   package rpm_is_working is not installed
    [2018-05-11 12:01:29 +0700]   Testing if it's possible to install a simple RPM
    [2018-05-11 12:01:36 +0700]   Preparing...                #################################################
    [2018-05-11 12:01:37 +0700]   rpm_is_working              #################################################
    ---------------------------------------------------------------------------------------------------
    => Log opened from /scripts/upcp.static (8941) at Fri May 11 12:01:28 2018
    [2018-05-11 12:01:28 +0700]   Checking that the RPM DB is OK...
    [2018-05-11 12:01:29 +0700]   glibc-2.12-1.209.el6_9.2.cloudlinux.x86_64
    [2018-05-11 12:01:29 +0700]   glibc-2.12-1.209.el6_9.2.cloudlinux.i686
    [2018-05-11 12:01:29 +0700]   OK: RPM DB is responding to queries
    [2018-05-11 12:01:29 +0700]   Testing if rpm_is_working RPM is installed
    [2018-05-11 12:01:29 +0700]   package rpm_is_working is not installed
    [2018-05-11 12:01:29 +0700]   Testing if it's possible to install a simple RPM
    [2018-05-11 12:01:36 +0700]   Preparing...                #################################################
    [2018-05-11 12:01:37 +0700]   rpm_is_working              #################################################
    [2018-05-11 12:01:38 +0700]   Detected cron=0 (--force passed on command line)
    [2018-05-11 12:01:38 +0700]   Detected cron=0 (--force passed on command line)
    [2018-05-11 12:01:38 +0700]   1% complete
    [2018-05-11 12:01:38 +0700]   Running /usr/local/cpanel/scripts/preupcp
    [2018-05-11 12:01:38 +0700]   Running Standardized hooks
    [2018-05-11 12:01:38 +0700]   2% complete
    [2018-05-11 12:01:38 +0700]   mtime on upcp is 1525885286 (Thu May 10 00:01:26 018)
    ---------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow.static (8966) at Fri May11 12:01:41 2018
    [2018-05-11 12:01:41 +0700]   Detected version '11.70.0.32' from version file.
    [2018-05-11 12:01:41 +0700]   Running version '11.70.0.32' of updatenow.
    [2018-05-11 12:01:41 +0700]   --force passed on command line. Upgrade will disrgard update config settings.
    [2018-05-11 12:01:42 +0700]   Retrieved public key from vendor: cpanel, categor: release, url: https://securedownloads.cpanel.net/cPanelPublicKey.asc
    [2018-05-11 12:01:43 +0700]   Retrieved public key from vendor: cpanel, categor: development, url: https://securedownloads.cpanel.net/cPanelDevelopmentKey.asc
    [2018-05-11 12:01:43 +0700]   Falling back to traditional TIERS version file
    [2018-05-11 12:01:43 +0700]   Using mirror '208.43.129.162' for host 'httpupdat.cpanel.net'.
    [2018-05-11 12:01:57 +0700]   Using mirror '43.245.185.246' for host 'httpupdat.cpanel.net'.
    [2018-05-11 12:01:57 +0700]   Successfully verified signature for cpanel (key tpes: release).
    [2018-05-11 12:01:57 +0700]   Target version set to '11.70.0.34'
    [2018-05-11 12:01:57 +0700]   Switching to 11.70.0.34 to determine if we can rech that version without failure.
    [2018-05-11 12:01:58 +0700]   Retrieving and staging /cpanelsync/11.70.0.34/cpael/scripts/updatenow.static.bz2
    [2018-05-11 12:01:58 +0700]   Using mirror '43.245.185.246' for host 'httpupdat.cpanel.net'.
    [2018-05-11 12:01:58 +0700]   Successfully verified signature for cpanel (key tpes: release).
    [2018-05-11 12:01:58 +0700]   Set permissions on /usr/local/cpanel/scripts/updaenow.static-cpanelsync to 0700
    [2018-05-11 12:01:58 +0700]   Become an updatenow.static for version: 11.70.0.3
    => Log closed Fri May 11 12:01:58 2018
    ---------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow.static-cpanelsync (8966)at Fri May 11 12:01:59 2018
    [2018-05-11 12:01:59 +0700]   Detected version '11.70.0.32' from version file.
    [2018-05-11 12:01:59 +0700]   Running version '11.70.0.34' of updatenow.
    [2018-05-11 12:01:59 +0700]   --force passed on command line. Upgrade will disrgard update config settings.
    [2018-05-11 12:01:59 +0700]   Falling back to traditional TIERS version file
    [2018-05-11 12:01:59 +0700]   Using mirror '43.245.185.246' for host 'httpupdat.cpanel.net'.
    [2018-05-11 12:01:59 +0700]   Successfully verified signature for cpanel (key tpes: release).
    [2018-05-11 12:01:59 +0700]   Target version set to '11.70.0.34'
    [2018-05-11 12:01:59 +0700]   Checking license
    [2018-05-11 12:02:00 +0700]   License file check complete
    [2018-05-11 12:02:00 +0700]   Checking that the RPM DB is OK...
    [2018-05-11 12:02:00 +0700]   glibc-2.12-1.209.el6_9.2.cloudlinux.x86_64
    [2018-05-11 12:02:00 +0700]   glibc-2.12-1.209.el6_9.2.cloudlinux.i686
    [2018-05-11 12:02:00 +0700]   OK: RPM DB is responding to queries
    [2018-05-11 12:02:00 +0700]   Testing if rpm_is_working RPM is installed
    [2018-05-11 12:02:00 +0700]   package rpm_is_working is not installed
    [2018-05-11 12:02:00 +0700]   Testing if it's possible to install a simple RPM
    [2018-05-11 12:02:00 +0700]   Preparing...                #################################################
    [2018-05-11 12:02:00 +0700]   rpm_is_working              #################################################
    [2018-05-11 12:02:01 +0700] W The script '/usr/local/cpanel/scripts/transfer_inprogress' failed to check for active transfers due to an error: Can't locate JSN/XS.pm in @INC (you may need to install the JSON::XS module) (@INC contains: /sr/local/cpanel /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_4-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib /usr/lcal/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0/x86_64-linux-64int /usr/local/canel/3rdparty/perl/526/lib64/perl5/5.26.0 /opt/cpanel/perl5/526/site_lib/x86_64linux-64int /opt/cpanel/perl5/526/site_lib) at /usr/local/cpanel/Cpanel/JSON.pmline 12.
    [2018-05-11 12:02:01 +0700] BEGIN failed--compilation aborted at /usr/local/cpael/Cpanel/JSON.pm line 12.
    [2018-05-11 12:02:01 +0700] Compilation failed in require at /usr/local/cpanel/cripts/transfer_in_progress line 32.
    [2018-05-11 12:02:01 +0700] BEGIN failed--compilation aborted at /usr/local/cpael/scripts/transfer_in_progress line 32.
    [2018-05-11 12:02:01 +0700]   Switching to version '11.70.0.34' of updatenow toperform sync.
    [2018-05-11 12:02:01 +0700]   checkyum version 22.3
    [2018-05-11 12:02:51 +0700]   All Needed RPMS are installed.
    [2018-05-11 12:02:51 +0700]   Staging 11.70.0.34 cpanelsync files prior to updaing /usr/local/cpanel
    [2018-05-11 12:02:51 +0700]   Staging paper_lantern theme changes
    [2018-05-11 12:02:51 +0700]   Retrieving and staging /cpanelsync/11.70.0.34/papr_lantern/.cpanelsync.bz2
    [2018-05-11 12:02:51 +0700]   Using mirror '43.245.185.246' for host 'httpupdat.cpanel.net'.
    [2018-05-11 12:02:51 +0700]   Successfully verified signature for cpanel (key tpes: release).
    [2018-05-11 12:02:51 +0700]   Maximum sync children set to 1 based on 6505M avalable memory.
    [2018-05-11 12:02:51 +0700]   Staging files for paper_lantern
    [2018-05-11 12:03:50 +0700]   Child: 1: Stage File: /var/tmp/8966.ANEL_SCRIPTS_PDATENOW_STATIC_CPANELSYNC__.12adc035.tmp
    [2018-05-11 12:03:50 +0700]   Child 9794 created to stage files.
    [2018-05-11 12:03:50 +0700]   Retrieving and staging /cpanelsync/11.70.0.34/papr_lantern/mail/lists.html.tt.xz
    [2018-05-11 12:03:50 +0700]   Using mirror '43.245.185.246' for host 'httpupdat.cpanel.net'.
    => Log closed Fri May 11 12:03:50 2018
    [2018-05-11 12:03:50 +0700]   Sync child 9794 exited cleanly.
    [2018-05-11 12:03:50 +0700]   Staging cpanel changes
    [2018-05-11 12:03:50 +0700]   Retrieving and staging /cpanelsync/11.70.0.34/binries/linux-c6-x86_64/.cpanelsync.bz2
    [2018-05-11 12:03:50 +0700]   Using mirror '43.245.185.246' for host 'httpupdat.cpanel.net'.
    [2018-05-11 12:03:50 +0700]   Successfully verified signature for cpanel (key tpes: release).
    [2018-05-11 12:03:50 +0700]   Retrieving and staging /cpanelsync/11.70.0.34/cpael/.cpanelsync.bz2
    [2018-05-11 12:03:51 +0700]   Successfully verified signature for cpanel (key tpes: release).
    [2018-05-11 12:03:51 +0700]   Maximum sync children set to 1 based on 6489M avalable memory.
    [2018-05-11 12:03:51 +0700]   Staging files for binaries/linux-c6-x86_64
    [2018-05-11 12:05:32 +0700]   Staging files for cpanel
    
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,501
    Likes Received:
    250
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @koempeni

    Would it be possible for you to open a ticket using the link in my signature? Once opened please update this thread with the Ticket ID so we can provide more information here once the issue is resolved.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Luana Premoli

    Luana Premoli Member

    Joined:
    Oct 3, 2016
    Messages:
    16
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    São Paulo/Brazil
    cPanel Access Level:
    Root Administrator
    Hi,

    What was the correction for this case? I have the error:

    Code:
    root@ns1.portal [~]# whmapi1 create_user_session user=root service=whostmgrd
    whmapi1: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/JSON/XS/XS.so: cannot open shared object file: No such file or directory
    root@ns1.portal [~]#
    
    Can I just copy from another server?

    Already executed:

    /scripts/upcp --force
    /scripts/check_cpanel_rpms

    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,501
    Likes Received:
    250
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Luana Premoli

    Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice