[squid-users] permission denied cache

This is a discussion on [squid-users] permission denied cache within the Squid Users forums, part of the Web Server and Related Forums category; I downloaded the 2.5 Stable source and compiled and installed=20 as per the usual method. This was all ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-28-2004
Basisschool hillegem
 
Posts: n/a
Default [squid-users] permission denied cache

I downloaded the 2.5 Stable source and compiled and installed=20
as per the usual method. This was all done as a new user called squid=20
which was created before install.

when i run squid -z I get the classical error:
2004/01/28 10:15:30| Creating Swap Directories
FATAL: Failed to make swap directory /usr/local/squid/cache: (13) Permission
denied
Squid Cache (Version 2.5.STABLE4): Terminated abnormally.
CPU Usage: 0.000 seconds =3D 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 13

I lookt it up and i found some solutios:
change the owner of the cache and logs directory.
i.e. # chown -R nobody.nogroup /usr/local/squid/cache
# chown -R nobody.nogroup /usr/local/squid/logs

did not work.

i had :

lionking:# ls -ld /usr/local/squid/cache/
drwxr-xr-x 2 squid squid 4096 Jan 28 11:07 /usr/local/squid/cache/

then i tried :

lionking:# ls -ld /usr/local/squid/cache/
drwxr-xr-x 2 nobody nogroup 4096 Jan 28
11:07/usr/local/squid/cache/till does not work.

note:
I changd in squid.conf :
cache_effective_user squid
cache_effective_group squid

my local:
lionking:# ls -ld /usr/local/
drwxrwxrwx 14 root root 4096 Jan 28 11:14 /usr/local/


and squid:
lionking# ls -ld /usr/local/squid/
drwxrwxrwx 11 root root 4096 Jan 28 11:07 /usr/local/squid/


What is going failt. I work with debian as OS.

mgv kenneth

__________________________________________________ _______________
Je horoscoop al gelezen? http://www.msn.be/horoscoop

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:05 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0