You are hereForums / Bugs / Squid Error

Finally, the wait is over!!! Videocache 2.0.0 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

Squid Error


5 replies [Last post]
Anonymous
Squid Error

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
Offline
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
Offline
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
Offline
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 associated with the e-mail address you provide, it will be 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.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters shown in the image.

My Book on Squid

Purchase/Renew

Go to Pricing page to purchase a new license or renew your existing license.

Recent comments

Who's online

There are currently 0 users and 202 guests online.