# denyhosts.py --daemon
  DenyHosts could not obtain lock (pid: 6864)
  [Errno 17] File exists: '/var/run/denyhosts.pid'

So let's try:

  # denyhosts.py --daemon --unlock
  Invalid command line option detected.
  Usage: /usr/bin/denyhosts.py [-f logfile | --file=logfile]
  [ -c configfile | --config=configfile] [-i | --ignore]
  [-n | --noemail] [--purge] [--migrate] [--daemon] [--sync] [--version]

  --file:   The name of log file to parse
  --ignore: Ignore last processed offset (start processing from
    beginning)
  --noemail: Do not send an email report
  --unlock: if lockfile exists, remove it and run as normal
  --migrate: migrate your HOSTS_DENY file so that it is suitable for
    --purge
  --purge: expire entries older than your PURGE_DENY setting
  --daemon: run DenyHosts in daemon mode
  --sync: run DenyHosts synchronization mode
  --version: Prints the version of DenyHosts and exits

Nice touch; when telling me that an option is invalid it's always nice
to see the full usage information displayed, _complete with
documentation of the option that you're telling me doesn't exist_!

Smylers

Reply via email to