Menu

#52 denyhosts blocks on startup

open
nobody
None
5
2014-05-17
2010-12-08
ziazis
No

Hello,

I'm running denyhosts on an Ubuntu Server. When denyhosts is started it blocks for several minutes until it is running. The problem with that is when the server machine is started denyhosts blocks the startup process for that time thus the server is not available.

I've attached my denyhosts configuration as well as the startup script.

My configuration:
denyhosts version: 2.6-5
OS: Linux server 2.6.31-22-generic #68-Ubuntu SMP Tue Oct 26 16:37:17 UTC 2010 x86_64 GNU/Linux

Discussion

  • ziazis

    ziazis - 2010-12-08
    • summary: denyhost holds up on startup --> denyhost blocks on startup
     
  • ziazis

    ziazis - 2010-12-08
    • priority: 5 --> 9
     
  • ziazis

    ziazis - 2010-12-08

    config file

     
  • ziazis

    ziazis - 2010-12-08

    startup script

     
  • ziazis

    ziazis - 2010-12-08
    • summary: denyhost blocks on startup --> denyhosts blocks on startup
     
  • Phil Schwartz

    Phil Schwartz - 2010-12-10

    Try chkconfig'ing Denyhosts off (or whatever the Ubuntu equivalent is to chkconfig):

    sudo chkconfig --levels 235 denyhosts off

    The next time you reboot, manually start denyhosts. Does it still take a long time to start up? If not, then perhaps another process is actually blocking.

     
  • Phil Schwartz

    Phil Schwartz - 2010-12-10
    • priority: 9 --> 5
     
  • Phil Schwartz

    Phil Schwartz - 2010-12-10

    that should read:

    sudo chkconfig --level 235 denyhosts off

    notice the --level is not plural

     

Log in to post a comment.