VideoCache

ERROR 404

by Anonymous on 19 Apr 2009

Hi ADMIN and All myname rizalm,

I'm newbie with videocaching, and I found this is interesting.

Firstly, to tell that I've problem with my videocaching.

I've done the installation and follow the config as on website but seem doesn't work.

The steps.

install CentOS 5.2

yum install squid
/etc/init.d/squid start
/etc/init.d/httpd start
yum install python
yum install python-iniparse
yum install python-urlgrabber
wget http://cachevideos.com/sites/default/files/pub/youtube_cache/youtube_cache-1.2.tar.gz

configure squid.conf and videocache.conf as example on page
Disable iptables

Q1. Any steps that i'm missed

Need advice from the expert.

regards,
rizalm

2 Answers

by Anonymous on 24 Apr 2009

Hi,
When i called my http://localhost/video_cache, appear with list index of /video_cache, is it normal? and also having with error. Any that i missed? Require help :)..

status cache.log

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in "bootstrap
    self.run()
  File "/etc/squid/youtube_cache/youtube_cache.py", line 698, in run
    download_scheduler()
  File "/etc/squid/youtube_cache/youtube_cache.py", line 673, in download_scheduler
    if video_id_pool.get_conn_number() < max_parallel_downloads:
  File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in "call"
    return self."send(self."name, args)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in "request
    verbose=self."verbose
  File "/usr/lib/python2.4/xmlrpclib.py", line 1129, in request
    self.send_content(h, request_body)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1243, in send_content
    connection.endheaders()
  File "/usr/lib/python2.4/httplib.py", line 804, in endheaders
    self._send_output()
  File "/usr/lib/python2.4/httplib.py", line 685, in _send_output
    self.send(msg)
  File "/usr/lib/python2.4/httplib.py", line 652, in send
    self.connect()
  File "/usr/lib/python2.4/httplib.py", line 636, in connect
    raise socket.error, msg
error: (111, 'Connection refused')

status in video_cache.log (what does it mean?)

2009-04-23 18:20:24,418 INFO - - SCHEDULEDER - Download Scheduler starting.
2009-04-23 18:20:27,347 INFO - - SCHEDULEDER - Download Scheduler starting.
2009-04-23 18:20:30,477 INFO - - SCHEDULEDER - Download Scheduler starting.
2009-04-23 18:20:30,781 INFO - - SCHEDULEDER - Download Scheduler starting.
2009-04-23 18:20:31,417 INFO - - SCHEDULEDER - Download Scheduler starting.
2009-04-23 18:20:32,422 INFO - - SCHEDULEDER - Download Scheduler starting.
2009-04-23 18:20:32,535 INFO - - SCHEDULEDER - Download Scheduler starting.
2009-04-23 18:20:32,618 INFO - - SCHEDULEDER - Download Scheduler starting.
2009-04-23 18:20:33,129 INFO - - SCHEDULEDER - Download Scheduler starting.
2009-04-23 18:20:33,146 INFO - - SCHEDULEDER - Download Scheduler starting.
by dotslash on 24 Apr 2009

Hi,

kindly assist to my prev thread.

2009-04-24 14:56:56,427 INFO 61.6.55.164 - REQUEST - http://www.youtube.com/get_video?video_id=u6z6ZCinKoU&t=vjVQa1PpcFOvRMa9xWxySksjuPtcr41yo9InaRBhXQM=&el=
detailpage&ps=&fmt=34
2009-04-24 14:56:56,428 INFO 61.6.55.164 - NEW_URL YOUTUBE Error in parsing the url http://www.youtube.com/get_video?video_id=u6z6ZCinKoU&t=vjVQa1PpcFOvRMa9x
WxySksjuPtcr41yo9InaRBhXQM=&el=detailpage&ps=&fmt=34

Any advice!!

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