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

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

Classic Error Prolly to Misconfig :)


6 replies [Last post]
Anonymous
Classic Error Prolly to Misconfig :)
Printer-friendly versionSend to friend

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, 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 0 users and 102 guests online.