Re: [squid-users] Proxy Script Error

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Wed, 17 Mar 2010 10:32:14 +0100

On 16.03.10 14:59, Sam Larson wrote:
> As soon as I add the "url_rewrite_program
> /usr/local/bin/flip.pl" command, squid fails to start. If I comment
> out that line, it starts fine. I have attached data below from the
> cache.log from trying to start squid in hopes that someone can point
> me in the right direction.

> 2010/03/16 13:22:28| helperOpenServers: Starting 5 'flip.pl' processes
> /usr/local/bin/flip.pl: 1: =1: not found
> /usr/local/bin/flip.pl: 1: $: not found
> /usr/local/bin/flip.pl: 1: $: not found
> /usr/local/bin/flip.pl: 1: $: not found
> /usr/local/bin/flip.pl: 1: =1: not found
> /usr/local/bin/flip.pl: 1: $: not found
> /usr/local/bin/flip.pl: 2: =: not found
> /usr/local/bin/flip.pl: 2: =: not found
> /usr/local/bin/flip.pl: 3: =: not found
> /usr/local/bin/flip.pl: 4: Syntax error: ")" unexpected
> /usr/local/bin/flip.pl: 1: =1: not found
> /usr/local/bin/flip.pl: 3: =: not found
> /usr/local/bin/flip.pl: 4: Syntax error: ")" unexpected
> /usr/local/bin/flip.pl: 1: =1: not found
> /usr/local/bin/flip.pl: 2: =: not found
> /usr/local/bin/flip.pl: 3: =: not found
> /usr/local/bin/flip.pl: 4: Syntax error: ")" unexpected
> /usr/local/bin/flip.pl: 2: =: not found

apparently there's something broken with the flip.pl script. Maybe it is not
a perl script or has some garbage at the begin?

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux is like a teepee: no Windows, no Gates and an apache inside...
Received on Wed Mar 17 2010 - 09:32:16 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 17 2010 - 12:00:04 MDT