From owner-freebsd-questions@FreeBSD.ORG Tue Apr 25 03:29:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8270516A402 for ; Tue, 25 Apr 2006 03:29:19 +0000 (UTC) (envelope-from dthomas53@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F16B43D46 for ; Tue, 25 Apr 2006 03:29:18 +0000 (GMT) (envelope-from dthomas53@gmail.com) Received: by pproxy.gmail.com with SMTP id t32so1183107pyc for ; Mon, 24 Apr 2006 20:29:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=PJMmmNP4MC67+I/jB4PsuUgyxUuJWFULctCxxy0J9jHalM0/m5sSI4pM8RjJfjlbq3/5PRVV3DThl/CXae2DmIOhLcQjvRPIX6aQFOi7OV/qEhLx3Ea6u+9WLAv+KN4HXiY52j29Z1VRgDkVtyjTO/B3OWHjHzZILgmTOz5DKCI= Received: by 10.35.87.8 with SMTP id p8mr2016965pyl; Mon, 24 Apr 2006 20:29:18 -0700 (PDT) Received: by 10.35.15.17 with HTTP; Mon, 24 Apr 2006 20:29:18 -0700 (PDT) Message-ID: Date: Mon, 24 Apr 2006 23:29:18 -0400 From: "David Stanford" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: DenyHosts Startup Script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 03:29:19 -0000 Hello all, So I've recently just installed DenyHostson my FreeBSD 6.1-RC box and can't, for the life of me, get this daemon to start on boot. I installed version 2.4b using the setup.py script. I'e moved daemon-contro= l to /usr/local/bin and all configuration files from the default /usr/share/denyhosts directory to /usr/local/etc/denyhosts (including denyhosts.cfg). Here is what I've tried to get this to start at boot: 1.) Created a simple script file called denyhosts.sh in /usr/local/etc/rc.d= : #!/bin/sh /usr/local/bin/daemon-control start 2.) Changed the previous denyhosts.sh script file to this: #!/bin/sh case "$1" in start) /usr/local/bin/daemon-control start ;; stop) /usr/local/bin/daemon-control stop ;; *) echo "Usage: $0 {start | stop}" ;; esac exit 0 3.) Created an /etc/rc.local using the same script from 1.): #!/bin/sh /usr/local/bin/daemon-control start For all of these attempts, I even chmod'd them all to 777, but still no good. I even changed both 1.) and 3.) to "/usr/local/bin/daemon-control debug > ~/debug.output" and though the debug.output file was created, there was no information in it. So now, 6 hours later (yes, 6 hours) of playing with this has me now desperate to find anyone who has this set to start on boot. Anyone? -David