You are hereForums / Bugs / Squid Error

Version 1.9.9 is out. We have added support for Youtube mobile videos, Facebook, AOL and MySpace videos as well. Fixed caching issues for some already supported websites. Options to control cache directory selection algorithm, bandwidth usage by videocache, etc. More robust videocache scheduler with a lot more options and features. Have a look at changelog for more details. If you have purchased Videocache in last one year, Contact Us to claim your free upgrade. Please mention the email address using which you purchased Videocache. New users proceed to Pricing Page right now, secure your copy and enjoy caching :-) Also, check our new and simplified upgrade policy :-)

Squid Error


5 replies [Last post]
Anonymous
Squid Error
Printer-friendly versionSend to friend

Hi there!
I get this error when i try to restart squid-2.5.STABLE12-18

linux-6q7b:/etc/squid # service squid restart
Shutting down WWW-proxy squid 2009/03/18 15:16:34| parseConfigFile: line 3504 unrecognized: 'url_rewrite_access deny videocache_deny_url'
2009/03/18 15:16:34| parseConfigFile: line 3505 unrecognized: 'url_rewrite_access allow videocache_allow_url'
2009/03/18 15:16:34| parseConfigFile: line 3506 unrecognized: 'url_rewrite_access allow videocache_allow_dom'
done
Starting WWW-proxy done
linux-6q7b:/etc/squid #

admin's picture
Online
Joined: Nov 2 2008

Anon,

Following are the possibilities,

1. You somehow messed up the lines (videocache specific) while copy pasting to squid.conf . Try removing the existing and pasting them again.

2. You squid doesn't support url_rewrite_access which is highly unlikely.

Use "squid -k parse" command to see the syntax errors and try to correct those lines.

Thank You!

Anonymous (not verified)

cache-server:/ # squid -k parse
2009/03/23 18:18:04| parseConfigFile: line 3479 unrecognized: 'url_rewrite_program /usr/bin/python /usr/share/videocache/videocache.py'
2009/03/23 18:18:04| parseConfigFile: line 3480 unrecognized: 'url_rewrite_children 7'
2009/03/23 18:18:04| parseConfigFile: line 3501 unrecognized: 'url_rewrite_access deny videocache_deny_url'
2009/03/23 18:18:04| parseConfigFile: line 3502 unrecognized: 'url_rewrite_access allow videocache_allow_url'
2009/03/23 18:18:04| parseConfigFile: line 3503 unrecognized: 'url_rewrite_access allow videocache_allow_dom'

admin's picture
Online
Joined: Nov 2 2008

Anon,

Python path on your system may be different. You need to specify the exact path to python in the first line. You can detect path to python using 'which python' on command line.

Thank You!

Anonymous (not verified)

hi there

can someone show me how to upgrade from squid-2.5 to squid 2.6or3.0
because i cant myself when i try rpm -Uvh squid.3.0.xxx.i586.rpm it just says nothing but i still got the old version

admin's picture
Online
Joined: Nov 2 2008

Anon,

Please try asking in squid forums/mailing lists or forums for your distro.

Thank You!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 1 user and 169 guests online.