Quote:
Originally Posted by bathory
What error do you get? Check the logfiles to see if you find out why squid does not start.
What is the output of:
Code:
ls -l /Cache1/squid
ls -l /Cache2/squid
|
This is the output of cache.log when I changed the cache_dir.
2008/10/16 12:18:35| Starting Squid Cache version 2.5.STABLE6 for i386-redhat-linux-gnu...
2008/10/16 12:18:35| Process ID 3936
2008/10/16 12:18:35| With 1024 file descriptors available
2008/10/16 12:18:35| DNS Socket created at 0.0.0.0, port 32771, FD 4
2008/10/16 12:18:35| Adding nameserver 202.147.176.40 from /etc/resolv.conf
2008/10/16 12:18:35| Adding nameserver 202.147.176.41 from /etc/resolv.conf
2008/10/16 12:18:35| User-Agent logging is disabled.
2008/10/16 12:18:35| Referer logging is disabled.
2008/10/16 12:18:35| Unlinkd pipe opened on FD 9
2008/10/16 12:18:35| Swap maxSize 36864000 KB, estimated 2835692 objects
2008/10/16 12:18:35| Target number of buckets: 141784
2008/10/16 12:18:35| Using 262144 Store buckets
2008/10/16 12:18:35| Max Mem size: 524288 KB
2008/10/16 12:18:35| Max Swap size: 36864000 KB
2008/10/16 12:18:35| /Cache1/squid: (13) Permission denied
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.012 seconds = 0.005 user + 0.007 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
The output of ls -l is given below:
ls -l /Cache1/squid
total 128
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 00
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 01
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 02
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 03
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 04
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 05
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 06
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 07
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 08
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 09
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 0A
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 0B
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 0C
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 0D
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 0E
drwxr-xr-x 258 squid squid 4096 Oct 9 10:53 0F
In the light of the above output please guide me.
Thanks