Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2000 13:33:36 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Nils Holland <ncptiddische@compuserve.com>
Cc:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: SQUID under FreeBSD
Message-ID:  <20000103133336.A6781@dan.emsphone.com>
In-Reply-To: <200001031415_MC2-932E-3E4C@compuserve.com>; from "Nils Holland" on Mon Jan  3 14:15:37 GMT 2000
References:  <200001031415_MC2-932E-3E4C@compuserve.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 03), Nils Holland said:
> Hi folks,
> today I wanted to install the SQUID HTTP-Proxy on my FreeBSD machine. So I
> used the PORTS-system in order to get SQUID22-STABLE. It installed
> correctly and does now start at system-boot.
> 
> The problem is that it gives me an error message that it cannot
> access its logfile access.log unter /usr/local/squid/logs. I had a
> look at that directory and it's empty. As far as I know SQUID will
> create the access.log file as well as some other logfiles there when
> it's started for the first time. Since it failed to do so, I think
> the permissions for that directory must be set wrong. After having a
> look at that I saw the following permissions for /usr/local/squid:
> 
> OWNER: root
> GROUP: Wheel
> READ ACCESS: everybody
> WRITE ACCESS: owner
> EXEC. ACCESS: everybody

Squid runs as user 'nobody', so it can't create the logfiles.  Just do
a "chown -R nobody /usr/local/squid" and you should be all set.  Sort
of odd that the port didn't do this.

-- 
	Dan Nelson
	dnelson@emsphone.com


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?20000103133336.A6781>