Hi all,
well welll well have the same pb of rights but quite sure my rights are good ... cause i've started Squid one time and it worked now i have reinitilised the cache due to squid process that stack overflowed the memory ...
Using Fedora Core 3
configured my cache directory like that :
chown squid:squid to my /usr/local/squid/cache.
chmod 770 /usr/local/squid/cache
drwxrwx--- 2 squid squid 4096 nov 26 17:46 cache
and also have changed to my var/log/squid directory
drwxrwx--- 2 squid squid 4096 nov 29 12:14 squid
Squid fail when initializing the /etc/init.d/squid start
init_cache_dir /usr/local/squid/cache... Démarrage de squid :.................... [FAILED]
In the squid.out have :
2004/11/29 12:09:10| Creating Swap Directories
FATAL: Failed to make swap directory /usr/local/squid/cache/00: (13) Permission denied
Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 0.002 seconds = 0.002 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
In the cache.log :
2004/11/29 12:09:24| /usr/local/squid/cache/00: (2) No such file or directory
FATAL: Failed to verify one of the swap directories, Check cache.log
for details. Run 'squid -z' to create swap directories
if needed, or if running Squid for the first time.
Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 0.059 seconds = 0.031 user + 0.028 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
when trying to launch squid -z i have nothing on the console :
[root@azimov squid]# squid -z
[root@azimov squid]#
I'm sure that it's a pb of rights but where i d'on't have a clue where the error might be ...
any ideas
bye