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!

Problem with cpanel-dovecot-solr.service

Discussion in 'E-mail Discussion' started by sopnbt, May 17, 2017.

Tags:
  1. sopnbt

    sopnbt Registered

    Joined:
    May 16, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Argentina
    cPanel Access Level:
    DataCenter Provider
    Hi, I need help. I have this error in my cpanel.

    - CENTOS 7.1 x86_64 vmware – cpanel
    - cPanel & WHM 64.0 (build 21)

    Code:
    
    Home »Service Configuration »Service Manager
    
    cpanel-dovecot-solr.service - Solr for cPanel Dovecot
     Loaded: loaded (/etc/systemd/system/cpanel-dovecot-solr.service; enabled)
     Active: failed (Result: exit-code) since Wed 2017-05-17 11:05:31 ART; 10s ago
     Process: 4480 ExecStartPre=/usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_firewall start (code=exited, status=2)
    May 17 11:05:31 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[4480]: [iptables] /sbin/iptables -w 10 -N cpanel-dovecot-solr failed: Bad argument `10'
    May 17 11:05:31 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[4480]: Try `iptables -h' or 'iptables --help' for more information.
    May 17 11:05:31 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[4480]: : The subprocess reported error number 2 when it ended. at /usr/local/cpanel/Cpanel/IpTables.pm line 291.
    May 17 11:05:31 cpanel.my-domain.com.ar systemd[1]: cpanel-dovecot-solr.service: control process exited, code=exited status=2
    May 17 11:05:31 cpanel.my-domain.com.ar systemd[1]: Failed to start Solr for cPanel Dovecot.
    May 17 11:05:31 cpanel.my-domain.com.ar systemd[1]: Unit cpanel-dovecot-solr.service entered failed state.
    Redirecting to /bin/systemctl status cpanel-dovecot-solr.service
    
    (XID wk2kuk) The service “cpanel-dovecot-solr” failed to start with the message: cpanel-dovecot-solr.service - Solr for cPanel Dovecot
    Loaded: loaded (/etc/systemd/system/cpanel-dovecot-solr.service; enabled)
    Active: failed (Result: exit-code) since Wed 2017-05-17 11:05:31 ART; 21s ago
    Process: 4480 ExecStartPre=/usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_firewall start (code=exited, status=2)
    May 17 11:05:31 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[4480]: [iptables] /sbin/iptables -w 10 -N cpanel-dovecot-solr failed: Bad argument `10'
    May 17 11:05:31 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[4480]: Try `iptables -h' or 'iptables --help' for more information.
    May 17 11:05:31 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[4480]: : The subprocess reported error number 2 when it ended. at /usr/local/cpanel/Cpanel/IpTables.pm line 291.
    May 17 11:05:31 cpanel.my-domain.com.ar systemd[1]: cpanel-dovecot-solr.service: control process exited, code=exited status=2
    May 17 11:05:31 cpanel.my-domain.com.ar systemd[1]: Failed to start Solr for cPanel Dovecot.
    May 17 11:05:31 cpanel.my-domain.com.ar systemd[1]: Unit cpanel-dovecot-solr.service entered failed state.
    Redirecting to /bin/systemctl status cpanel-dovecot-solr.service
    
    Startup Log
    May 17 11:05:31 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[4480]: [iptables] /sbin/iptables -w 10 -N cpanel-dovecot-solr failed: Bad argument `10'
    May 17 11:05:31 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[4480]: Try `iptables -h' or 'iptables --help' for more information.
    May 17 11:05:31 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[4480]: : The subprocess reported error number 2 when it ended. at /usr/local/cpanel/Cpanel/IpTables.pm line 291.
    May 17 11:05:31 cpanel.my-domain.com.ar systemd[1]: cpanel-dovecot-solr.service: control process exited, code=exited status=2
    May 17 11:05:31 cpanel.my-domain.com.ar systemd[1]: Failed to start Solr for cPanel Dovecot.
    May 17 11:05:31 cpanel.my-domain.com.ar systemd[1]: Unit cpanel-dovecot-solr.service entered failed state.
    
    cpanel-dovecot-solr has failed. Please contact your system administrator if the service does not automagically recover.
    (XID 86kvy4) The “mailman” service is not configured: there are no configured mailing lists
    
    
    
    
    service cpanel-dovecot-solr status -l
    
    Redirecting to /bin/systemctl status  -l cpanel-dovecot-solr.service
    cpanel-dovecot-solr.service - Solr for cPanel Dovecot
       Loaded: loaded (/etc/systemd/system/cpanel-dovecot-solr.service; enabled)
       Active: failed (Result: exit-code) since mié 2017-05-17 11:15:15 ART; 1min 1s ago
      Process: 5340 ExecStartPre=/usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_firewall start (code=exited, status=2)
    
    may 17 11:15:15 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[5340]: [iptables] /sbin/iptables -w 10 -N cpanel-dovecot-solr failed: Bad argument `10'
    may 17 11:15:15 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[5340]: Try `iptables -h' or 'iptables --help' for more information.
    may 17 11:15:15 cpanel.my-domain.com.ar cpanel_dovecot_solr_firewall[5340]: : The subprocess reported error number 2 when it ended. at /usr/local/cpanel/Cpanel/IpTables.pm line 291.
    may 17 11:15:15 cpanel.my-domain.com.ar systemd[1]: cpanel-dovecot-solr.service: control process exited, code=exited status=2
    may 17 11:15:15 cpanel.my-domain.com.ar systemd[1]: Failed to start Solr for cPanel Dovecot.
    may 17 11:15:15 cpanel.my-domain.com.ar systemd[1]: Unit cpanel-dovecot-solr.service entered failed state.
    
    
    
    SELINUX
    getenforce = Permissive


    Linux Firewall
    firewalld.service = inactive
     
    #1 sopnbt, May 17, 2017
    Last edited by a moderator: May 17, 2017
  2. cPanelFelipe

    cPanelFelipe Member
    Staff Member

    Joined:
    Apr 10, 2013
    Messages:
    12
    Likes Received:
    10
    Trophy Points:
    78
    This might be a difference between CentOS 7 minor versions; my CentOS 7.3 box definitely understands “-w 10”.

    Did you try “yum update iptables”?
     
  3. cPanelKeithS

    cPanelKeithS Active Member
    Staff Member

    Joined:
    Oct 14, 2008
    Messages:
    32
    Likes Received:
    1
    Trophy Points:
    133
    I have been able to confirm that this issue appears in:
    iptables-1.4.21-13.el7.x86_64.rpm

    And fixed by:
    iptables.x86_64 0:1.4.21-17.el7

    We have created case CPANEL-13209 to address this version requirement.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. sopnbt

    sopnbt Registered

    Joined:
    May 16, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Argentina
    cPanel Access Level:
    DataCenter Provider
    Yes, I resolved updating my iptables!! Tnx so much!!!

    but now have a new problem.. every some time I recive mail alerts.

    FAILED : cpanel-dovecot-solr

    but my service is running

    cpanel-dovecot-solr.service - Solr for cPanel Dovecot
    Loaded: loaded (/etc/systemd/system/cpanel-dovecot-solr.service; enabled)
    Active: active (running) since mié 2017-05-17 16:02:40 ART; 1h 50min ago


    some idea?
     
    #4 sopnbt, May 17, 2017
    Last edited by a moderator: May 17, 2017
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice