Problem with cpanel-dovecot-solr.service

sopnbt

Registered
May 16, 2017
2
0
1
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
 
Last edited by a moderator:

cPanelFelipe

Member
Staff member
Apr 10, 2013
20
14
128
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”?
 

cPanelKeithS

Active Member
Staff member
Oct 14, 2008
32
1
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.
 

sopnbt

Registered
May 16, 2017
2
0
1
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?
 
Last edited by a moderator: