Denyhosts Service disable
-
After install Denyhosts service is disable and wont start after entering
$ /usr/local/etc/rc.d/denyhosts.sh start I get the error below
$ /usr/local/etc/rc.d/denyhosts.sh start
Missing configuration parameter: DENY_THRESHOLD_INVALIDNote: 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_RESTRICTEDNote: DENY_THRESHOLD_RESTRICTED has not been defined. Setting this
value to DENY_THRESHOLD_ROOThow 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 = sshdDenyHosts 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/denyhosts.sh start
/libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by "python2.5"but, i have file "libm.so.4" in /lib
ls -lh /lib/libm*
-r-xr-xr-x 1 root wheel 90K Jan 8 2009 /lib/libm.so.5
-r-xr-xr-x 1 root wheel 59K Jan 8 2009 /lib/libmd.so.4any sugestions ????
-
-
heleniovix:
This is hackish but would probably work.
cp /lib/libm.so.5 /lib/libm.so.4Then try again.
-
@mcrane:
heleniovix:
This is hackish but would probably work.
cp /lib/libm.so.5 /lib/libm.so.4Then 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:
http://ftp.cse.yzu.edu.tw/pub/BSD/FreeBSD/ports/i386/packages-7.2-release/All/python25-2.5.4_1.tbz
pkg_add python25-2.5.4_1.tbz
cd /usr/local/lib/python2.5/site-packages/
cp -rp ../../python2.4/site-packages/DenyHosts* .
post ElightFinnish !!!
45 days after, problem solved !
-
Hello,
Thanks for this usefull topic.It's work also for me ! :)