perl script does not working in centos server

laks

Member
Dec 14, 2011
12
0
51
cPanel Access Level
Root Administrator
Hi,

I have installed the CSF firewall in centos server and configured it, when i was going to restart the csf by command
csf -r or /etc/init.d/csf restart showing below error.

"/usr/local/cpanel/3rdparty/bin/perl: error while loading shared libraries: libperl.so: wrong ELF class: ELFCLASS64"
Also tried to reinstalled perl using whm scripts fixperl, fixperlscript, perlinstaller, checkperlmodules nothing to be done.

WHM 11.34.2
CENTOS 6.2
perl, v5.10.1

I want secure my server so kindly give me solution
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

I can see you are using cPanel 11.34.2 on your server so first I will suggest you please update your cPanel to latest version and after that try to restart OR reinstall CSF firewall on your server.


Thank you.
 

laks

Member
Dec 14, 2011
12
0
51
cPanel Access Level
Root Administrator
Hello,

I can see you are using cPanel 11.34.2 on your server so first I will suggest you please update your cPanel to latest version and after that try to restart OR reinstall CSF firewall on your server.


Thank you.

Hi,

Thank you for fast reply, sure but if the latest version has to be upgrade we are facing some php function issue in server so kindly give me any alternative solutions.

Thank you,
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

It looks like this may be the case of a 32-bit kernel running with a 64-bit user environment. Please let us know the output of the following commands:

Code:
uname -a
file /usr/local/cpanel/3rdparty/bin/perl
Thank you.
 

laks

Member
Dec 14, 2011
12
0
51
cPanel Access Level
Root Administrator
Hello :)

It looks like this may be the case of a 32-bit kernel running with a 64-bit user environment. Please let us know the output of the following commands:

Code:
uname -a
file /usr/local/cpanel/3rdparty/bin/perl
Thank you.

Hi,

Thank you Michael, the command has been executed which is you given to me,

Code:
uname -a
Linux  2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
and
Code:
file /usr/local/cpanel/3rdparty/bin/perl
/usr/local/cpanel/3rdparty/bin/perl: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
Thank you,
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Is this a VPS server? If so, please contact your VPS hosting provider to alert them of this issue. Provide them with the output of the commands that I provided to you. They should be able to address the issue accordingly, or provide you with the steps to take to resolve the issue.

Thank you.