squid service not starting
service squid start
Starting squid: .................... [FAILED] Feb 25 16:11:19 localhost squid[3773]: Squid Parent: child process 3789 exited with status 1 Feb 25 16:11:22 localhost squid[3773]: Squid Parent: child process 3795 started Feb 25 16:11:23 localhost (squid): #011Failed to verify one of the swap directories, Check cache.log#012#011for details. Run 'squid -z' to create swap directories#012#011if needed, or if running Squid for the first time. Feb 25 16:11:23 localhost kernel: type=1400 audit(1361790683.301:11760): avc: denied { getattr } for pid=3795 comm="squid" path="/cache" dev=sda2 ino=2 scontext=unconfined_u:system_r:squid_t:s0 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=dir Feb 25 16:11:23 localhost squid[3773]: Squid Parent: child process 3795 exited with status 1 Feb 25 16:11:26 localhost squid[3773]: Squid Parent: child process 3802 started Feb 25 16:11:26 localhost (squid): #011Failed to verify one of the swap directories, Check cache.log#012#011for details. Run 'squid -z' to create swap directories#012#011if needed, or if running Squid for the first time. Feb 25 16:11:26 localhost kernel: type=1400 audit(1361790686.632:11761): avc: denied { getattr } for pid=3802 comm="squid" path="/cache" dev=sda2 ino=2 scontext=unconfined_u:system_r:squid_t:s0 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=dir Feb 25 16:11:26 localhost squid[3773]: Squid Parent: child process 3802 exited with status 1 Feb 25 16:11:26 localhost squid[3773]: Exiting due to repeated, frequent failures help me |
You don't acknowledge those error messages at all... did you even search for them? You'd have quite possibly ended up here if you had... http://www.linuxquestions.org/questi...roblem-762265/
A please / thank you would be recommended next time too btw. |
service squid start
Starting squid: .................... [FAILED] Feb 25 16:11:19 localhost squid[3773]: Squid Parent: child process 3789 exited with status 1 Feb 25 16:11:22 localhost squid[3773]: Squid Parent: child process 3795 started Feb 25 16:11:23 localhost (squid): #011Failed to verify one of the swap directories, Check cache.log#012#011for details. Run 'squid -z' to create swap directories#012#011if needed, or if running Squid for the first time. Feb 25 16:11:23 localhost kernel: type=1400 audit(1361790683.301:11760): avc: denied { getattr } for pid=3795 comm="squid" path="/cache" dev=sda2 ino=2 scontext=unconfined_u:system_r:squid_t:s0 tcontext=system_ubject_r:etc_runtime_t:s0 tclass=dir Feb 25 16:11:23 localhost squid[3773]: Squid Parent: child process 3795 exited with status 1 Feb 25 16:11:26 localhost squid[3773]: Squid Parent: child process 3802 started Feb 25 16:11:26 localhost (squid): #011Failed to verify one of the swap directories, Check cache.log#012#011for details. Run 'squid -z' to create swap directories#012#011if needed, or if running Squid for the first time. Feb 25 16:11:26 localhost kernel: type=1400 audit(1361790686.632:11761): avc: denied { getattr } for pid=3802 comm="squid" path="/cache" dev=sda2 ino=2 scontext=unconfined_u:system_r:squid_t:s0 tcontext=system_ubject_r:etc_runtime_t:s0 tclass=dir Feb 25 16:11:26 localhost squid[3773]: Squid Parent: child process 3802 exited with status 1 Feb 25 16:11:26 localhost squid[3773]: Exiting due to repeated, frequent failures |
why did you post that?
|
Quote:
|
I already have. Please actually read the responses you get.
|
Your SeLinux is screwing up here... If you disable it, then it will be all ok.
See http://www.crypt.gen.nz/selinux/disable_selinux.html for how to disable it. |
Quote:
Quote:
|
Quote:
|
Quote:
But the OP never indicates what version/distro of Linux, whether SElinux is enabled or not, any sort of permissions, or whether squid was ever working or if this is a new installation. Hard to say. |
Quote:
|
well i already disable SELINUX but result is same and also try restart
and im fresh 1st time using linux version fedora12 |
No, that's not true, the result can NOT be the same if you've disabled it. That's impossible.
And... Fedora 12????? That went out of support ages ago. do NOT use it under and circumstances. If this is a preopr server then use CentOS 6 once again, how about a please / thank you?? |
Quote:
|
I once encounter similar situation with fc17 , its not necessary to disable SELINUX
its definitely a permission issue ... check to make sure the swap directories are owned by squid user (chown squid:squid /var/spool/squid)...!!googd luck |
All times are GMT -5. The time now is 08:39 AM. |