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.

perl script does not working in centos server

Discussion in 'General Discussion' started by laks, Dec 13, 2013.

  1. laks

    laks Member

    Joined:
    Dec 14, 2011
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    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.
     
  3. laks

    laks Member

    Joined:
    Dec 14, 2011
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator

    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,
     
    #3 laks, Dec 13, 2013
    Last edited: Dec 13, 2013
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    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.
     
  5. laks

    laks Member

    Joined:
    Dec 14, 2011
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator

    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,
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page