From owner-freebsd-questions@FreeBSD.ORG Tue Nov 27 20:18:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41F0116A417 for ; Tue, 27 Nov 2007 20:18:18 +0000 (UTC) (envelope-from mark@foster.cc) Received: from QMTA10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 2395913C4E7 for ; Tue, 27 Nov 2007 20:18:17 +0000 (UTC) (envelope-from mark@foster.cc) Received: from OMTA11.emeryville.ca.mail.comcast.net ([76.96.30.36]) by QMTA10.emeryville.ca.mail.comcast.net with comcast id Hter1Y00F0mlR8U0A0AX00; Tue, 27 Nov 2007 20:18:21 +0000 Received: from fosgate.dyndns.org ([24.17.77.253]) by OMTA11.emeryville.ca.mail.comcast.net with comcast id HwJL1Y00K5TuUQw0800000; Tue, 27 Nov 2007 20:18:21 +0000 X-Authority-Analysis: v=1.0 c=1 a=aVuXTzJJ9OkA:10 a=1EcHIz18t7c1Zh8iyhEYvA==:17 a=81ABGVOTAAAA:8 a=WHC6ClGUs_ZMclNBr-sA:9 a=L1suia1yPfTeub3_V2n0kTeQ5RoA:4 a=qxnMXkL1gOoA:10 Received: from localhost (localhost [127.0.0.1]) by fosgate.dyndns.org (Postfix) with ESMTP id EADA53982B; Tue, 27 Nov 2007 12:14:24 -0800 (PST) X-Virus-Scanned: amavisd-new at foster.cc Received: from fosgate.dyndns.org ([127.0.0.1]) by localhost (sonar.foster.dmz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l-irz5XYNk+u; Tue, 27 Nov 2007 12:14:16 -0800 (PST) Received: from [10.1.253.50] (fis-gw1.portseattle.org [198.134.96.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by fosgate.dyndns.org (Postfix) with ESMTP id C988339828; Tue, 27 Nov 2007 12:14:15 -0800 (PST) Message-ID: <474C7B7E.5040805@foster.cc> Date: Tue, 27 Nov 2007 12:18:06 -0800 From: "Mark D. Foster" User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: =?UTF-8?B?4KSF4KSo4KWB4KSc?= References: <3120c9e30711270757s649af28bj8d695cf7ccc2a1a3@mail.gmail.com> In-Reply-To: <3120c9e30711270757s649af28bj8d695cf7ccc2a1a3@mail.gmail.com> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: dansguardian at boot time. +gateway server 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, 27 Nov 2007 20:18:18 -0000 अनुज wrote: > Hello > I installed dansguardian , gave it's entry in my /etc/rc.conf > squid_enable="YES" > dansguardian_enable="YES" > > I am getting error at the boot time dansguardian couldn't connected to > parent proxy. Whereas squid starts without error. > I am running squid over port 3121 and dansguardian on port 8080. > > After logging in and giving command "dansguardian" it starts without any error. > Had a similar problem with dansguardian & tinyproxy, they start in the wrong order. So... rename /usr/local/etc/rc.d/squid.sh to 01_squid.sh rename /usr/local/etc/rc.d/dansguardian.sh to 02_dansguardian.sh You might need to add "sleep 5" into 02_dansguardian.sh to give squid.sh time to finish starting up. -- Said one park ranger, 'There is considerable overlap between the intelligence of the smartest bears and the dumbest tourists.' Mark D. Foster, CISSP http://mark.foster.cc/