On 2014-02-12 05:41, khadmin wrote:
HI,
Finally i find a solution for my problem.
Indeed i Uncomment and adjust the following to add a disk cache directory. #cache_dir ufs /usr/local/squid/var/cache/squid 100 16 256 the squid.conf
file
The solution was on the squid web page
http://www.squid-cache.org/Doc/config/cache_dir/
<http://www.squid-cache.org/Doc/config/cache_dir/>
Now the initialization works good and the directories are created under
/var/sppols/squid3

The problem seems to be a bug in webmin.

1) Squid does not require disk cache. It will run fine these days using memory as the cache (faster even sometimes). Thus the directive is commented out by default to prevent beginners from having to fiddle around with squid -z and directory configurations just to start Squid.


2) Squid -z was just informing that there were no cache disk directories to be formatted according to the squid.conf.


3) Running squid -z without any configured disk cache will have no effect other than printing that message.


Amos

Reply via email to