From owner-freebsd-questions@FreeBSD.ORG Thu Jun 2 13:36:48 2005 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 5D0E416A41C for ; Thu, 2 Jun 2005 13:36:48 +0000 (GMT) (envelope-from thelifecycle@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04EBB43D4C for ; Thu, 2 Jun 2005 13:36:47 +0000 (GMT) (envelope-from thelifecycle@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so296822wri for ; Thu, 02 Jun 2005 06:36:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sV3dgzsYmQMzdfHJXw2B9HQRGpelt5sGeXk66gBhH3leAC44CKZVvS8Em/Xp4l0iFAzIKHiDjdwxFc+pYCfdXtqwfbrX/jyXNA7lK07kL3VSbufSXkjCaSqRfJaKlblOn1xoOnz6v5pNt/g0FENIJyPtsVGtR7j8mB3ZMqqM1bk= Received: by 10.54.146.16 with SMTP id t16mr547123wrd; Thu, 02 Jun 2005 06:35:49 -0700 (PDT) Received: by 10.54.150.6 with HTTP; Thu, 2 Jun 2005 06:35:46 -0700 (PDT) Message-ID: <7044b8ca05060206356c0bba3c@mail.gmail.com> Date: Thu, 2 Jun 2005 07:35:46 -0600 From: Mark Gulbrandsen To: freebsd-questions@freebsd.org In-Reply-To: <781353165.20050602090850@hexren.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7044b8ca05060122466f3a268f@mail.gmail.com> <781353165.20050602090850@hexren.net> Subject: Re: squid rc startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Gulbrandsen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2005 13:36:48 -0000 On 6/2/05, Hexren wrote: > > I cannot get squid to startup automatically, and I'm lost. I've looked > > in the handbook and google'd this: Nothing is working. >=20 > > /etc/rc.conf does have squid_enable=3D"yes". >=20 > > I can start squid manualy using >=20 > > /usr/local/etc/rc.d/squid.sh start >=20 > > Can someone give me a clue? >=20 > > Thanks, >=20 > > Mark > > _______________________________________________ > > 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" >=20 > --------------------------------------------- >=20 > Really shooting in the dark here. >=20 > Is the default configuration file /usr/local/etc/squid/squid.conf > readable by the squid user ? >=20 > And is /usr/local/squid/logs (that is a dir) there ? >=20 > Does /var/log/messages (or $dmesg) have anything squid related after > boot up ? >=20 > Regards > Hexren >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >=20 I should've provided more information. It was late and I was half asleep. Sorry. Here it is: yoda# ll /usr/local/etc/rc.d/ total 2 -r-xr-xr-x 1 root wheel 1299 Apr 3 19:19 squid.sh yoda# yoda# cat /etc/rc.conf # -- sysinstall generated deltas -- # Mon May 30 09:01:59 2005 # Created: Mon May 30 09:01:59 2005 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. gateway_enable=3D"YES" linux_enable=3D"YES" moused_enable=3D"YES" sshd_enable=3D"YES" usbd_enable=3D"YES" pf_enable=3D"YES" pf_rules=3D"/etc/pf.conf" pf_flags=3D"" pflog_enable=3D"YES" pflog_logfile=3D"/var/log/pflog" pflog_flags=3D"" ifconfig_ed0=3D"inet 192.168.71.1 netmask 255.255.255.0" ifconfig_rl0=3D"DHCP" hostname=3D"yoda.sigcode.com" squid_enable=3D"yes" yoda# uname -a FreeBSD yoda.sigcode.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 yoda# I am able to start it manually and use it. For example, I am using it right now to access my gmail.com webmail account, but it didn't start automatically at boot; I had to start it manually. Therefore, it is configured correctly and works. It just won't start automatically on boot. If squid_enable=3D"YES" (mind the case), then it won't start manually eithe= r. Can anyone help me force squid to start on boot like sshd does? Regards, Mark