When I try to start the Squid service, www/lusca-head, with
Trying to initialize the cache, with
In my squid.conf I have the following lines:
In /etc/passwd
In /etc/fstab
And
That's really weird, since even setting the correct user and file permissions in those files I cannot start the service. Does anybody know what could be done to start it?
/usr/local/etc/rc.d/squid start
, I'm getting the following error:
Code:
FATAL: Unable to open configuration file: /usr/local/etc/squid/squid.conf: (13) Permission denied
squid -z
, I get the error:
Code:
FATAL: Failed to make swap directory /var/cache/squid/aufs: (13) Permission denied
Code:
cache_dir aufs /var/cache/squid/aufs 30720 16 256
cache_effective_user squid
cache_effective_group wheel
In /etc/passwd
Code:
squid:*:100:100:Squid caching-proxy pseudo user:/usr/local/squid:/usr/sbin/nologin
In /etc/fstab
Code:
/dev/gpt/cacheaufs /var/cache/squid ufs rw 2 2
ls -l /usr/local/etc/squid/squid.conf
returns
Code:
-rwxr--r-- 1 squid wheel 3329 Aug 14 21:11 /usr/local/etc/squid/squid.conf
And
ls -l /var/cache/squid
returns
Code:
drwxrwxrwx 18 squid wheel 512 Aug 14 19:26 aufs
That's really weird, since even setting the correct user and file permissions in those files I cannot start the service. Does anybody know what could be done to start it?