Skip to main content

Error while loading shared libraries

Comments

5 comments

  • 24x7server
    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.
    0
  • koempeni
    I've tried to update before, but the problem remains the same 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
    0
  • cPanelLauren
    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!
    0
  • Luana Premoli
    Hi, What was the correction for this case? I have the error: 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
    0
  • cPanelLauren
    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!
    0

Please sign in to leave a comment.