You are hereForums / Bugs / videocache not cache

Videocache 1.9.5 is available now. This version improves support for logging and fixes video caching problems for various sites like Vimeo, Break, Tube8 etc due to change in URL patterns. Also, from this version onwards, UrlGrabber has been removed from dependencies. Check Changelog for details. If you have purchased version 1.9.x previously, you can claim free upgrade by contacting using Contact Link. Please mention the email address using which you purchased Videocache. New users proceed to download page right now, secure your copy and enjoy caching :-)

videocache not cache


11 replies [Last post]
Anonymous
videocache not cache
Printer-friendly versionSend to friend

helo, i had it 1.9.1 install done.
everything went fine.
here is the log :
---
2009-08-07 17:18:52,992 25443 - - XMLRPCSERVER - Starting XMLRPCServer on port 9100.
2009-08-07 17:18:53,819 25452 - - UPDATE_SIZE - Size of all caching directories updated successfully.
---
proxy:~# ps ax | grep py
25440 ? Ss 0:00 (python) /usr/share/videocache/videocache.py
25441 ? Ss 0:00 (python) /usr/share/videocache/videocache.py
25442 ? Ss 0:00 (python) /usr/share/videocache/videocache.py

and :
hit_threshold = 1

and videocache not cache any page from youtube.
help cause log give no more clue ? thank you.

admin's picture
Offline
Joined: Nov 2 2008

Hi anon,

Can you please give details about your operating system and other related things like squid version and all?

Please make sure the cache_dir is writable by squid and you have properly configured videocache. Please revisit videocache configure page and verify your configurations.

Thank You!

Anonymous (not verified)

hello thanks admin for fast reply,
it finally fine after i change iniparse from debian package to compile the source.
it is strange.

btw i use :
# cat /etc/issue
Ubuntu 8.04.1 \n \l

# /usr/local/squid/sbin/squid -v
Squid Cache: Version 2.7.STABLE4
configure options: '--enable-gnuregex' '--enable-async-io=24' '--with-aufs-threads=24' '--with-pthreads' '--prefix=/usr/local/squid' '--with-aio' '--with-dl' '--enable-storeio=aufs' '--enable-removal-policies=heap' '--enable-icmp' '--disable-delay-pools' '--disable-wccp' '--disable-snmp' '--enable-cache-digests' '--enable-default-err-langauges=English' '--enable-err-languages=English' '--enable-linux-netfilter' '--disable-ident-lookups' '--disable-hostname-checks' '--enable-underscores'

admin's picture
Offline
Joined: Nov 2 2008

Congratulations for the successful setup. Thanks for using videocache :)

Anonymous (not verified)

but still youtube cannot be cached, here is the example page that cannot be cache : http://www.youtube.com/watch?v=-XZklKaQhi8&

here's squid log :
1249898787.049 80192 172.16.13.105 TCP_MISS/200 1893390 GET http://v9.lscache3.c.youtube.com/videoplayback? - DIRECT/74.125.96.17 video/x-flv
1249898791.067 1696 172.16.13.105 TCP_MISS/200 20423 GET http://www.youtube.com/watch? - DIRECT/74.125.153.102 text/html
1249898791.726 184 172.16.13.105 TCP_IMS_HIT/304 348 GET http://i1.ytimg.com/vi/DNckuX-7Mps/default.jpg - NONE/- image/jpeg
1249898793.163 296 172.16.13.105 TCP_MISS/204 485 GET http://www.youtube.com/get_video? - DIRECT/74.125.153.102 text/html
1249898795.819 447 172.16.13.105 TCP_MISS/204 310 GET http://video-stats.video.google.com/s? - DIRECT/74.125.153.127 text/html

and videocache give no log.

admin's picture
Offline
Joined: Nov 2 2008

Please post your videocache.log. That'll help me point out the problem.

Thank You!

Anonymous (not verified)

ok here's the log :

