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 while loading shared libraries: liblzma.so.0

Discussion in 'General Discussion' started by 3dingbat, Nov 1, 2015.

  1. 3dingbat

    3dingbat Registered

    Joined:
    Nov 1, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Ive launched many times a new instance on amazon linux. I dont know whats happening, if it is permission ou miss configuration. I tried everything i could find here. This errer happens while i try to access many services in cpanel.
    Code:
    /usr/local/cpanel/whostmgr/bin/whostmgr2: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory
    
    [2015-11-01 13:26:30 +0000] info [cpsrvd] Internal Server Error: "GET /cpsess3801579446/scripts2/tweaksettings HTTP/1.1" 500 No response from subprocess (whostmgr (whostmgr2)): The subprocess reported error 127 when it ended.
    
    
     
    #1 3dingbat, Nov 1, 2015
    Last edited by a moderator: Nov 1, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please check to see if you notice any messages when running the following command:

    Code:
    /usr/local/cpanel/scripts/check_cpanel_rpms
    Thank you.
     
  3. PhilipUK

    PhilipUK Registered

    Joined:
    Aug 18, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi
    I'm having this identical issue on Amazon Linux - no output at all from running that command.
    Thanks.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please keep in mind that Amazon Linux is only supported in cPanel version 11.52 and newer. Internal case CPANEL-2345 is open to address an issue with the liblzma package on Amazon Linux systems. In the meantime, try running the following command as a temporary workaround:

    Code:
    yum install xz-compat-libs-5.1.2-8alpha.11.amzn1.x86_64
    Thank you.
     
  5. a.post

    a.post Member

    Joined:
    Mar 23, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    Same issue here, only I get this error from the upcp output. I checked, liblzma is already present on the system.

    The workaround worked. However this is on a cPanel AMI, thus running 11.52.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Amazon Linux is only supported in cPanel versions 11.52 or newer. Please ensure you use the AMI provided by cPanel to avoid this issue in the future (found under Community AMIs).

    Thank you.
     
  7. a.post

    a.post Member

    Joined:
    Mar 23, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    Michael, as I stated... I am using the cPanel AMI (ami-61e3b704), which inadvertently implies it is running 11.52+.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Internal case CPANEL-2345 will address the issue that's been reported. This case should address both the issue on cPanel updates, in addition to new installations.

    Thank you.
     
Loading...

Share This Page