I am getting this message when setting up squid for the first time, on mac os x using webmin.
Your Squid cache directory /usr/local/squid/var/cache has not been initialized.This must be done before Squid can be run.
When i click on the initialize cache button, i get the message
Initializing the Squid cache with the command /usr/local/squid/sbin/squid -f /usr/local/squid/etc/squid.conf -z ..
2011/09/15 10:05:44| Creating Swap Directories
when i go back to start squid it takes me to the first message it hasnt initialized the cache, what could be the problem?
Best Answer
Yes, This is permission issue. What are the permissions on /usr/local/squid/ ? Who owns that directory? You can change it:
To change owners:
chown squid /usr/local/squid/
Permissions:
chmod u+rw /usr/local/squid