NO JOY FAIL2BAN Expert ?

phonebuff

Guru
Joined
Feb 7, 2008
Messages
1,117
Reaction score
129
Can anyone tell me if Fail2ban is supposed to be able to find this pid file and if so what should be in it ?

Code:
[COLOR=#ff0000]Starting fail2ban: WARNING 'pidfile' not defined in 'Definition'. Using default one: '/var/run/fail2ban/fail2ban.pid'[/COLOR]
WARNING 'usedns' not defined in 'named-refused-tcp'. Using default one: 'warn'
WARNING 'usedns' not defined in 'ssh-iptables'. Using default one: 'warn'
WARNING 'usedns' not defined in 'postfix-tcpwrapper'. Using default one: 'warn'
WARNING 'usedns' not defined in 'ssh-ipfw'. Using default one: 'warn'
WARNING 'usedns' not defined in 'named-refused-udp'. Using default one: 'warn'
WARNING 'usedns' not defined in 'asterisk-iptables'. Using default one: 'warn'
WARNING 'usedns' not defined in 'vsftpd-notification'. Using default one: 'warn'
WARNING 'usedns' not defined in 'ssh-tcpwrapper'. Using default one: 'warn'
WARNING 'usedns' not defined in 'apache-tcpwrapper'. Using default one: 'warn'
WARNING 'usedns' not defined in 'apache-shorewall'. Using default one: 'warn'
WARNING 'usedns' not defined in 'proftpd-iptables'. Using default one: 'warn'
WARNING 'usedns' not defined in 'apache-badbots'. Using default one: 'warn'
WARNING 'usedns' not defined in 'vsftpd-iptables'. Using default one: 'warn'
WARNING 'usedns' not defined in 'sasl-iptables'. Using default one: 'warn'
 

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,540
Reaction score
729
fail2ban creates the pid file, containing the process ID (pid) of fail2ban, upon startup.

This information is used later to send signals (kill, hup) to the process.
 

phonebuff

Guru
Joined
Feb 7, 2008
Messages
1,117
Reaction score
129
So really it's not the pid that is the problem, it's all these "default" definitions that it's missing. Maybe just a configuration file it's looking for that is not where it's expected to be ?
 

Members online

Forum statistics

Threads
25,815
Messages
167,790
Members
19,246
Latest member
aegodoyr
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top