Search squid archive

Proxy Script Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to set up a proxy server with upsidedownternet
(http://www.ex-parrot.com/pete/upside-down-ternet.html) running, and
I'm having a bit of trouble.

After much struggling, I have squid up and running fine and
successfully using it as a proxy for one of my computers. I'm using
part of a HowTo (located here:
https://help.ubuntu.com/community/Upside-Down-TernetHowTo) to get
upsidedownternet to work. 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.

Squid version 2.7
Ubuntu Server 9.04

------------------------------------------------------------------------------------------------------

2010/03/16 13:22:28| Starting Squid Cache version 2.7.STABLE3 for
i386-debian-linux-gnu...
2010/03/16 13:22:28| Process ID 6640
2010/03/16 13:22:28| With 1024 file descriptors available
2010/03/16 13:22:28| Using epoll for the IO loop
2010/03/16 13:22:28| DNS Socket created at 0.0.0.0, port 38647, FD 6
2010/03/16 13:22:28| Adding domain domain.com from /etc/resolv.conf
2010/03/16 13:22:28| Adding domain domain.com from /etc/resolv.conf
2010/03/16 13:22:28| Adding nameserver 10.100.0.2 from /etc/resolv.conf
2010/03/16 13:22:28| Adding nameserver 10.100.0.5 from /etc/resolv.conf
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
2010/03/16 13:22:28| User-Agent logging is disabled.
/usr/local/bin/flip.pl: 3: 2010/03/16 13:22:28| Referer logging is disabled.
=: not found
/usr/local/bin/flip.pl: 4: Syntax error: ")" unexpected
2010/03/16 13:22:28| logfileOpen: opening log /var/log/squid/access.log
/usr/local/bin/flip.pl: 1: $: not found
/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
2010/03/16 13:22:28| Unlinkd pipe opened on FD 16
2010/03/16 13:22:28| Swap maxSize 1024000 KB, estimated 78769 objects
2010/03/16 13:22:28| Target number of buckets: 3938
2010/03/16 13:22:28| Using 8192 Store buckets
2010/03/16 13:22:28| Max Mem  size: 8192 KB
2010/03/16 13:22:28| Max Swap size: 1024000 KB
2010/03/16 13:22:28| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2010/03/16 13:22:28| logfileOpen: opening log /var/log/squid/store.log
2010/03/16 13:22:28| Rebuilding storage in /var/spool/squid/cache1 (DIRTY)
2010/03/16 13:22:28| Using Least Load store dir selection
2010/03/16 13:22:28| Set Current Directory to /var/spool/squid
2010/03/16 13:22:28| Loaded Icons.
2010/03/16 13:22:28| Accepting proxy HTTP connections at 0.0.0.0, port
3128, FD 18.
2010/03/16 13:22:28| Accepting ICP messages at 0.0.0.0, port 3130, FD 19.
2010/03/16 13:22:28| HTCP Disabled.
2010/03/16 13:22:28| WCCP Disabled.
2010/03/16 13:22:28| Ready to serve requests.
2010/03/16 13:22:28| WARNING: url_rewriter #1 (FD 7) exited
2010/03/16 13:22:28| WARNING: url_rewriter #3 (FD 9) exited
2010/03/16 13:22:28| WARNING: url_rewriter #2 (FD 8) exited
2010/03/16 13:22:28| Too few url_rewriter processes are running
FATAL: The url_rewriter helpers are crashing too rapidly, need help!

Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.030 seconds = 0.000 user + 0.030 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
	total space in arena:    2120 KB
	Ordinary blocks:         2101 KB      5 blks
	Small blocks:               0 KB      0 blks
	Holding blocks:           280 KB      1 blks
	Free Small blocks:          0 KB
	Free Ordinary blocks:      18 KB
	Total in use:            2381 KB 99%
	Total free:                18 KB 1%

------------------------------------------------------------------------------------------------------

Much Thanks,

Sam

--
Sam Larson

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux