Depending on which rpm you installed it may or may not have 
/etc/init.d/denyhosts.

The noarch rpms that I package do not since I cannot make assumptions for 
all envrionments and they must match your denyhosts.cfg settings which you 
should edit upon installation.

The file included in my rpm's is:

/usr/share/denyhosts/daemon-control-dist

The distro specific versions should have /etc/init.d/denyhosts or 
equivalent which may or may not be based on my daemon-control-dist script.

Phil




On Tue, 1 Jul 2008, Joe Hartley wrote:

> On Tue, 1 Jul 2008 13:30:27 -0400
> "James Carman" <[EMAIL PROTECTED]> wrote:
>
>> On Tue, Jul 1, 2008 at 11:49 AM, Phil Schwartz
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> Does "stop" then "start" work properly (rather than "condrestart")?
>>
>> No, that's the issue.  Using the "service" stuff doesn't work at all.
>
> Do you have a script named /etc/init.d/denyhosts ?  If not, the service
> command will not work.  The RPM (for the python 2.3 version, anyway) did
> not have this file anywhere that I could find quickly.
>
> I've got the startup script at http://zappa.brainiac.com/denyhosts if
> you need a copy.  Once that's in place, the service command should work.
>
> Once that's working, enable denyhosts at startup with the command
> "chkconfig denyhosts on"
>
> This works for Fedora/RedHat/CentOS distributions only, as far as I know.
>
>

-- 
Regards,

Phil Schwartz
- http://www.phil-schwartz.com

Open Source Projects:
- DenyHosts: http://www.denyhosts.net
- Kodos: http://kodos.sourceforge.net
- ReleaseForge: http://releaseforge.sourceforge.net
- Scratchy: http://scratchy.sourceforge.net
- FAQtor: http://faqtor.sourceforge.net

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to