Re: [squid-users] rredir.c redirector exiting from squid, not from command line

From: Robert Collins <robertc@dont-contact.us>
Date: 06 Aug 2003 06:50:10 +1000

On Wed, 2003-08-06 at 06:37, Theresa.hilding@gcmail.maricopa.edu wrote:
> Hello,
>
> I have a 2.5STABLE3 squid installation running under RedHat9. I have trimmed
> the rredir.c program that was included in the squid contrib directory down
> to its bare essentials (granted it's useless in that it does not perform any
> redirection at this point) and added a while(1) statement to keep the
> program in an endless loop:

That outer while(1) is wrong. It's /meant/ to be in a loop based on
stdin, or you'll get orphans.

> I can feed this program my access.log file and it does not terminate
> execution. When I configure squid to use this as its redirector program,
> however, squid invariably dies with the following error "FATAL: too few
> redirector processes are running".

Make sure that squid has access to launch the binary as the effective
user.

Cheers,
Rob

-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Received on Tue Aug 05 2003 - 14:50:31 MDT

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