RE: [squid-users] FATAL: ERROR: Unknown policy lru

From: Peter Kassies <p.kassies@dont-contact.us>
Date: Fri, 1 Jun 2001 11:44:44 +0200

Merrit,

You should try to compile with the following actions:
# ./configure --enable-removal-policies="lru"

Peter

> -----Oorspronkelijk bericht-----
> Van: Merritt Krakowitzer [mailto:mk@fashaf.co.za]
> Verzonden: Friday, June 01, 2001 9:54 AM
> Aan: squid-users@squid-cache.org
> CC: Henrik Nordstrom
> Onderwerp: [squid-users] FATAL: ERROR: Unknown policy lru
>
>
> Im getting a fatal error running, Version 2.4.STABLE1. Looking on
> deja.com i found some 1 with the exact same problem (Ive added the post
> in the msg body) anyway I didnt follow the explenation on how to fix
> it, here is a copy of my squid.conf, and you can see the error msg below
> aswell
>
> http_port 8080
> icp_port 0
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> cache_mem 16 MB
> cache_dir ufs /cache 200 16 256
> emulate_httpd_log on
> redirect_rewrites_host_header off
> replacement_policy GDSF
> acl localnet src 172.30.2.0/255.255.255.0
> acl localhost src 127.0.0.1/255.255.255.0
> http_access allow localnet
> http_access allow localhost
> http_access deny !Safe_ports
> http_access deny CONNECT
> http_access deny all
> cache_mgr admin@openna.com
> cache_effective_user squid
> cache_effective_group squid
> httpd_accel_host 208.164.186.3
> httpd_accel_port 80
> log_icp_queries off
> cachemgr_passwd vr6golf all
> buffered_logs on
>
> >Looks like you built Squid selecting to only build some other removal
> >policy (maybe heap?). If so then you must change the policy directives
> >in squid.conf as they will still default to lru.
> --
> >Henrik Nordstrom
> >Squid Hacker
> >Ali Javed Tajik wrote:
> >
> > Hello All!!
> > I see following error when I run squid-2.4-stable1 on my machine.
> > what can be the problem??
> > I did not added any entry in squid.conf for cache_replacement_policy
> > I left it as a default.
> >
> > FATAL: ERROR: Unknown policy lru
> >
> > Squid Cache (Version 2.4.STABLE1): Terminated abnormally.
> > CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys
> > Maximum Resident Size: 0 KB
> > Page faults with physical i/o: 181
> > total space in arena: 60 KB
> > Total free: 32 KB 54%
> >
> > Any Help??
>
>
> Thanks in advance
> Merritt
>
Received on Fri Jun 01 2001 - 03:46:14 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:27 MST