On 14/07/2013 5:01 p.m., jc.yin wrote:
Here's what I get:

"root@Squid:~# sudo service squid3 stop
squid3 stop/waiting
root@Squid:~# sudo service squid3 start
squid3 start/running, process 3230
root@Squid:~# squid3 -z
2013/07/14 04:59:47| squid.conf line 814: http_access allow
2013/07/14 04:59:47| aclParseAccessLine: Access line contains no ACL's
, skipping

That is a strange message. You have a http_access line that does not contains any ACLs?


2013/07/14 04:59:47| WARNING cache_mem is larger than total disk cache
  space!
2013/07/14 04:59:47| Squid is already running!  Process ID 3230"

You re-started Squid before the -z operation.

The order of commands is:
  service squid3 stop
  ps aux | grep squid
# check that it really has stopped. That may take 30 seconds. repeat the ps if necessary.
  squid3 -z
  service squid3 start


You can ignore that WARNING, it is bogus.

Or you can increase the configured cache size to some larger cache size befrore doing the above -z commands.

Amos

Reply via email to