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

Videocache 2.1 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

Classic Error Prolly to Misconfig :)


7 posts / 0 new
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 :)

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 3 users and 82 guests online.