Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 1999 23:03:01 +0100
From:      gurab <c.raven@ukonline.co.uk>
To:        Jilani Khaldi <delphi@agata.clio.it>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD cannot open log file!
Message-ID:  <371CF995.9A98D9E0@ukonline.co.uk>
References:  <371CEA45.1409B84B@agata.clio.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <file> 

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?371CF995.9A98D9E0>