hi, i am head
have problem with youtube cache
[root@ns ~]# tail -f /var/log//videocache/videocache.log
2009-08-20 02:35:16,262 9749 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,264 9747 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,265 9750 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,266 9751 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,268 9752 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,269 9748 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,271 9753 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:20,540 9837 - - XMLRPCSERVER - Starting XMLRPCServer on port 9100.
2009-08-20 02:35:20,542 9837 - - SCHEDULEDER - Download Scheduler starting.
2009-08-20 02:35:22,307 9846 - - UPDATE_SIZE - Size of all caching directories updated successfully.
2009-08-20 02:37:54,775 9832 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,782 9833 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,783 9835 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,785 9836 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,786 9837 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,792 9838 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,796 9834 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:38:51,996 9948 - - XMLRPCSERVER - Starting XMLRPCServer on port 9100.
2009-08-20 02:38:51,997 9948 - - SCHEDULEDER - Download Scheduler starting.
2009-08-20 02:38:53,975 9958 - - UPDATE_SIZE - Size of all caching directories updated successfully.
2009-08-20 02:49:42,759 9945 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,761 9947 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,762 9946 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,763 9948 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,764 9949 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,766 9950 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,767 9951 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:46,433 10241 - - XMLRPCSERVER - Starting XMLRPCServer on port 9100.
2009-08-20 02:49:46,433 10241 - - SCHEDULEDER - Download Scheduler starting.
2009-08-20 02:49:47,896 10253 - - UPDATE_SIZE - Size of all caching directories updated successfully.
Squid normally listens to port 3128
http_port 10.0.0.6:8080 transparent
http_port 172.0.0.1:8080 transparent
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl my_machine src 10.0.0.6/255.255.255.255
http_access allow my_machine
acl my_machines src 172.0.0.1/255.255.255.255
http_access allow my_machines
acl my_machin src 192.168.1.253/255.255.255.255
http_access allow my_machin
# The hostname or IP address of the system on which caching is being done. This is
# used for serving the videos from the cache. Please don't use http:// or slashes (/).
# Just specify the domain name or IP address.
# Example : localhost.localdomain
# or proxy.example.com
# or 192.168.36.204
# or <Proxy_Server_IP_OR_Domain>
cache_host = 10.0.0.6
cache_host = 172.0.0.1
# Proxy for http content.
# Example : http_proxy = http://<Proxy_Server_IP_OR_Domain>:<Proxy_port>/
# or http://proxy.example.com:3128/
proxy = http://10.0.0.6:8080/
proxy = http://172.0.0.1:8080/
tnks :D
4 Answers
i have join
http://172.0.0.1/videocache/youtube/
http://10.0.0.6/videocache/youtube/
sorry, with spam
[root@ns ~]# tail -f /var/log/squid/cache.log
2009/08/22 22:44:54| 0 Objects expired.
2009/08/22 22:44:54| 0 Objects cancelled.
2009/08/22 22:44:54| 1 Duplicate URLs purged.
2009/08/22 22:44:54| 2 Swapfile clashes avoided.
2009/08/22 22:44:54| Took 3.9 seconds (38280.1 objects/sec).
2009/08/22 22:44:54| Beginning Validation Procedure
2009/08/22 22:44:54| Completed Validation Procedure
2009/08/22 22:44:54| Validated 148082 Entries
2009/08/22 22:44:54| store_swap_size = 2655268k
2009/08/22 22:44:55| storeLateRelease: released 1 objects
in some cases it works
[root@localhost ~]# tail -f /var/log//videocache/videocache.log
2009-08-26 12:33:20,275 10889 172.0.0.10 ba1f95d2a3fc198a NEW_URL YOUTUBE 303:http://172.0.0.1/videocache/youtube/ba1f95d2a3fc198a?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cburst%2Cfactor&itag=5&ipbits=0&signature=B56B7FCC3CFFEB81F28B7942A1C41D26284EDD35.6F6AD5F7B1361E5CA13936EAE70AE3BFFDBCA945&sver=3&expire=1251331200&key=yt1&factor=1.25&burst=40&id=ba1f95d2a3fc198a&st=lc
2009-08-26 12:38:56,676 10889 172.0.0.224 - REQUEST - http://74.125.110.231/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cburst%2Cfactor&itag=34&ipbits=0&signature=53076CB80A3400C62C51836A9230EABAB5EF28AC.12E0BA7B428738EE9D65B213162212EA9A0CFF8E&sver=3&expire=1251331200&key=yt1&factor=1.25&burst=40&id=e1257911cff2c3b3&st=lc
2009-08-26 12:38:56,677 10889 172.0.0.224 e1257911cff2c3b3 URL_HIT YOUTUBE http://74.125.110.231/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cburst%2Cfactor&itag=34&ipbits=0&signature=53076CB80A3400C62C51836A9230EABAB5EF28AC.12E0BA7B428738EE9D65B213162212EA9A0CFF8E&sver=3&expire=1251331200&key=yt1&factor=1.25&burst=40&id=e1257911cff2c3b3&st=lc
2009-08-26 12:38:56,677 10889 172.0.0.224 e1257911cff2c3b3 CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-26 12:38:56,686 10889 172.0.0.224 e1257911cff2c3b3 NEW_URL YOUTUBE http://74.125.110.231/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cburst%2Cfactor&itag=34&ipbits=0&signature=53076CB80A3400C62C51836A9230EABAB5EF28AC.12E0BA7B428738EE9D65B213162212EA9A0CFF8E&sver=3&expire=1251331200&key=yt1&factor=1.25&burst=40&id=e1257911cff2c3b3&st=lc
2009-08-26 12:38:59,562 10889 172.0.0.224 e1257911cff2c3b3 SCHEDULED YOUTUBE Video scheduled for download.
2009-08-26 12:38:59,590 10889 172.0.0.1 - REQUEST - http://74.125.110.231/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cburst%2Cfactor&itag=34&ipbits=0&signature=53076CB80A3400C62C51836A9230EABAB5EF28AC.12E0BA7B428738EE9D65B213162212EA9A0CFF8E&sver=3&expire=1251331200&key=yt1&factor=1.25&burst=40&id=e1257911cff2c3b3&st=lc
2009-08-26 12:38:59,590 10889 172.0.0.1 e1257911cff2c3b3 URL_HIT YOUTUBE http://74.125.110.231/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cburst%2Cfactor&itag=34&ipbits=0&signature=53076CB80A3400C62C51836A9230EABAB5EF28AC.12E0BA7B428738EE9D65B213162212EA9A0CFF8E&sver=3&expire=1251331200&key=yt1&factor=1.25&burst=40&id=e1257911cff2c3b3&st=lc
2009-08-26 12:38:59,591 10889 172.0.0.1 e1257911cff2c3b3 CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-26 12:38:59,600 10889 172.0.0.1 e1257911cff2c3b3 NEW_URL YOUTUBE http://74.125.110.231/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cburst%2Cfactor&itag=34&ipbits=0&signature=53076CB80A3400C62C51836A9230EABAB5EF28AC.12E0BA7B428738EE9D65B213162212EA9A0CFF8E&sver=3&expire=1251331200&key=yt1&factor=1.25&burst=40&id=e1257911cff2c3b3&st=lc