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.

cPanel update blocked by CSF firewall maybe?

Discussion in 'Security' started by mikefromnz, Apr 27, 2017.

Tags:
  1. mikefromnz

    mikefromnz Active Member

    Joined:
    Feb 9, 2017
    Messages:
    28
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    New Zealand
    cPanel Access Level:
    Root Administrator
    I just got this latest message in my cron report emails, any idea how I can fix this as it was through the automated cron script, I assume there must be a new port needing opened at 8984 for this update to proceed? This is not open by default in CSF firewall by the looks, and has never been an issue till today.
    Code:
    Subject: Cron <root@servername> /usr/bin/test -e /etc/cpanel-dovecot-solrdisable || /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit
    
    Cpanel::Exception::HTTP::Network/(XID bg8e6t) The system failed to send an <abbr title="Hypertext Transfer Protocol">HTTP</abbr> “GET” request to “http://0P1bJ9hcCokBG0vs:__HIDDEN__@127.0.0.1:8984/solr/dovecot/update?commmit=true” because of an error: Could not connect to '127.0.0.1:8984': Connection refused
    
     at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330.
            Cpanel::Exception::create("HTTP::Network", HASH(0x23b2bc0)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46
            Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, HASH(0x23b2bc0)) called at /usr/local/cpanel/Cpanel/HTTP/Client.pm line 102
            Cpanel::HTTP::Client::request(Cpanel::HTTP::Client=HASH(0x23c1070), "GET", "http://0P1bJ9hcCokBG0vs:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"..., HASH(0x28ec1e0)) called at (eval 5) line 6
            HTTP::Tiny::get(Cpanel::HTTP::Client=HASH(0x23c1070), "http://0P1bJ9hcCokBG0vs:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"...) called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit line 55
            scripts::cpanel_dovecot_solr_commit::run("scripts::cpanel_dovecot_solr_commit") called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit line 37
    
    
     
    #1 mikefromnz, Apr 27, 2017
    Last edited by a moderator: Apr 28, 2017
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,484
    Likes Received:
    60
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    It appears it is trying to connect to port 8984 on loopback address, so you will have to open this port in the firewall.
    First, try updating cPanel manually and see if you are getting the same error..
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page