You are hereForums / Support / problem happened when I append Video Cache configuration line to squid.conf: squid dead but pid file exists

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 :-)

problem happened when I append Video Cache configuration line to squid.conf: squid dead but pid file exists


6 replies [Last post]
Anonymous
problem happened when I append Video Cache configuration line to squid.conf: squid dead but pid file exists
Printer-friendly versionSend to friend

problem happened when I append Video Cache configuration line to squid.conf:

# --BEGIN-- videocache config for squid
url_rewrite_program /usr/bin/python /usr/share/videocache/videocache.py
url_rewrite_children 10
acl videocache_allow_url url_regex -i \.youtube\.com\/get_video
acl videocache_allow_url url_regex -i \.cache[a-z0-9]?[a-z0-9]?[a-z0-9]?\.googlevideo\.com\/videoplayback
acl videocache_allow_url url_regex -i \.cache[a-z0-9]?[a-z0-9]?[a-z0-9]?\.googlevideo\.com\/get_video
acl videocache_allow_url url_regex -i proxy\-[0-9][0-9]\.dailymotion\.com\/
acl videocache_allow_url url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
acl videocache_allow_url url_regex -i bitcast\.vimeo\.com\/vimeo\/videos\/
acl videocache_allow_url url_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
acl videocache_allow_url url_regex -i \.files\.youporn\.com\/(.*)\/flv\/
acl videocache_allow_url url_regex -i \.msn\.com\.edgesuite\.net\/(.*)\.flv
acl videocache_allow_dom dstdomain v.mccont.com vp.video.google.com dl.redtube.com
acl videocache_deny_url url_regex -i http:\/\/[a-z][a-z]\.youtube\.com http:\/\/www\.youtube\.com
url_rewrite_access deny videocache_deny_url
url_rewrite_access allow videocache_allow_url
url_rewrite_access allow videocache_allow_dom
redirector_bypass on
# --END-- videocache config for squid
when I add above configuration lines on squid.conf , and restart squid service after one minute the squid service status become as below:

# service squid status
squid dead but pid file exists

where is the problem, please help.

sexcams live

Offline
Joined: Jan 13 2009

What does squid -k parse output? Is it bungled?

admin's picture
Online
Joined: Nov 2 2008

Hi Anon,

I think copy pasting the lines to your squid.conf might have messed things up. Please check errors in your squid.conf with squid -k parse or paste the error to http://pastebin.com/ .

Thank you for using videocache :)

Maroon Ibrahim (not verified)

I had the same error....

FATAL: Bungled squid.conf line 249: url_rewrite_program /usr/bin/python /usr/share/videocache/videocache.py
Squid Cache (Version 2.6.STABLE22): Terminated abnormally.

please advise... also note that I have copied and paste it directly in the bottom of squid.conf file !

thank you,
Regards,

admin's picture
Online
Joined: Nov 2 2008

Maroon,

Can you run "squid -k parse" and paste the output here? Also paste the cache.log file at http://pastebin.com .

Thank You!

ed182 (not verified)

Hello admin

I get this problem too .

squid -k Parse :

FATAL: Bungled squid.conf line 4618: url_rewrite_program /usr/bin/python /usr/share/videocache/videocache.py
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.

About the outout of the cache.log

2009/12/09 17:10:47| clientReadRequest: FD 499 (192.168.13.6:3237) Invalid Request
2009/12/09 17:10:55| parseHttpRequest: Unsupported method '8^
'
2009/12/09 17:10:55| clientReadRequest: FD 313 (192.168.13.6:3244) Invalid Request
2009/12/09 17:10:55| parseHttpRequest: Unsupported method 'Bǐ[߸
'
2009/12/09 17:10:55| clientReadRequest: FD 497 (192.168.13.6:3245) Invalid Request
2009/12/09 17:11:08| parseHttpRequest: Unsupported method '{R:B'
2009/12/09 17:11:08| clientReadRequest: FD 314 (192.168.13.6:3258) Invalid Request

2009/12/09 17:11:50| parseHttpRequest: Requestheader contains NULL characters
2009/12/09 17:11:50| parseHttpRequest: Unsupported method '"+'
2009/12/09 17:11:50| clientReadRequest: FD 393 (192.168.19.22:4783) Invalid Request
2009/12/09 17:12:04| parseHttpRequest: Unsupported method '}y$zXn8bCU%«M
k'
2009/12/09 17:12:04| clientReadRequest: FD 227 (192.168.11.53:2173) Invalid Request
2009/12/09 17:12:05| parseHttpRequest: Unsupported method '!_M8Cks8h
'
2009/12/09 17:12:05| clientReadRequest: FD 100 (192.168.14.43:1904) Invalid Request
2009/12/09 17:12:26| parseHttpRequest: Unsupported method 'sx}6Wx@GRSe|p
'
2009/12/09 17:12:26| clientReadRequest: FD 142 (192.168.11.53:2185) Invalid Request

ejaz (not verified)

hi dear

kindly check this syntex in url_rewrite_program

url_rewrite_program /usr/bin/python2.5 /usr/share/videocache/videocache.py

Thanks

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 2 users and 138 guests online.