Koozali.org formerly Contribs.org

[SOLVED] Squid has vanished! SME8.1.

Re: Squid has vanished! SME8.1.
« Reply #15 on: October 10, 2014, 05:15:08 AM »
if I do a "ls -al" on the /var/spool/squid folder, it returns:
Quote
drwxr-x---  18 squid squid 4096 Oct  9 17:02 .
drwxr-xr-x  14 root  root  4096 Aug 24 15:25 ..
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 00
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 01
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 02
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 03
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 04
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 05
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 06
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 07
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 08
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 09
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 0A
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 0B
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 0C
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 0D
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 0E
drwxr-x--- 258 squid squid 4096 Oct  9 17:01 0F
-rw-r--r--   1 root  root     1 Oct 10 09:45 swap.state

Am I right in assuming that the swap.state file should have the same permissions as the rest of those files do...ie. drwxr-x--- 258 squid squid 4096?

[SOLVED] Re: Squid has vanished! SME8.1.
« Reply #16 on: October 10, 2014, 05:48:41 AM »
OK, think its been sorted...

I ended up changing the ownership to squid...
Code: [Select]
chown -R squid.squid swap.state
and that seemed to fix it.
checked logs, and squid seems happy, re-enabled the cache and internet works. tried going to the same page and saw that TCP HITS were happening.

Not sure of the cause... but happy its up and running again.

Thank you all for all your help.
I appreciate it.