2009-08-10 16:58:41,458 28966 - - RELOAD - videocache plugin was reloaded.
2009-08-10 16:58:41,458 28967 - - RELOAD - videocache plugin was reloaded.
2009-08-10 16:58:41,458 28971 - - RELOAD - videocache plugin was reloaded.
2009-08-10 16:58:41,459 28968 - - RELOAD - videocache plugin was reloaded.
2009-08-10 16:58:41,459 28972 - - RELOAD - videocache plugin was reloaded.
2009-08-10 16:58:41,459 28969 - - RELOAD - videocache plugin was reloaded.
2009-08-10 16:58:41,460 28970 - - RELOAD - videocache plugin was reloaded.
2009-08-10 16:58:49,992 29036 - - SCHEDULEDER - Download Scheduler starting.
2009-08-10 16:58:49,992 29036 - - XMLRPCSERVER - Starting XMLRPCServer on port 9100.
2009-08-10 16:58:50,008 29042 - - UPDATE_SIZE - Size of all caching directories updated successfully.

admin's picture
Offline
Joined: Nov 2 2008

I think you didn't follow the configuration tutorial properly. Because videocache doesn't seem to detect any urls for youtube. Please ensure that you followed the required steps on configure page.

Also can you please post your squid.conf and videocache.conf files on http://pastebin.com ?

Thank You!

Anonymous (not verified)

Hello,
I test the videocache, but some time it's stop work, and in the videocache.log file i see the same messages :

"
RELOAD - videocache plugin was reloaded.
Scheduler starting.
XMLRPCSERVER - Starting XMLRPCServer on port 9100.
UPDATE_SIZE - Size of all caching directories updated successfully.

"

thanks

Anonymous (not verified)

2009-07-20 19:33:45,258 3051 - - RELOAD - videocache plugin was reloaded.
2009-07-20 19:33:45,260 3050 - - RELOAD - videocache plugin was reloaded.
2009-07-20 19:33:45,262 3053 - - RELOAD - videocache plugin was reloaded.
2009-07-20 19:33:45,263 3052 - - RELOAD - videocache plugin was reloaded.
2009-07-20 19:33:45,265 3055 - - RELOAD - videocache plugin was reloaded.
2009-07-20 19:33:45,266 3054 - - RELOAD - videocache plugin was reloaded.
2009-07-20 19:33:45,275 3049 - - RELOAD - videocache plugin was reloaded.
2009-07-20 20:29:39,654 4698 - - SCHEDULEDER - Download Scheduler starting.

admin's picture
Offline
Joined: Nov 2 2008

Anon,

You squid and videocache are not interacting properly. Videocache is not getting any request from squid. Please paste your squid.conf file.

Thank You!

Anonymous (not verified)

dear admin,

i mean that some page cannot be cached from youtube,
for example this clip : http://www.youtube.com/watch?v=-XZklKaQhi8&

i did good in my config videocache as some video from youtube could be cached, here is my directory :
root@proxy:/video/youtube# ls
05f5cf7df5046e40 4e3fcd966d3cef51 7lCd9mY1kIc e2bdaf5d9d4c98a5
0e57b5b3ddcef1a3 5YjfGex5JHY 8988e3c0a21d09eb e8babe88d1a43f63
135f7741dc3472dd 6010208e932a110a 8c8d41bf6191b371 ed01252bc07a14e1
23d0ddc811f11974 612b3fd01a46d02f 9e821fc28e01e243 ef640a889fe8c3c4
256de2da880cec02 626f9b4ef2e7c873 b1699baef79bb865 f629129228500e63
25f9a40d77517c31 648c3e0ad01d9e8e b5e4rmnMozU fe312e8c43177f6e

and of course the log give the logging if it page able to get by cachevideos,
but if i access this page "http://www.youtube.com/watch?v=-XZklKaQhi8&"
the cachevideos could not be able to cache.

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.

Buy Now

Videocache Bundle (RPM and tar archive) is available. Secure your copy now by clicking the button below.
No. of Servers?
For details, check this page.

Recent comments

Spread it

Thank you for spreading the word!

Who's online

There are currently 0 users and 64 guests online.