Re: questions about squid

From: Mark Cooke <mpc@dont-contact.us>
Date: Fri, 28 Nov 1997 17:04:44 +0000 (GMT)

On Fri, 28 Nov 1997, Dominik Weis wrote:

> I have a few questions about squid and I hope somebody can answer the
> questions.
>
> 1.)
>
> When I try to compile squid-1.2.beta7 I get that error message:
>
> make[1]: Entering directory `/root/squid/squid-1.2.beta7/src'
> gcc -g -O2 -Wall -I. -I../include -I./../include -c
> cache_cf.c -o cache_cf
> .o
> cf_parser.c: In function `parse_line':
> In file included from cache_cf.c:1115:
> cf_parser.c:388: structure has no member named `snmp'
> cf_parser.c: In function `dump_config':
> cf_parser.c:516: structure has no member named `snmp'
> cf_parser.c: In function `free_all':
> cf_parser.c:636: structure has no member named `snmp'
> make[1]: *** [cache_cf.o] Error 1
> make[1]: Leaving directory `/root/squid/squid-1.2.beta7/src'
> make: *** [all] Error 1

There's a set of latest patches to beta 7 already on the web site. They
fix this problem. You'll also need to uncomment the SNMP lines in the
makefile, and fix a #define problem if you use Solaris 2.5.1 (maybe
others).

> 2.)
> How can I change the user that squid uses? I could run squid-1.1 as user
> squid but I can only run squid-1.2 as user nobody.

From squid.conf for 1.2:

# TAG: cache_effective_user
# TAG: cache_effective_group
# If the cache is run as root, it will change its effective/real
# UID/GID to the UID/GID specified below. The default is not to
# change UID/GID.
#
cache_effective_user squid
cache_effective_group squid

You should read through the squid.conf.default file if you are going to
use 1.2. A number of new and changed options exist.

> 3.) What do I have to change that I get the icons when I acces a ftp
> server. Squid-1.1 was using the interel icons from netscape but I don't
> get the icons with squid-1.2

Setup the icon_directory in squid.conf for 1.2 (usually to
<squid>/etc/icons)

Regards,

Mark

---------------------------------------------------------------------------
Mark Cooke The views expressed above are mine and are not
Systems Programmer necessarily representative of university policy
University Of Birmingham URL: http://www.sr.bham.ac.uk/~mpc/
---------------------------------------------------------------------------
Received on Fri Nov 28 1997 - 09:12:45 MST

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