#1  
Old 9th May 2006, 03:43
rawoo rawoo is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Denyhosts on CentOS 4.3

I want to install the latest version of Denyhosts on CentOS 4.3. Has anyone tried this yet? The latest version of Denyhosts is 2.4, and it requires python 2.4, but installation of the latest python breaks yum and up2date. Any ideas?
Reply With Quote
Sponsored Links
  #2  
Old 9th May 2006, 18:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Have you used yum to search for CentOS python packages? Run
Code:
yum search python
What's the output?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 10th May 2006, 04:01
rawoo rawoo is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry for the wait. My first attempt with the latest version of python crashed yum. I had to do a fresh install of CentOS. Good thing I was only just starting to configure the system, and not in production.

I ended up just doing a yum install python and then installing denyhosts per your how-to instructions. Even used the older version of denyhosts. Went without a hitch. Thanks anyway.
Reply With Quote
  #4  
Old 1st January 2007, 10:07
digitalunltd digitalunltd is offline
Junior Member
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Config files

Where are:

DENYHOSTS_BIN = "/usr/local/bin/denyhosts.py" # looks right
DENYHOSTS_LOCK = # I have no idea

from: http://www.howtoforge.com/preventing...ts_per_page=10

This might be a dumb question, but im new to linux. Any help would be much appreciated.
Reply With Quote
  #5  
Old 2nd January 2007, 19:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

You can try
Code:
DENYHOSTS_LOCK = "/var/run/denyhosts.pid"
in /usr/share/denyhosts/daemon-control.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 3rd January 2007, 06:19
digitalunltd digitalunltd is offline
Junior Member
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ?

/var/run/denyhosts.pid doesnt exist, should I still use that as the path? The last thing I want to do is mess up my ability to SSH connect.
Reply With Quote
  #7  
Old 4th January 2007, 16:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

Quote:
Originally Posted by digitalunltd
/var/run/denyhosts.pid doesnt exist, should I still use that as the path?
That file is created when you start DenyHosts. Please try.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS and Fedora sbovisjb1 Smalltalk 5 7th July 2006 11:28
send and receve mail on centos 4.3 tesquenure Installation/Configuration 11 25th April 2006 22:15
The Perfect Setup - CentOS 4.3 (64-bit) - Flex Missing d3m0nic HOWTO-Related Questions 1 20th April 2006 12:39
Notes for CentOS 4.1 install felipegeek Installation/Configuration 6 19th December 2005 11:21
Key moments for CentOS 4.2 ? fofan Installation/Configuration 1 21st November 2005 23:56


All times are GMT +2. The time now is 21:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.