[plug] Squid config
Brad Campbell
brad at seme.com.au
Tue Feb 15 21:32:13 WST 2000
Subba Rao wrote:
>
> I am trying to configure Squid to work on my system for web caching.
> I followed the document QUICKSTART that came with the source. My domainname
> is a private domain name. When I try to start squid I get the following
> error message:
>
> ------------------------------------------------------
> (0)root at myhost:~ => /usr/local/squid/bin/squid -z
> 2000/02/15 07:42:09| parse_peer: token='[proxy-only]'
> FATAL: Bungled squid.conf line 216: cache_peer myhost.mydomain.com parent 3128 3130 [proxy-only]
> Squid Cache (Version 2.3.STABLE1): Terminated abnormally.
> CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 302
> ------------------------------------------------------
>
> The cache_peer values have the following settings.
>
> cache_peer myhost.mydomain.com parent 3128 3130 [proxy-only]
> cache_peer myhost1.mydomain.com sibling 3128 3130 [proxy-only]
> cache_peer myhost2.mydomain.com sibling 3128 3130 [proxy-only]
> cache_peer myhost3.mydomain.com sibling 3128 3130 [proxy-only]
> cache_peer myhost4.mydomain.com sibling 3128 3130 [proxy-only]
>
> I don't know if this is the right setting for cache_peer.
> Any input from squid admins appreciated.
Try getting rid of the square brackets around the proxy-only..
I seem to remember that cured my problem.
Generally, when looking at a config line, the [ ] means that
is an optional statement, not to put [ ] around the statement..
--
Brad....
"The ultimate result is that some innovations that would
truly benefit consumers never occur for the sole reason
that they do not conincide with Microsoft's self-interest"
- Judge Thomas Penfield Jackson
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
More information about the plug
mailing list