From owner-freebsd-questions Fri Nov 13 06:32:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA12713 for freebsd-questions-outgoing; Fri, 13 Nov 1998 06:32:18 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA12707 for ; Fri, 13 Nov 1998 06:32:14 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.9.1a/8.9.1) with ESMTP id OAA20902; Fri, 13 Nov 1998 14:31:39 GMT Message-ID: <364C42CA.C016BAF@tdx.co.uk> Date: Fri, 13 Nov 1998 14:31:38 +0000 From: Karl Pielorz Organization: TDX - The Digital eXchange X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Alex Davidson CC: FreeBSD Questions Mailing List Subject: Re: Squid Errors References: <364C3D2A.E3498C8@idcomm.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alex Davidson wrote: > > Having installed Squid on my 2.2.7 system, whenever I boot I get > numerous errors like this: > squid[329]: Starting Squid Cache versrion 1.2.beta22 dor > i386-unknown-freebsd2.2.6... > squid[329]: Process ID 329 > squid[329]: Process ID 329 > squid[329]: /usr/local/squid/logs/access.log: (13) Persmission denied > squid[329]: /usr/local/squid/logs/access.log: (13) Persmission denied > squid[329]: Cannot open logfile. > squid[329]: Cannot open logfile. > squid[329]: Cannot open logfile. > > First thing it seems is that it's reporting it's a beta, Second it's for > 2.2.6 and my system is 2.2.7. You don't say how you installed it - Was it from the ports collection? - Have you rebuilt your system (i.e. was it ever 2.2.6?) - Maybe you'd installed Squid previously, and its the one from the older system? > The conf file didn't have the log file line uncommented at first so I > did that, the file also didn't exists at first but it does now. > > I am only using one user - root so I do *think* it can be security on > the file. Squid rarely runs as root - it normally runs as 'unknown' or on our systems as a seperate user called 'squid' - It's complaining because it can't write to it's log files... Look through your squid config file - and find out who it's running as, then touch the log files, and chown them to the user Squid is running as... Of course, you might not have those directories to begin with, again - check they exist and are writeable by the user Squid is running as... Good luck, Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message