Hi, On Fri, Mar 19, 2010 at 09:17:47AM -0400, Yaroslav Halchenko wrote: > Thank you Osvaldo, > > Just now realized that we are talking about stable(lenny), so I guess > not much of 'new and fancy' could be there I guess ;) > > just out of curiosity, > > 1. what if you remove > > -rw-r--r-- root/root 6343 2010-03-07 11:31 > > etc/fail2ban/.saf.jail.local.bak > > -rw-r--r-- root/root 6328 2010-03-05 16:08 > > etc/fail2ban/.saf.jail.local.orig
It doesn't matter, fail2ban still doesn't start after I reboot, see here: jupiter:~# ps ax |grep -i fail 3188 pts/0 S+ 0:00 grep -i fail jupiter:~# /etc/init.d/force-fail2ban-to-start 2010-03-19 20:35:32,822 fail2ban.server : INFO Starting Fail2ban v0.8.3 2010-03-19 20:35:32,823 fail2ban.server : INFO Starting in daemon mode jupiter:~# ps ax |grep -i fail 3192 ? S 0:00 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock 3194 pts/0 S+ 0:00 grep -i fail jupiter:~# > still would fail to start? Yes, and to be compleet, under Ubuntu it works (both on Karmic and Hardy) > 2. what would be output (would it still crash?) with > > fail2ban-client -v -v -v start jupiter:~# fail2ban-client -v -v -v start DEBUG Reading /etc/fail2ban/fail2ban DEBUG Reading files: ['/etc/fail2ban/fail2ban.conf', '/etc/fail2ban/fail2ban.local'] INFO Using socket file /var/run/fail2ban/fail2ban.sock DEBUG Reading /etc/fail2ban/fail2ban DEBUG Reading files: ['/etc/fail2ban/fail2ban.conf', '/etc/fail2ban/fail2ban.local'] DEBUG Reading /etc/fail2ban/jail DEBUG Reading files: ['/etc/fail2ban/jail.conf', '/etc/fail2ban/jail.local'] DEBUG Reading /etc/fail2ban/jail DEBUG Reading files: ['/etc/fail2ban/jail.conf', '/etc/fail2ban/jail.local'] Traceback (most recent call last): File "/usr/bin/fail2ban-client", line 401, in <module> if client.start(sys.argv): File "/usr/bin/fail2ban-client", line 370, in start return self.__processCommand(args) File "/usr/bin/fail2ban-client", line 180, in __processCommand ret = self.__readConfig() File "/usr/bin/fail2ban-client", line 375, in __readConfig ret = self.__configurator.getOptions() File "/usr/share/fail2ban/client/configurator.py", line 65, in getOptions return self.__jails.getOptions(jail) File "/usr/share/fail2ban/client/jailsreader.py", line 64, in getOptions ret = jail.getOptions() File "/usr/share/fail2ban/client/jailreader.py", line 70, in getOptions self.__opts = ConfigReader.getOptions(self, self.__name, opts) File "/usr/share/fail2ban/client/configreader.py", line 84, in getOptions v = self.get(sec, option[1]) File "/usr/lib/python2.5/ConfigParser.py", line 525, in get return self._interpolate(section, option, value, d) File "/usr/lib/python2.5/ConfigParser.py", line 593, in _interpolate self._interpolate_some(option, L, rawval, section, vars, 1) File "/usr/lib/python2.5/ConfigParser.py", line 625, in _interpolate_some option, section, rest, var) ConfigParser.InterpolationMissingOptionError: Bad value substitution: section: [apache-noscript] option : action key : action_wml rawval : jupiter:~# > fail2ban-client -v -v -v -d > > ? jupiter:~# fail2ban-client -v -v -v -d DEBUG Reading /etc/fail2ban/fail2ban DEBUG Reading files: ['/etc/fail2ban/fail2ban.conf', '/etc/fail2ban/fail2ban.local'] INFO Using socket file /var/run/fail2ban/fail2ban.sock DEBUG Reading /etc/fail2ban/fail2ban DEBUG Reading files: ['/etc/fail2ban/fail2ban.conf', '/etc/fail2ban/fail2ban.local'] DEBUG Reading /etc/fail2ban/jail DEBUG Reading files: ['/etc/fail2ban/jail.conf', '/etc/fail2ban/jail.local'] DEBUG Reading /etc/fail2ban/jail DEBUG Reading files: ['/etc/fail2ban/jail.conf', '/etc/fail2ban/jail.local'] Traceback (most recent call last): File "/usr/bin/fail2ban-client", line 401, in <module> if client.start(sys.argv): File "/usr/bin/fail2ban-client", line 337, in start ret = self.__readConfig() File "/usr/bin/fail2ban-client", line 375, in __readConfig ret = self.__configurator.getOptions() File "/usr/share/fail2ban/client/configurator.py", line 65, in getOptions return self.__jails.getOptions(jail) File "/usr/share/fail2ban/client/jailsreader.py", line 64, in getOptions ret = jail.getOptions() File "/usr/share/fail2ban/client/jailreader.py", line 70, in getOptions self.__opts = ConfigReader.getOptions(self, self.__name, opts) File "/usr/share/fail2ban/client/configreader.py", line 84, in getOptions v = self.get(sec, option[1]) File "/usr/lib/python2.5/ConfigParser.py", line 525, in get return self._interpolate(section, option, value, d) File "/usr/lib/python2.5/ConfigParser.py", line 593, in _interpolate self._interpolate_some(option, L, rawval, section, vars, 1) File "/usr/lib/python2.5/ConfigParser.py", line 625, in _interpolate_some option, section, rest, var) ConfigParser.InterpolationMissingOptionError: Bad value substitution: section: [apache-noscript] option : action key : action_wml rawval : jupiter:~# > P.S. the fact that you managed to start the server doesn't mean that it > would do anything useful -- client is the one which instructs the server > on what to do (what jails to use etc), so running server without client > instructions does nothing... or after starting the server > fail2ban-client starts to work fine? ;) I'm not so involved to understand too much technical things; I just try to give more feedback based on the commands you asked me to try ! > On Fri, 19 Mar 2010, Osvaldo La Rosa wrote: > > > Hello, > > > in attachment see my_etc-fail2ban.tar.gz. > > > I only added (and edit) my own jail.local, as recommended. > > > It had worked until I saw that it wasn't yesterday! > > > IMPORTANT: > > this morning I added my own (temporary) solution, and it works now but I'm > > not understanding why the fail2ban-server doesn't run by himself at boot: > > I'm not remembering having seen Python packages passing during my last > > Lenny update. Feel free to check! > > -- > .-. > =------------------------------ /v\ ----------------------------= > Keep in touch // \\ (yoh@|www.)onerussian.com > Yaroslav Halchenko /( )\ ICQ#: 60653192 > Linux User ^^-^^ [175555] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org