TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:13575] Squid config



Subba Rao <subb3@attglobal.net> writes:

> 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@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.

Do you actually want the caching to be done on multiple machines?  If not,
then just comment out all of the cache_peer lines and go.  
-- 
Jon Schewe 
http://eggplant.mtu.net/~jpschewe
schewe@tcfreenet.org