Chris Robertson wrote:
Dayo Adewunmi wrote:
Hi all

I've installed squid 2.6.STABLE18 and made my changes to /etc/squid/squid.conf

Now, when I run squid -z I get this error:

# squid -z
2009/07/13 20:44:16| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 691: http_access deny all
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.


So I commented out the above directive and reran squid -z, only to get another similar error:

# squid -z
2009/07/13 20:44:46| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 733: icp_access allow all
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.

What am I doing wrong here?

You have removed the default "all" acl.

acl all src 0.0.0.0/0.0.0.0

Have a read through the FAQ section on ACLs and http_access rules:

http://wiki.squid-cache.org/SquidFaq/SquidAcl


Dayo

Chris


Yes, indeed I have. I didn't notice I had commented it out.
Now, it's working smoothly. Thank you! :-)

Dayo

Reply via email to