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

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

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

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