From owner-freebsd-questions@FreeBSD.ORG Tue Nov 27 21:01:13 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 AD17F16A46E for ; Tue, 27 Nov 2007 21:01:13 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id 61BFF13C461 for ; Tue, 27 Nov 2007 21:01:12 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from w2003s01.double-l.local (dpm.xs4all.nl [80.126.205.144]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id lARL1BPw059486 for ; Tue, 27 Nov 2007 22:01:11 +0100 (CET) (envelope-from Johan@double-l.nl) Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 27 Nov 2007 22:00:47 +0100 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB01118D@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: dansguardian at boot time. +gateway server Thread-Index: AcgxMwal0/xIzAC3SYO/LqGpJ3gwLQABY6bN References: <3120c9e30711270757s649af28bj8d695cf7ccc2a1a3@mail.gmail.com> <474C7B7E.5040805@foster.cc> From: "Johan Hendriks" To: X-Virus-Scanned: by XS4ALL Virus Scanner Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 21:01:13 -0000 You can also edit the file /usr/local/etc/rc.d/dansquardian and add = squid to the require line like so =20 # PROVIDE: dansguardian # REQUIRE: NETWORKING SERVERS squid # KEYWORD: shutdown that should start squid before dansquardian. at least in my case it does =20 regards, Johan Hendriks ________________________________ Van: owner-freebsd-questions@freebsd.org namens Mark D. Foster Verzonden: di 27-11-2007 21:18 Aan: ???? CC: freebsd-questions@freebsd.org Onderwerp: Re: dansguardian at boot time. +gateway server ???? wrote: > Hello > I installed dansguardian , gave it's entry in my /etc/rc.conf > squid_enable=3D"YES" > dansguardian_enable=3D"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. > =20 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/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"