Hello. I am running Red Hat Enterprise Linux AS 4 with the squid-2.5.STABLE6-3.4E.11 package and am trying to add a second cache_dir to my Squid configuration. However, Squid will not start when the second cache_dir line is in my squid.conf file. Before adding the second cache_dir line, i added a hard drive to the system that is mounted on /cache. Within that there is a squid directory. Here is how ownership and permissions are set: # ls -ld /cache /cache/squid drwxr-xr-x 4 root root 4096 Oct 19 16:18 /cache drwxr-xr-x 18 squid squid 4096 Oct 19 15:06 /cache/squid I added a line to squid.conf that looks like this: cache_dir ufs /cache/squid 6856 16 256 After running "squid -z" the /cache/squid directory looks like this: # ls -l /cache/squid total 128 drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 00 drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 01 drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 02 drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 03 drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 04 drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 05 drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 06 drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 07 drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 08 drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 09 drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 0A drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 0B drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 0C drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 0D drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 0E drwxr-xr-x 258 squid squid 4096 Oct 21 10:09 0F When i try to start Squid (with "/etc/init.d/squid start"), it fails with a lot of output to the cache.log (other logs don't receive any output). I've copied squid.conf and the cache.log below. If anyone can tell me what i've misconfigured or can do to get Squid running, i would be appreciative. Thanks in advance for your time. ==========> begin squid.conf <========== hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY maximum_object_size 131072 KB cache_dir ufs /cache/squid 6856 16 256 cache_dir ufs /var/spool/squid 1000 16 256 auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours auth_param basic casesensitive off refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 # https, snews acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT acl Updates dstdomain .akadns.com acl Updates dstdomain .akadns.net acl Updates dstdomain .akamai.com acl Updates dstdomain .akamai.net acl Updates dstdomain .edgesuite.net acl Updates dstdomain .footprint.net acl Updates dstdomain .microsoft.com acl Updates dstdomain .msft.com acl Updates dstdomain .msft.net acl Updates dstdomain .nsatc.com acl Updates dstdomain .nsatc.net acl Updates dstdomain .speedera.com acl Updates dstdomain .speedera.net acl Updates dstdomain .windows.com acl Updates dstdomain .windows.net acl Updates dstdomain .windowsupdate.com acl Updates dstdomain .windowsupdate.net acl Updates dstdomain .apple.com http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access deny to_localhost http_access deny !Updates acl our_networks src 10.0.0.0/8 http_access allow our_networks http_access allow localhost http_access deny all http_reply_access allow all icp_access allow all httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on coredump_dir /var/spool/squid ==========> end squid.conf <========== ==========> begin cache.log <========== 2005/10/21 10:14:38| Starting Squid Cache version 2.5.STABLE6 for i386-redhat-linux-gnu... 2005/10/21 10:14:38| Process ID 3463 2005/10/21 10:14:38| With 1024 file descriptors available 2005/10/21 10:14:38| DNS Socket created at 0.0.0.0, port 32770, FD 4 2005/10/21 10:14:38| Adding nameserver 10.1.0.26 from /etc/resolv.conf 2005/10/21 10:14:38| Adding nameserver 10.1.0.25 from /etc/resolv.conf 2005/10/21 10:14:38| User-Agent logging is disabled. 2005/10/21 10:14:38| Referer logging is disabled. 2005/10/21 10:14:38| Unlinkd pipe opened on FD 9 2005/10/21 10:14:38| Swap maxSize 8044544 KB, estimated 618811 objects 2005/10/21 10:14:38| Target number of buckets: 30940 2005/10/21 10:14:38| Using 32768 Store buckets 2005/10/21 10:14:38| Max Mem size: 8192 KB 2005/10/21 10:14:38| Max Swap size: 8044544 KB 2005/10/21 10:14:38| /cache/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.062 seconds = 0.033 user + 0.029 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 2005/10/21 10:14:41| Starting Squid Cache version 2.5.STABLE6 for i386-redhat-linux-gnu... 2005/10/21 10:14:41| Process ID 3470 2005/10/21 10:14:41| With 1024 file descriptors available 2005/10/21 10:14:41| DNS Socket created at 0.0.0.0, port 32770, FD 4 2005/10/21 10:14:41| Adding nameserver 10.1.0.26 from /etc/resolv.conf 2005/10/21 10:14:41| Adding nameserver 10.1.0.25 from /etc/resolv.conf 2005/10/21 10:14:41| User-Agent logging is disabled. 2005/10/21 10:14:41| Referer logging is disabled. 2005/10/21 10:14:41| Unlinkd pipe opened on FD 9 2005/10/21 10:14:41| Swap maxSize 8044544 KB, estimated 618811 objects 2005/10/21 10:14:41| Target number of buckets: 30940 2005/10/21 10:14:41| Using 32768 Store buckets 2005/10/21 10:14:41| Max Mem size: 8192 KB 2005/10/21 10:14:41| Max Swap size: 8044544 KB 2005/10/21 10:14:41| /cache/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.061 seconds = 0.033 user + 0.028 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 2005/10/21 10:14:44| Starting Squid Cache version 2.5.STABLE6 for i386-redhat-linux-gnu... 2005/10/21 10:14:44| Process ID 3476 2005/10/21 10:14:44| With 1024 file descriptors available 2005/10/21 10:14:44| DNS Socket created at 0.0.0.0, port 32770, FD 4 2005/10/21 10:14:44| Adding nameserver 10.1.0.26 from /etc/resolv.conf 2005/10/21 10:14:44| Adding nameserver 10.1.0.25 from /etc/resolv.conf 2005/10/21 10:14:44| User-Agent logging is disabled. 2005/10/21 10:14:44| Referer logging is disabled. 2005/10/21 10:14:44| Unlinkd pipe opened on FD 9 2005/10/21 10:14:44| Swap maxSize 8044544 KB, estimated 618811 objects 2005/10/21 10:14:44| Target number of buckets: 30940 2005/10/21 10:14:44| Using 32768 Store buckets 2005/10/21 10:14:44| Max Mem size: 8192 KB 2005/10/21 10:14:44| Max Swap size: 8044544 KB 2005/10/21 10:14:44| /cache/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.059 seconds = 0.029 user + 0.030 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 2005/10/21 10:14:47| Starting Squid Cache version 2.5.STABLE6 for i386-redhat-linux-gnu... 2005/10/21 10:14:47| Process ID 3482 2005/10/21 10:14:47| With 1024 file descriptors available 2005/10/21 10:14:47| DNS Socket created at 0.0.0.0, port 32770, FD 4 2005/10/21 10:14:47| Adding nameserver 10.1.0.26 from /etc/resolv.conf 2005/10/21 10:14:47| Adding nameserver 10.1.0.25 from /etc/resolv.conf 2005/10/21 10:14:47| User-Agent logging is disabled. 2005/10/21 10:14:47| Referer logging is disabled. 2005/10/21 10:14:47| Unlinkd pipe opened on FD 9 2005/10/21 10:14:47| Swap maxSize 8044544 KB, estimated 618811 objects 2005/10/21 10:14:47| Target number of buckets: 30940 2005/10/21 10:14:47| Using 32768 Store buckets 2005/10/21 10:14:47| Max Mem size: 8192 KB 2005/10/21 10:14:47| Max Swap size: 8044544 KB 2005/10/21 10:14:47| /cache/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.061 seconds = 0.030 user + 0.031 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 2005/10/21 10:14:51| Starting Squid Cache version 2.5.STABLE6 for i386-redhat-linux-gnu... 2005/10/21 10:14:51| Process ID 3489 2005/10/21 10:14:51| With 1024 file descriptors available 2005/10/21 10:14:51| DNS Socket created at 0.0.0.0, port 32770, FD 4 2005/10/21 10:14:51| Adding nameserver 10.1.0.26 from /etc/resolv.conf 2005/10/21 10:14:51| Adding nameserver 10.1.0.25 from /etc/resolv.conf 2005/10/21 10:14:51| User-Agent logging is disabled. 2005/10/21 10:14:51| Referer logging is disabled. 2005/10/21 10:14:51| Unlinkd pipe opened on FD 9 2005/10/21 10:14:51| Swap maxSize 8044544 KB, estimated 618811 objects 2005/10/21 10:14:51| Target number of buckets: 30940 2005/10/21 10:14:51| Using 32768 Store buckets 2005/10/21 10:14:51| Max Mem size: 8192 KB 2005/10/21 10:14:51| Max Swap size: 8044544 KB 2005/10/21 10:14:51| /cache/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.060 seconds = 0.026 user + 0.034 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 ==========> end cache.log <========== ------------------------------------------------------------------------ Dan Ramaley Network Programmer/Analyst (515) 271-4540 Dial Center 118, Drake University