Linux Fedora Core 6 running as SQUID proxy server.
Running SQUID 2.6 Stable 9
Cache directories
/cache01
/cache02
Log directories
/squid/log
I can successfully create the swap directories and run the squid as a daemon process, but I can't get it to run on boot using the chckconfig squid on and I can't start the service using service squid start. When I try that my squid.out file fills up with
FATAL: cache_dir /cache01/cache: (13) Permission denied
Squid Cache (Version 2.6.STABLE9): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 9
2007/05/07 09:46:06| Creating Swap Directories
FATAL: Failed to make swap directory /cache01/cache: (13) Permission denied
Squid Cache (Version 2.6.STABLE9): 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
FATAL: Failed to make swap directory /cache02/cache: (13) Permission denied
Squid Cache (Version 2.6.STABLE9): 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
2007/05/07 09:46:07| Creating Swap Directories
FATAL: Failed to make swap directory /cache01/cache: (13) Permission denied
Squid Cache (Version 2.6.STABLE9): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.000 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Failed to make swap directory /cache02/cache: (13) Permission denied
Squid Cache (Version 2.6.STABLE9): 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
FATAL: cache_dir /cache01/cache: (13) Permission denied
Squid Cache (Version 2.6.STABLE9): 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
FATAL: cache_dir /cache01/cache: (13) Permission denied
Squid Cache (Version 2.6.STABLE9): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 9
FATAL: cache_dir /cache01/cache: (13) Permission denied
Squid Cache (Version 2.6.STABLE9): 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
I'm certain I have the directory permissions correct else the daemon wouldn't run and I wouldn't be able to use the proxy. How can I get the service to run on boot?
Thanks in advance...