View Single Post
Old 21st May 2010, 04:50
jags84 jags84 is offline
Junior Member
Join Date: May 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hi

Hi, i have a problem, my fail2ban works perfect when the action is

action = %(action_)s
when i change to

action = %(action_mw)s
it give me this error

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/", line 65, in getOptions
    return self.__jails.getOptions(jail)
  File "/usr/share/fail2ban/client/", line 64, in getOptions
    ret = jail.getOptions()
  File "/usr/share/fail2ban/client/", line 70, in getOptions
    self.__opts = ConfigReader.getOptions(self, self.__name, opts)
  File "/usr/share/fail2ban/client/", line 84, in getOptions
    v = self.get(sec, option[1])
  File "/usr/lib/python2.6/", line 545, in get
    return self._interpolate(section, option, value, d)
  File "/usr/lib/python2.6/", line 613, in _interpolate
    self._interpolate_some(option, L, rawval, section, vars, 1)
  File "/usr/lib/python2.6/", line 648, in _interpolate_some
    section, map, depth + 1)
  File "/usr/lib/python2.6/", line 645, in _interpolate_some
    option, section, rest, var)
ConfigParser.InterpolationMissingOptionError: Bad value substitution:
	section: [courierauth]
	option : action
	key    : destemail
	rawval : ", logpath=%(logpath)s]
i am runing ubuntu 10.04 and fail2ban version 0.8.4 if any one can help me!!!?? thanks a lot!
Reply With Quote