Which Squid?

Christopher Chan christopher.chan at bradbury.edu.hk
Wed Mar 11 03:16:06 GMT 2009


Hello David,

It is impossible for there not to be a proxy group if the group owner 
shows up as proxy.

cheers,

Christopher

David Groos wrote:
> Thanks Gavin.  I just checked ownership of /var/spool/squid/ and found 
> that it was proxy. proxy.  I then checked and while there is a user 
> named 'squid' there is none called 'proxy'.  Likewise there was only a 
> group called, 'squid', none named, 'proxy'.  Does that matter?  Here 
> are the precise permissions for the folder /var/spool/:
>
> root at gcos1:/var/spool# ls -l
> total 28
> drwxr-xr-x 2 root        root        4096 2008-09-22 16:49 anacron
> drwxr-xr-x 5 daemon      daemon      4096 2008-09-22 16:12 cron
> drwx--x--- 3 root        lp          4096 2009-03-07 22:11 cups
> drwxr-xr-x 4 root        root        4096 2008-10-20 13:10 cups-pdf
> drwxr-x--- 5 Debian-exim Debian-exim 4096 2008-12-28 19:34 exim4
> lrwxrwxrwx 1 root        root           7 2008-09-22 15:55 mail -> ../mail
> drwxr-xr-x 3 root        root        4096 2008-09-22 16:11 openoffice
> drwxr-x--- 2 proxy       proxy       4096 2009-03-08 16:26 squid
> root at gcos1:/var/spool#
>
> Any thoughts?
>
> David
>
> On Mon, Mar 9, 2009 at 7:14 AM, Gavin McCullagh <gmccullagh at gmail.com 
> <mailto:gmccullagh at gmail.com>> wrote:
>
>     On Sun, 08 Mar 2009, David Groos wrote:
>
>     > Initializing the Squid cache with the command squid -f
>     > /etc/squid/squid.conf -z ..
>     >
>     > 2009/03/08 16:26:38| parseConfigFile: line 113 unrecognized:
>     'max_filedesc 0'
>     > 2009/03/08 16:26:38| Creating Swap Directories
>     > FATAL: Failed to make swap directory /var/spool/squid/00: (13)
>     Permission denied
>     > Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
>     > CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
>     > Maximum Resident Size: 0 KB
>     > Page faults with physical i/o: 0
>
>     It looks like the ownership of the directory /var/spool/squid is
>     wrong.  On
>     debian/ubuntu squid usually runs as the user "proxy".  The
>     directory must
>     therefore be owned by that user.
>
>            sudo chown proxy.proxy /var/spool/squid/
>
>     should do that, though if you installed the packaged version that
>     should be
>     looked after automatically.
>
>     Gavin
>
>
>
>     --
>     edubuntu-users mailing list
>     edubuntu-users at lists.ubuntu.com
>     <mailto:edubuntu-users at lists.ubuntu.com>
>     Modify settings or unsubscribe at:
>     https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>
>




More information about the edubuntu-users mailing list