Re: SQUID quit..!

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 31 Jul 1999 17:33:24 +0200

Angel Vera wrote:
>
> After setting up my squid as i think is correct i tri to run it and for some
> extrange reason after starting everything the process just die..!? i try to run
> it on squid -X but it doesn't show me why it crash! what could it be the
> reason...

See logs/cache.log (or run squid with options -Nd3 to see the same
output on the screen while Squid is running).

A couple of guesses:
a) Maybe you haven't run "squid -z" to initialize the cache yet..
b) Another Squid is already running
c) Your Squid user does not have permission to write in one of the
needed directories (logs or cache)

> ACL problem:
> is this rigth?
> acl angel 192.168.0.1-192.168.0.16/255.255.255.0
> will this allow all the user on 192.168.0.1 to 192.168.0.16 to browse?

acl only defines different classes, you must then use http_access to say
what access that class have, like the following:

# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
acl angel 192.168.0.1-192.168.0.16
http_access allow angel
http_access deny all

Also, beware that your definition of angel matches
192.168.0.0-192.168.0.255 due to the netmask used. To match
192.168.0.0-192.168.0.16 use one of 192.168.0.0-192.168.0.16,
192.168.0.0/255.255.255.240 or 192.168.0.0/28

--
Henrik Nordstrom
Spare time Squid hacker
Received on Sat Jul 31 1999 - 09:59:07 MDT

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