Again, I keep forgetting to "reply all". Sorry...
---------- Forwarded message ---------- From: James Carman <[EMAIL PROTECTED]> Date: Thu, Jun 26, 2008 at 1:38 PM Subject: Re: [Denyhosts-user] Denyhosts daemon dying on startup... To: Jason L Tibbitts III <[EMAIL PROTECTED]> Well, here's my output from starting it via the init script with debug turned on (as you suggested): 2008-06-26 13:36:45,487 - denyhosts : INFO DenyHosts launched with the following args: 2008-06-26 13:36:45,487 - denyhosts : INFO /usr/bin/denyhosts.py --daemon --config=/etc/denyhosts.conf --debug 2008-06-26 13:36:45,487 - prefs : INFO DenyHosts configuration settings: 2008-06-26 13:36:45,487 - prefs : INFO ADMIN_EMAIL: [EMAIL PROTECTED] 2008-06-26 13:36:45,488 - prefs : INFO AGE_RESET_INVALID: [864000] 2008-06-26 13:36:45,488 - prefs : INFO AGE_RESET_RESTRICTED: [2160000] 2008-06-26 13:36:45,488 - prefs : INFO AGE_RESET_ROOT: [2160000] 2008-06-26 13:36:45,488 - prefs : INFO AGE_RESET_VALID: [432000] 2008-06-26 13:36:45,489 - prefs : INFO ALLOWED_HOSTS_HOSTNAME_LOOKUP: [YES] 2008-06-26 13:36:45,489 - prefs : INFO BLOCK_SERVICE: [sshd] 2008-06-26 13:36:45,489 - prefs : INFO DAEMON_LOG: [/var/log/denyhosts] 2008-06-26 13:36:45,489 - prefs : INFO DAEMON_LOG_MESSAGE_FORMAT: [%(asctime)s - %(name)-12s: %(levelname)- 8s %(message)s] 2008-06-26 13:36:45,490 - prefs : INFO DAEMON_LOG_TIME_FORMAT: [None] 2008-06-26 13:36:45,490 - prefs : INFO DAEMON_PURGE: [3600] 2008-06-26 13:36:45,490 - prefs : INFO DAEMON_SLEEP: [30] 2008-06-26 13:36:45,490 - prefs : INFO DENY_THRESHOLD_INVALID: [5] 2008-06-26 13:36:45,491 - prefs : INFO DENY_THRESHOLD_RESTRICTED: [1] 2008-06-26 13:36:45,491 - prefs : INFO DENY_THRESHOLD_ROOT: [1] 2008-06-26 13:36:45,491 - prefs : INFO DENY_THRESHOLD_VALID: [10] 2008-06-26 13:36:45,491 - prefs : INFO FAILED_ENTRY_REGEX: [None] 2008-06-26 13:36:45,492 - prefs : INFO FAILED_ENTRY_REGEX2: [None] 2008-06-26 13:36:45,492 - prefs : INFO FAILED_ENTRY_REGEX3: [None] 2008-06-26 13:36:45,492 - prefs : INFO FAILED_ENTRY_REGEX4: [None] 2008-06-26 13:36:45,492 - prefs : INFO FAILED_ENTRY_REGEX5: [None] 2008-06-26 13:36:45,493 - prefs : INFO FAILED_ENTRY_REGEX6: [None] 2008-06-26 13:36:45,493 - prefs : INFO FAILED_ENTRY_REGEX7: [None] 2008-06-26 13:36:45,493 - prefs : INFO HOSTNAME_LOOKUP: [YES] 2008-06-26 13:36:45,493 - prefs : INFO HOSTS_DENY: [/etc/hosts.deny] 2008-06-26 13:36:45,494 - prefs : INFO LOCK_FILE: [/var/lock/subsys/denyhosts] 2008-06-26 13:36:45,494 - prefs : INFO PLUGIN_DENY: [None] 2008-06-26 13:36:45,494 - prefs : INFO PLUGIN_PURGE: [None] 2008-06-26 13:36:45,494 - prefs : INFO PURGE_DENY: [2419200] 2008-06-26 13:36:45,495 - prefs : INFO PURGE_THRESHOLD: [0] 2008-06-26 13:36:45,495 - prefs : INFO RESET_ON_SUCCESS: [no] 2008-06-26 13:36:45,495 - prefs : INFO SECURE_LOG: [/var/log/secure] 2008-06-26 13:36:45,495 - prefs : INFO SMTP_DATE_FORMAT: [%a, %d %b %Y %H:%M:%S %z] 2008-06-26 13:36:45,496 - prefs : INFO SMTP_FROM: [DenyHosts <[EMAIL PROTECTED]>] 2008-06-26 13:36:45,496 - prefs : INFO SMTP_HOST: [localhost] 2008-06-26 13:36:45,496 - prefs : INFO SMTP_PASSWORD: [None] 2008-06-26 13:36:45,496 - prefs : INFO SMTP_PORT: [25] 2008-06-26 13:36:45,497 - prefs : INFO SMTP_SUBJECT: [DenyHosts Report from terminator] 2008-06-26 13:36:45,497 - prefs : INFO SMTP_USERNAME: [None] 2008-06-26 13:36:45,497 - prefs : INFO SSHD_FORMAT_REGEX: [None] 2008-06-26 13:36:45,497 - prefs : INFO SUCCESSFUL_ENTRY_REGEX: [None] 2008-06-26 13:36:45,497 - prefs : INFO SUSPICIOUS_LOGIN_REPORT_ALLOWED_HOSTS: [YES] 2008-06-26 13:36:45,498 - prefs : INFO SYNC_DOWNLOAD: [yes] 2008-06-26 13:36:45,498 - prefs : INFO SYNC_DOWNLOAD_RESILIENCY: [18000] 2008-06-26 13:36:45,498 - prefs : INFO SYNC_DOWNLOAD_THRESHOLD: [3] 2008-06-26 13:36:45,498 - prefs : INFO SYNC_INTERVAL: [3600] 2008-06-26 13:36:45,499 - prefs : INFO SYNC_SERVER: [http://xmlrpc.denyhosts.net:9911] 2008-06-26 13:36:45,499 - prefs : INFO SYNC_UPLOAD: [yes] 2008-06-26 13:36:45,499 - prefs : INFO SYSLOG_REPORT: [no] 2008-06-26 13:36:45,499 - prefs : INFO WORK_DIR: [/var/lib/denyhosts] 2008-06-26 13:36:45,502 - denyhosts : INFO restricted: set([]) 2008-06-26 13:36:45,503 - filetracker : DEBUG __get_current_offset(): 2008-06-26 13:36:45,503 - filetracker : DEBUG first_line: Jun 22 06:08:42 terminator sshd[16336]: refused connect from ::ffff:59.151.26.115 (::ffff:59.151.26.115) 2008-06-26 13:36:45,503 - filetracker : DEBUG offset: 232370 2008-06-26 13:36:45,503 - AllowedHosts: DEBUG initializing AllowedHosts 2008-06-26 13:36:45,504 - AllowedHosts: DEBUG line: 127.0.0.1 - regex match? True 2008-06-26 13:36:45,505 - AllowedHosts: DEBUG line: 74.129.2.254 - regex match? True 2008-06-26 13:36:45,516 - AllowedHosts: DEBUG allowed_hosts: ['74-129-2-254.dhcp.insightbb.com', '74.129.2.254', 'loc alhost.localdomain', '127.0.0.1'] 2008-06-26 13:36:45,516 - AllowedHosts: DEBUG done initializing AllowedHosts 2008-06-26 13:36:45,517 - filetracker : DEBUG __get_last_offset(): 2008-06-26 13:36:45,517 - filetracker : DEBUG first_line: Jun 22 06:08:42 terminator sshd[16336]: refused connect from ::ffff:59.151.26.115 (::ffff:59.151.26.115) 2008-06-26 13:36:45,517 - filetracker : DEBUG offset: 232370 2008-06-26 13:36:45,518 - filetracker : DEBUG get_offset(): 2008-06-26 13:36:45,518 - filetracker : DEBUG offset: None 2008-06-26 13:36:45,518 - denyhosts : INFO launching DenyHosts daemon (version 2.6)... 2008-06-26 13:36:45,523 - denyhosts : INFO DenyHosts daemon is now running, pid: 8315 2008-06-26 13:36:45,525 - denyhosts : INFO send daemon process a TERM signal to terminate cleanly 2008-06-26 13:36:45,525 - denyhosts : INFO eg. kill -TERM 8315 I hope this helps. It doesn't appear to show us any helpful new information, though. On Thu, Jun 26, 2008 at 12:30 PM, Jason L Tibbitts III <[EMAIL PROTECTED]> wrote: > Just a note that I (the maintainer of denyhosts in Fedora) had a > single report of something like this early in the Fedora 8 timeframe > that nobody could reproduce except the reporter. I could never get > any reasonable type of debugging output that would show what was going > on. > > I had originally assumed that it was a selinux issue, as attempts to > manually start things (from unconfined_t context) would work while > starting from init wouldn't. But the information I could get > indicated that not to be the case. Then I assumed it must have been a > timing issue; perhaps the daemon started too early and missed some > essential system component. I never received any debugging info to > verify that, however. > > I'm still completely stumped by this and would really love to figure > out what's going on here. > > By the way, Fedora doesn't use the initscript included with denyhosts > as it was not translatable and did not output in the usual format, so > simply appending --debug won't really change anything. You can put: > DOPTS="$DOPTS --debug" > in /etc/sysconfig/denyhosts to accomplish the same thing. I should > probably add a slightly simpler way to do that. > > - J< > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Denyhosts-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/denyhosts-user
