VideoCache

Videocache not working; errors in squid/cache.log

by cdzombak on 27 Dec 2008

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!

6 Answers

by cdrom600 on 27 Dec 2008

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

by Kulbir Saini on 28 Dec 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!

by cdrom600 on 28 Dec 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...

by cdrom600 on 28 Dec 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?

by Kulbir Saini on 28 Dec 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 :)

by cdrom600 on 29 Dec 2008

Good to know. Thank you so much!

You need to sign in. Please sign in to add answer to this question.