#1  
Old 12th May 2006, 00:06
Jcorrea920 Jcorrea920 is offline
Member
 
Join Date: Feb 2006
Posts: 82
Thanks: 4
Thanked 1 Time in 1 Post
Question Denyhosts on Ubuntu?

Having trouble starting Denyhosts on Ubuntu 5.10 install went fine.

Code:
/usr/share/denyhosts# /etc/init.d/denyhosts start
starting DenyHosts:    /usr/bin/denyhosts.py --daemon --config=/usr/share/denyhosts/denyhosts.cfg
Can't read: /private/var/log/system.log
[Errno 2] No such file or directory: '/private/var/log/system.log'
Error deleting DenyHosts lock file: /var/run/denyhosts.pid
[Errno 2] No such file or directory: '/var/run/denyhosts.pid'
Any ideas. I've tried setting it to the Red Hat/Fedora settings but those don't work either.
Reply With Quote
Sponsored Links
  #2  
Old 12th May 2006, 10:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

Why does it say /private/var/log/system.log? Did you configure that somewhere?
__________________
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 12th May 2006, 21:11
Jcorrea920 Jcorrea920 is offline
Member
 
Join Date: Feb 2006
Posts: 82
Thanks: 4
Thanked 1 Time in 1 Post
Thumbs down It comes standard with Denyhosts 2.4b

Quote:
Why does it say /private/var/log/system.log? Did you configure that somewhere?
I tried to get fancy and install the most current version of Denyhosts 2.4b.

The Log file in denyhosts.cfg:

Code:
SECURE_LOG = /var/log/auth.log
Could it be a permission fiasco or what?
Reply With Quote
  #4  
Old 12th May 2006, 22:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

What's in denyhosts.cfg (strip out the comments)?
__________________
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
  #5  
Old 13th May 2006, 11:37
Jcorrea920 Jcorrea920 is offline
Member
 
Join Date: Feb 2006
Posts: 82
Thanks: 4
Thanked 1 Time in 1 Post
Thumbs up All Good!

Falko,

Apparently my denyhosts.cfg had:

Code:
#
# Mac OS X (v10.3 or earlier):
SECURE_LOG=/private/var/log/system.log
#
########################################################################
Should have been:

Code:
#
# Mac OS X (v10.3 or earlier):
# SECURE_LOG=/private/var/log/system.log
#
########################################################################
Running Ubuntu not Max OS X so there you are, started up like a charm.

Jorge
Reply With Quote
  #6  
Old 28th August 2006, 10:47
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default

Cool, I had the same problem when installing 2.5 instead of 2.0 as used in the HowTo (perhaps a quick pdate of the HowTo is in order?)

Anyway, here's a quick question: how do I upgrade my existing version; simple reinstall using the HowTo instructions and tweak them for 2.5?
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
Xen 3.0, Ubuntu 5.10, and Windows 2003 Server Jcorrea920 HOWTO-Related Questions 3 4th May 2006 11:26
Xen Ubuntu VM Install Question witless1 HOWTO-Related Questions 5 3rd May 2006 15:42
Ubuntu setup using SSH LuisC-SM HOWTO-Related Questions 9 16th April 2006 16:11
Is there a testing procedure for ISPConfig? deezone Installation/Configuration 14 22nd January 2006 19:41
Logging on to an ubuntu server DMJ HOWTO-Related Questions 3 8th January 2006 00:24


All times are GMT +2. The time now is 10:03.


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