Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Packages» Denyhosts Service disable
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Denyhosts Service disable  (Read 4158 times)
0 Members and 1 Guest are viewing this topic.
ToxIcon
Full Member
***
Offline Offline

Posts: 146


View Profile
« on: September 06, 2009, 08:15:29 pm »

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_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
value to DENY_THRESHOLD_ROOT

how can i fix thanks
Logged
Elight
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #1 on: September 10, 2009, 01:54:25 am »

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.
« Last Edit: September 10, 2009, 02:08:46 am by Elight » Logged
mcrane
Sr. Member
****
Offline Offline

Posts: 496


View Profile
« Reply #2 on: September 11, 2009, 03:58:29 pm »

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

To the package uninstall.
Logged
heleniovix
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #3 on: September 24, 2009, 09:40:15 am »

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.4

any sugestions Huh?
Logged
BrianBonnell
Jr. Member
**
Offline Offline

Posts: 28


View Profile
« Reply #4 on: September 24, 2009, 01:15:53 pm »

I get:

# /usr/local/etc/rc.d/denyhosts.sh start
/usr/local/etc/rc.d/denyhosts.sh: /usr/local/bin/python2.5: not found
#
Logged
mcrane
Sr. Member
****
Offline Offline

Posts: 496


View Profile
« Reply #5 on: September 24, 2009, 09:36:36 pm »

heleniovix:

This is hackish but would probably work.
cp /lib/libm.so.5 /lib/libm.so.4

Then try again.
Logged
serialdie
Sr. Member
****
Offline Offline

Posts: 320


View Profile
« Reply #6 on: September 27, 2009, 08:06:21 pm »

heleniovix:

This is hackish but would probably work.
cp /lib/libm.so.5 /lib/libm.so.4

Then try again.

Or you can symlink it instead.
Logged
heleniovix
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #7 on: September 28, 2009, 10:44:41 am »

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 Elight

Finnish !!!

45 days after, problem solved !




« Last Edit: October 27, 2009, 01:47:45 pm by heleniovix » Logged
lol
Jr. Member
**
Offline Offline

Posts: 65


View Profile
« Reply #8 on: March 21, 2010, 11:31:42 pm »

Hello,
Thanks for this usefull topic.

It's work also for me  !  Smiley
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.029 seconds with 20 queries.