Denyhosts Service disable

  • After install Denyhosts service is disable and wont start after entering

    $ /usr/local/etc/rc.d/ start I get the error below

    $ /usr/local/etc/rc.d/ start
    Missing configuration parameter: DENY_THRESHOLD_INVALID

    Note: The configuration parameter DENY_THRESHOLD has been renamed
          DENY_THRESHOLD_INVALID.  Please update your DenyHosts configuration
          file to reflect this change.
    Missing configuration parameter: DENY_THRESHOLD_VALID
    Missing configuration parameter: DENY_THRESHOLD_ROOT
    Missing configuration parameter: DENY_THRESHOLD_RESTRICTED

    Note: DENY_THRESHOLD_RESTRICTED has not been defined. Setting this

    how can i fix thanks

  • I've got the same problem on pfSense 1.2.3-RC1 with DenyHosts 0.5.

    $ cp /usr/local/share/denyhosts/denyhosts.cfg-dist /usr/local/etc/denyhosts.conf

    Then edit /usr/local/etc/denyhosts.conf to set the parameters:

    SECURE_LOG = /var/log/system.log
     BLOCK_SERVICE  = sshd

    DenyHosts should  work after that.

    Also there is an alternative method:

    $ rm /usr/local/etc/denyhosts*

    And reinstall the package.

  • I just added the command you suggested:
    rm /usr/local/etc/denyhosts*

    To the package uninstall.

  • i have another problem:

    /usr/local/etc/rc.d/ start
    /libexec/ Shared object "" not found, required by "python2.5"

    but, i have file "" in /lib

    ls -lh /lib/libm*

    -r-xr-xr-x  1 root  wheel    90K Jan  8  2009 /lib/
    -r-xr-xr-x  1 root  wheel    59K Jan  8  2009 /lib/

    any sugestions ????

  • I get:

    /usr/local/etc/rc.d/ start

    /usr/local/etc/rc.d/ /usr/local/bin/python2.5: not found

  • heleniovix:

    This is hackish but would probably work.
    cp /lib/ /lib/

    Then try again.

  • @mcrane:


    This is hackish but would probably work.
    cp /lib/ /lib/

    Then try again.

    Or you can symlink it instead.

  • thank´s guys,

    it´s work !!!!

    i have a 1.2.3-RC3 and i download python pack´s from this site:
    pkg_add python25-2.5.4_1.tbz
    cd /usr/local/lib/python2.5/site-packages/
    cp -rp ../../python2.4/site-packages/DenyHosts* .
    post Elight

    Finnish !!!

    45 days after, problem solved !

  • Hello,
    Thanks for this usefull topic.

    It's work also for me  !  :)

Log in to reply