From owner-freebsd-questions Tue Apr 20 15: 4:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from wolf.cian.net (tnt-3-144.easynet.co.uk [195.40.202.144]) by hub.freebsd.org (Postfix) with ESMTP id A40D414F8D for ; Tue, 20 Apr 1999 15:04:30 -0700 (PDT) (envelope-from c.raven@ukonline.co.uk) Received: from ukonline.co.uk (localhost.cian.net [127.0.0.1]) by wolf.cian.net (8.9.2/8.9.2) with ESMTP id XAA03270; Tue, 20 Apr 1999 23:03:01 +0100 (BST) (envelope-from c.raven@ukonline.co.uk) Message-ID: <371CF995.9A98D9E0@ukonline.co.uk> Date: Tue, 20 Apr 1999 23:03:01 +0100 From: gurab Organization: CIAN X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 3.1-RELEASE i386) MIME-Version: 1.0 To: Jilani Khaldi Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD cannot open log file! References: <371CEA45.1409B84B@agata.clio.it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jilani Khaldi wrote: > > Hi all, > when FreeBSD starts I have a ton of this message > squid[278] cannot open log file > squid[315] cannot open log file > squid[..] cannot open log file > ... > Even after logging on as root, I contnue to receive this message. > What's the trouble, and the solution? > > Where can I put this command: bash -i, so I don't have to digit it every > time I rebbot, and login? > > What is the equivalent files of DOS Config.sys, and Autoexec.bat in > FreeBSD? > > Thank you. > > jk > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message A better question would be - is your Squid working OK? If it can't open the log files then its not installed properly (AFAIK) Check the read permissions on the files - in fact, check if they even exist ! /usr/local/squid/logs/NAME OF FILE are they there? (I have cache.log squid.log store.log access.log - but depends on how you configured squid) If they exist then chown them to nobody # chown nobody then type: # kill -hup 1 to restart squid and see if the errors stop. CR -- A computer is for life, not just for Christmas http://www.freebsd.org/ FreeBSD ..... anything else is computer cruelty To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message