Hide Forgot
Description of problem: I cleared the /var/spool/squid directory and used "squid -z" to recreate the squid cache directories but it doesnt work. Permissions for /var/spool/squid are okay. Version-Release number of selected component (if applicable): squid-3.1.10-1.fc13.i686 How reproducible: Always Steps to Reproduce: 1. stop service squid 2. remove all contents in /var/spool/squid 3. do a "squid -z" Actual results: /var/spool/squid stays empty Expected results: /var/spool/squid to be filled with swap directories Additional info:
Hi, it depends on setting option 'cache_dir' that is commented by default in squid-3.1. If you have no cache_dir defined in squid.conf there will not be created swap dirs: http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.7-RELEASENOTES.html#ss3.2 "... cache_dir Default changed to 256MB in-memory cache. see cache_mem and maximum_object_size_in_memory for size parameters. 'null' storage type dropped. In-memory cache is always present. Remove all cache_dir options to prevent on-disk caching. ..." What about your configuration?
Thank you. That, indeed, was my problem. It's solved now by uncommenting the line. Best regards, Eddie.