From owner-freebsd-questions@FreeBSD.ORG Thu Mar 27 03:24:39 2003 Return-Path: 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 15C7C37B404 for ; Thu, 27 Mar 2003 03:24:39 -0800 (PST) Received: from hp2.euro.net.mk (hp2.euro.net.mk [212.110.94.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id C87AD43F75 for ; Thu, 27 Mar 2003 03:24:35 -0800 (PST) (envelope-from FreeBSD@euro.net.mk) Received: from [212.110.94.68] by hp2.euronet.com.mk (NTMail 7.00.0018/SG1971.09.57a4aa33) with ESMTP id veeqfaaa for freebsd-questions@freebsd.org; Thu, 27 Mar 2003 12:25:21 +0100 Date: Thu, 27 Mar 2003 12:25:20 +0100 From: Perica Veljanovski To: FreeBSD-Questions Message-Id: <20030327120245.6743.FREEBSD@euro.net.mk> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.01 X-VSMLoop: euronet.com.mk X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Squid external authentication startup problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 11:24:39 -0000 Hi, I'm running FreeBSD 4.7-RELEASE and I have Squid 2.5.STABLE1 and MySQL 3.23.54 installed. Squid is configured to use an external shell script "sqauth" as an authenticator via MySQL database, and it all works fine. Whenever I start squid as root it starts the squid daemon with 5 child proceses of sqauth (as configured), BUT when I reboot and start squid from /etc/rc.local or /usr/local/etc/rc.d/squid.sh the squid daemon starts without the sqauth child proceses. Same thing happens when I start squid from /etc/crontab as root, or any other user for that mather. I tryed giving 777 to squauth and squid, it doese not help. Doese anyone have any idea why is this happening? Can you give me another solution on starting squid after boot time with some kind of a script. -- Pitter <>