[Server-devel] Need Squid help

John Watlington wad at laptop.org
Mon Feb 11 15:58:47 EST 2008


On Feb 9, 2008, at 10:46 PM, Tony Pearson wrote:

>
> Adrian,
> My squid fails at boot time.
>
> ===>First, I found three different squid.conf files:
>
> [root at schoolserver conf]# find /etc -name squid.conf -print
> /etc/httpd/conf.d/squid.conf

This configures a cache manager page using Apache (haven't
payed any attention to this --- should probably disable)

> /etc/squid.conf

No idea where this came from

> /etc/squid/squid.conf

This is the squid configuration file

> The first two are regular files, the last one is a symbolic link:

Configuration files that are part of the xs-config package
are linked into place.

> When I checked, I see that "port 3128" is being listened to in the  
> "/etc/httpd/conf/httpd.conf" file for Apache.
> Should I remove that from Apache, so that squid can have it, or  
> should I try to get squid to use a different port?

That is a mistake that should have been fixed in newer xs-config  
packages.
Remove it.

Your next problem will probably be a need to `mkdir /library/cache;  
chmod a+w /library/cache`.

The problem after that will be pulling it all together.
Take a look at these scripts:
http://xs-dev.laptop.org/wad/TURN_SQUID_ON
http://xs-dev.laptop.org/wad/TURN_SQUID_OFF

You will also need to place this file:
http://xs-dev.laptop.org/wad/iptables.principal.cache
into /etc/sysconfig/olpc-scripts/  before running the above
scripts.

John



More information about the Server-devel mailing list