Re: SQUID DENIES EVERYONE

From: Maciej Kozinski <Maciej.Kozinski@dont-contact.us>
Date: Tue, 20 Jul 1999 10:21:01 +0200 (CEST)

Clement:
> x.x.x.9. This new squid suddenly denies all accesses. This persists
> even after I reboot the box several times. And even after I renumber
> it back to x.x.x.20!
>
> Before I quit, I reconfigure it to allow access to all. This is an
> extract from cache manager's General Runtime Information:
>
> ...
> http_access Allow all
> icp_access Allow all
> miss_access Allow all
> proxy_auth_realm Squid proxy-caching web server
> ident_lookup_access Deny all
> cache_mgr webmaster
> cache_effective_user squid
> cache_effective_group squid
> ...
>
> The http_access, icp_access and miss_access lines are the only "Allow"
> lines in the entire configuration list. The "Deny" lines are listed
> below:
>
> ...
> no_cache Deny QUERY
> ...
> ident_lookup_access Deny all
> ...
> uri_whitespace deny
> ...
>
> As you may expect, the squid is still denying access to everyone. Do
> you have a clue?
>

Don't know what exactly happened. Try to make telnet to your squid box at the
squid's port to check out the squid is really running, not respawning and
closing all the time. Assuming your http_port is 3130 you should make this:

telnet localhost 3130

and check out for establishing connection. If it is runninng, your problem could
be bad ACL setup.

Then you should look at:
 /usr/local/squid/squid.out
 /usr/local/squid/logs/cache.log
 /usr/local/squid/logs/access.log

 BTW: is that allowed to use capitals in "allow" and "deny" in acls?

 Regards,
 Maciej

-- 
           Maciej Kozinski         http://www.uck.uni.torun.pl/~maciek/ 
	   Remember: Un*x _IS_ user friendly... It's just selective about
		     who it's friends are.
Received on Tue Jul 20 1999 - 02:30:33 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:28 MST