error while loading shared libraries: liblzma.so.0

3dingbat

Registered
Nov 1, 2015
1
0
1
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.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
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.
 

PhilipUK

Registered
Aug 18, 2010
4
1
53
Hi
I'm having this identical issue on Amazon Linux - no output at all from running that command.
Thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
The workaround worked. However this is on a cPanel AMI, thus running 11.52.
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
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.