You are hereForums / Support / Classic Error Prolly to Misconfig :)

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!!

Classic Error Prolly to Misconfig :)


6 replies [Last post]
Anonymous
Classic Error Prolly to Misconfig :)

Hello all. I'm getting the infamous following in my videocache.log

DOWNLOAD_ERR YOUTUBE An error occured while retrieving the video

The video file name is created in tmp folder with 0 bytes.

I'm using Slackware 12 with the default packages of Apache and Python ( I did install properly the needed modules). I'm also running with no probs squid 2.7 STABLE 5 along squidGuard 1.4.

My current setup uses the zapchain proggy to use both programs.

Any hints would be more than welcome

Cheers,

admin's picture
Offline
Joined: Nov 2 2008

Hi!

Two possibilities,

1. Your directory permissions are not correct. The /var/spool/videocache and its subdirectories should have 755 permissions and ownership should squid:squid.
2. Your squid proxy doesn't allow the proxy to use itself as a proxy. I mean add an acl that will allow the proxy to access internet via itself.

Thank You!

vaylane (not verified)

Bizarre.

Both the permissions and ownerships are correct.

I have added in my squid.conf the following but no luck.

acl localvid 127.0.0.1/32 X.X.X.X/26 (where X.X.X.X ofc is the real IP of the proxy)

Is it wrong ? Should the acl be inputed in a different way ?

Thanks again for the quick response

Cheers,

vaylane (not verified)

*Edit*
(where X.X.X.X ofc is the real IP of the proxy

I ment the real subnet IP's :)

admin's picture
Offline
Joined: Nov 2 2008

Hi Vaylane!

The acl should be like this

acl videocache src x.x.x.x/y
http_access allow videocache

Add these lines and then check!

Thank you for considering videocache!

vaylane (not verified)

@Admin

My poor poor eyes. I had left the rpc_host value to 127.0.0.1. Once I filled in the same IP as cache_host and proxy it all went smoothly!

Thanx for a great piece of software ;)

Cheers,

admin's picture
Offline
Joined: Nov 2 2008

Hi Vaylane,

Never mind :) Hope this will help you cache stuff :)

Thank you for using videocache :)

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 162 guests online.