Mailinglist Archive: opensuse (924 mails)

< Previous Next >
[opensuse] 'systemctl start fail2ban.service' fails but process running with a different PID
Hello,

I have just experienced this behavior on a fresh default installation of openSUSE 12.2.

nemesis:/usr/local/etc # ps aux | grep fail2ban
root 3353 0.1 0.3 265372 6768 ? Sl 08:58 0:00 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
root 3366 0.0 0.0 32432 852 pts/1 S+ 08:59 0:00 grep --color=auto fail2ban
nemesis:/usr/local/etc # ps aux | grep fail2ban
root 3353 0.0 0.3 265372 6768 ? Sl 08:58 0:00 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
root 3387 0.0 0.0 35688 852 pts/1 S+ 09:05 0:00 grep --color=auto fail2ban
nemesis:/usr/local/etc # systemctl stop postfix.service
nemesis:/usr/local/etc # ps aux | grep fail2ban
root 3353 0.0 0.3 265372 6768 ? Sl 08:58 0:00 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
root 3391 0.0 0.0 21176 856 pts/1 S+ 09:05 0:00 grep --color=auto fail2ban
nemesis:/usr/local/etc #
nemesis:/usr/local/etc # kill 3353
nemesis:/usr/local/etc # ps aux | grep fail2ban
root 3402 0.0 0.0 29036 852 pts/1 S+ 09:06 0:00 grep --color=auto fail2ban
nemesis:/usr/local/etc # systemctl start fail2ban.service
Job failed. See system journal and 'systemctl status' for details.
nemesis:/usr/local/etc # systemctl status fail2ban.service
fail2ban.service - LSB: Bans IPs with too many authentication failures
Loaded: loaded (/etc/init.d/fail2ban)
Active: failed (Result: exit-code) since Tue, 02 Oct 2012 09:06:40 -0400; 6s ago
Process: 3059 ExecStop=/etc/init.d/fail2ban stop (code=exited, status=0/SUCCESS)
Process: 3405 ExecStart=/etc/init.d/fail2ban start (code=exited, status=7/NOTRUNNING)
CGroup: name=systemd:/system/fail2ban.service
└ 3415 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
nemesis:/usr/local/etc # ps aux | grep fail2ban
root 3415 0.4 0.4 264784 8776 ? Sl 09:06 0:00 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
root 3428 0.0 0.0 25728 852 pts/1 S+ 09:07 0:00 grep --color=auto fail2ban

Weird. I wanted to ask the community if this is a common behavior before I submit a bug ticket. Thank you.

Best Regards
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups