Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

CPANEL-43012 - Recreate nft inet filter cpanel-dovecot-solr

Comments

16 comments

  • headsup
    OK ... the situation was such that one couldn't even uninstall previously: Failed: cpanel-dovecot-solr-8.11.2-3.13.1.cpanel.noarch Cpanel::Exception::ProcessFailed::Error/(XID xkvf3x) "/usr/bin/yum" reported error code "1" when it ended: ---- truncated ---- Cpanel::Plugins::uninstall_plugins("cpanel-dovecot-solr") called at /usr/local/cpanel/scripts/uninstall_dovecot_fts line 18 scripts::uninstall_dovecot_fts::run() called at /usr/local/cpanel/scripts/uninstall_dovecot_fts line 15
    But it seems that dealing with the external process and then uninstalling/reinstalling did the trick. Repeat on all servers given that this affected all.
    0
  • PenguinInternet
    You can fix this by restarting the firewall and then restarting solr. Assuming you are using CSF, the following should work: csf -r /scripts/restartsrv_cpanel_dovecot_solr
    0
  • cPRex Jurassic Moderator
    Hey there! This is a known issue and we have details on this here:
    0
  • cPRex Jurassic Moderator
    Hey everyone - I merged some threads so we can keep all the information for this in one place.
    0
  • splaquet
    site:forums.cpanel.net solr The thread was ancient and didn't apply, but I did discover THIS thread on the bottom (similar threads) section. Due to the convenience (and accuracy), I almost always use google's site:TLD.com search instead of using on-site search. Have the forums stopped indexing their content with Google? I'd like to believe this was on accident, but hard to judge with the recent moves your parent company has made
    0
  • cPRex Jurassic Moderator
    No, it's just that this thread is only about 12 hours old.
    0
  • splaquet
    PHEW! Good to know
    0
  • sparek-3
    Not sure my issue is related to @MajorLancelot's issue (but not saying it's not). Either way, restarting csf did not resolve the issue for me. Although, truth be told, I may have gone through a lot of other things trying to resolve the issue before trying a csf restart. What worked for me was to recreate the cpanel-dovecot-solr filter: [font="courier new">nft add chain inet filter cpanel-dovecot-solr And then restarting solr worked. I'm not sure how the cpanel-dovecot-solr filter got removed. But equally perplexing was that it did not get recreated when I forced a reinstall of solr.
    0
  • cPRex Jurassic Moderator
    Update - this is fixed in version 114, and we do plan to backport this to 110 and 112.
    0
  • cPRex Jurassic Moderator
    Update - this is resolved in version 112.0.5.
    0
  • cPRex Jurassic Moderator
    Update - this is resolved in 110.0.9.
    0
  • asfik
    Update - this is resolved in 110.0.9.

    Unfortunately we still have a problem, Almalinux 8.8 cPanel 112.0.5, please advise. Jul 31 09:45:35 server.sevaer.com systemd[1]: Starting Solr for cPanel Dovecot... Jul 31 09:45:35 server.sevaer.com cpanel_dovecot_solr_firewall[557490]: [nftables] "/usr/sbin/nft add chain inet filter INPUT { type filter hook input priority 0; policy accept; }" failed: Error: Could not process rule: Device or resource busy Jul 31 09:45:35 server.sevaer.com cpanel_dovecot_solr_firewall[557490]: add chain inet filter INPUT { type filter hook input priority 0; policy accept; } Jul 31 09:45:35 server.sevaer.com cpanel_dovecot_solr_firewall[557490]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Jul 31 09:45:35 server.sevaer.com cpanel_dovecot_solr_firewall[557490]: : The subprocess reported error number 1 when it ended. at /usr/local/cpanel/Cpanel/NFTables.pm line 79. Jul 31 09:45:35 server.sevaer.com systemd[1]: cpanel-dovecot-solr.service: Control process exited, code=exited status=1 Jul 31 09:45:35 server.sevaer.com systemd[1]: cpanel-dovecot-solr.service: Failed with result 'exit-code'. Jul 31 09:45:35 server.sevaer.com systemd[1]: Failed to start Solr for cPanel Dovecot.
    0
  • cPRex Jurassic Moderator
    @asfik - can you run this and then see if things start normally? nft delete chain inet filter OUTPUT
    0
  • asfik
    @asfik - can you run this and then see if things start normally? nft delete chain inet filter OUTPUT

    Thank you so much for the prompt reply, unfortunately it doesn't seems to be working well: [root@server ~]# nft delete chain inet filter OUTPUT Error: Could not process rule: No such file or directory delete chain inet filter OUTPUT ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Do you mean INPUT instead of OUTPUT?
    0
  • cPRex Jurassic Moderator
    Interesting - could you submit a ticket to our team so we can take a look at that system?
    0

Please sign in to leave a comment.