Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

SOLVED Cannot Start due to Perl Errors

Discussion in 'CloudLinux' started by autolux, Mar 20, 2017.

  1. autolux

    autolux Member

    Joined:
    Mar 11, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    Ran updates on my cloudlinux cpanel server earlier today and currently cant start cpanel. getting following error output:

    Code:
    # service cpanel start
    Starting cpanel:
    Waiting for cpaneld to shutdown ... not running.
    Waiting for webmaild to shutdown ... not running.
    /usr/local/cpanel/etc/init/stopcphulkd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/etc/init/stopcpdavd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    Waiting for cpdavd-ssl to shutdown ... not running.
    Waiting for cpanellogd to shutdown ... not running.
    Waiting for eximstats to shutdown ... not running.
    mailmanctl: no process killed
    Waiting for eximstats to shutdown ... not running.
    /usr/local/cpanel/etc/init/stoptailwatchd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/etc/init/stopqueueprocd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/etc/init/stopp0f: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    [+] No running cPGreyList process found.
    You may be running this update interactively from within WHM.
    It is necessary we restart cpsrvd, but this will kill the session displaying update progress.
    Please see the logs in /var/cpanel/updatelogs/ for further information if the update progress stops
    
    /usr/local/cpanel/etc/init/startcpsrvd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/etc/init/startqueueprocd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/scripts/restartsrv_dnsadmin: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/etc/init/starttailwatchd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/etc/init/startp0f: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/etc/init/startcpgreylistd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/etc/init/startcpanel_php_fpm: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/etc/init/startcphulkd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/etc/init/startcpdavd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    /usr/local/cpanel/scripts/restartsrv_cpanellogd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/auto/attributes/attributes.so: cannot open shared object file: No such file or directory
    
    
    i think i've tracked it to a problem with perl 522 spamassin

    when i run /scripts/check_cpanel_rpms i get:

    Code:
    
    [2017-03-20 18:26:26 +1100]   The following RPMs are unneeded on your system and should be uninstalled:
    [2017-03-20 18:26:26 +1100]   cpanel-ImageMagick-obsolete
    [2017-03-20 18:26:26 +1100]   cpanel-perl-522-Mail-SpamAssassin-obsolete
    [2017-03-20 18:26:26 +1100]   rpm_is_working-1.0-1.cp1136
    
    
    but when it asks to remove them it fails to do so.

    when it then tries to install cpanel-perl-524 modules it errors eg:

    Code:
    
    [2017-03-20 18:27:01 +1100]   Preparing packages for installation...
    [2017-03-20 18:27:02 +1100]     file /etc/mail/spamassassin/kill-spamd.sh from install of cpanel-perl-524-Mail-SpamAssassin-3.004001-5.cp1162.x86_64 conflicts with file from package cpanel-perl-522-Mail-SpamAssassin-3.004001-13.cp1156.x86_64
    [2017-03-20 18:27:02 +1100] W Error Code: 254
    [2017-03-20 18:27:02 +1100] E The following possible errors were detected while installing RPMs:
    [2017-03-20 18:27:02 +1100] E package rpm_is_working is not installed
    [2017-03-20 18:27:02 +1100]   The Administrator will be notified to review this output when this script completes
    [2017-03-20 18:27:02 +1100]   Hooks system enabled.
    [2017-03-20 18:27:02 +1100]   Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
    [2017-03-20 18:27:03 +1100]   All required 'post' hooks have been run
    [2017-03-20 18:27:03 +1100]   Restoring service monitoring.
    
    
    tries to install perl 524 spamassasin but theres a conflict with 522..

    thus i think no perl 524 libraries get installed, though it apparently thinks they are and thus cpanel cannot run due to not finding those 524 libraries.

    perl 522 spamassin is installed, cpanel-perl-522-Mail-SpamAssassin-3.004001-13.cp1156.x86_64

    but when i goto rpm -e it can't as exim requires it..

    not sure where to go from here? should i just erase it?
     
    #1 autolux, Mar 20, 2017
    Last edited by a moderator: Mar 20, 2017
  2. autolux

    autolux Member

    Joined:
    Mar 11, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    had to remove cpanel-perl-522-Mail-SpamAssassin and exim and every dependency in its way

    re-ran check_cpanel_rpms

    failed to install cpanel-perl-524-Mail-SpamAssassin as it needed one of the dependencies cronie

    yum installed cronie

    reran check_cpanel_rpms, installed all perl-524 libraries correctly... cpanel started again. hooray!
     
  3. cPanelChrisI

    cPanelChrisI Technical Analyst II
    Staff Member

    Joined:
    Mar 24, 2014
    Messages:
    67
    Likes Received:
    11
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    Hello!

    I am glad that you were able to get that working and thanks for providing the resolution!

    Thanks!
     
Loading...

Share This Page