You are hereForums / Support / Videocache not working; errors in squid/cache.log

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

Videocache not working; errors in squid/cache.log


6 replies [Last post]
Offline
Joined: Dec 28 2008
Videocache not working; errors in squid/cache.log
Printer-friendly versionSend to friend

I installed the latest videocache from RPM on Fedora 10 and followed all the directions exactly. However, it is not working, and this appears in my cache.log:

Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/share/videocache/videocache.py", line 792, in run
squid_part()
File "/usr/share/videocache/videocache.py", line 529, in squid_part
videos = video_id_pool.get()
File "/usr/lib/python2.5/xmlrpclib.py", line 1150, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.5/xmlrpclib.py", line 1440, in __request
verbose=self.__verbose
File "/usr/lib/python2.5/xmlrpclib.py", line 1186, in request
self.send_content(h, request_body)
File "/usr/lib/python2.5/xmlrpclib.py", line 1300, in send_content
connection.endheaders()
File "/usr/lib/python2.5/httplib.py", line 860, in endheaders
self._send_output()
File "/usr/lib/python2.5/httplib.py", line 732, in _send_output
self.send(msg)
File "/usr/lib/python2.5/httplib.py", line 699, in send
self.connect()
File "/usr/lib/python2.5/httplib.py", line 683, in connect
raise socket.error, msg
error: (13, 'Permission denied')

2008/12/27 14:48:15| WARNING: redirector #4 (FD 11) exited

ideas? Thanks for any help!

Offline
Joined: Dec 28 2008

FYI: This is my post; I've just registered for an account.

admin's picture
Offline
Joined: Nov 2 2008

Hi CDRom :)

There may be three reasons

1. SELinux is enabled and creating access problem.
2. IPTables is enabled and forbidding communication on port 9100 which is a non-standard port.
3. Some other host configuration denying access to port 9100.

Please check all these and get back if you find some other clues :)

Thank your for using videocache!

Offline
Joined: Dec 28 2008

SELinux is disabled.
IPTables was not configured to allow port 9100 - allowing it fixed this issue. (Side note: do I need TCP or UDP?)

However, now I am getting a "We're sorry, this video is no longer available" error on Youtube.

It's progress, anyway...

Offline
Joined: Dec 28 2008

I had forgotten to change cache_host in my config...oops. It is working now, and all I can say is WOW! (It's fast.)

What is port 9100 used for?

admin's picture
Offline
Joined: Nov 2 2008

Hey cdrom,

The port 9100 is used for data sharing across many instances of videocache via XMLRPC. So XMLRPC server listens on port 9100 and there it should be allowed.

Congratulations for the setup.

Thank you for using videocache :)

Offline
Joined: Dec 28 2008

Good to know. Thank you so much!

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