Re: AW: [squid-users] squid error Permision denied

From: Colin Campbell <[email protected]>
Date: Fri, 23 Aug 2002 08:11:26 +1000 (EST)

Hi,

On Thu, 22 Aug 2002, kerasakti@nusa.net.id wrote:

> I have done it, pls explain more , i configure my squid.conf like QUICKSTART
>
> > Hi,
> >
> > below is a description how to get squid starting. This works fine for
> > me (SQUID 2.4 Stable 3 running on TRU64 5.1A). Maybe it would be
> > helpful to insert this procedure in the FAQ.
> >
> >
> >
> > Logon as root
> >
> > 1. get the name of the "squid user"
> >
> > # grep cache_effective_user squid.conf | grep -v "#"
> > cache_effective_user squid
> > #
> > ---> username = squid
> #pwd
> -->/usr/local/squid/etc
> #grep cache_effective_user squid.conf | grep -v "#" cache_effective_user
> squid
> -->grep: cache_effective_user: No such file or directory.
> ???????
> ????

You misinterpreted his instructions. His command was:

        grep cache_effective_user squid.conf | grep -v "#"

the output he got was:

        cache_effective_user squid

You should see something similar

> > 2. get the name of the cache directory
> > # grep cache_dir squid.conf | grep -v "#"
> > cache_dir ufs /data1/squid_cache 5000 32 512
> > #
> > ---> directory = /data1/squid_cache
> No such file or directory

So what does your squid.conf have as cache_dir?

That directory MUST be writable by the user defined in
cache_effective_user.

Colin

--
Colin Campbell
Unix Support/Postmaster/Hostmaster
CITEC
+61 7 3227 6334
Received on Thu Aug 22 2002 - 16:11:39 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:48 MST