You are hereForums / Support / no cache videos

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

no cache videos


1 reply [Last post]
Offline
Joined: Aug 25 2009
no cache videos

Hi guys,

I have installed the videocache in my FreeBSD server with this configuration:

FreeBSD 7.2-RELEASE
squid-2.7.6_1
python25-2.5.4_2
py25-iniparse-0.3.1
py25-urlgrabber-3.1.0_1

When I try to see some video in youtube page, I see just it:

2009-08-25 13:23:49,544 4011 - - RELOAD - videocache plugin was reloaded.

My "ps ax" show this:

859 ?? Is 0:00.00 /usr/local/sbin/squid -D
861 ?? S 1:38.00 (squid) -D (squid)
862 ?? Is 0:00.17 (python) /usr/share/videocache/videocache.py (python)
863 ?? Is 0:00.17 (python) /usr/share/videocache/videocache.py (python)
864 ?? Is 0:00.17 (python) /usr/share/videocache/videocache.py (python)
865 ?? Is 0:00.17 (python) /usr/share/videocache/videocache.py (python)
866 ?? Is 0:00.17 (python) /usr/share/videocache/videocache.py (python)
867 ?? Is 3:16.36 (python) /usr/share/videocache/videocache.py (python)
868 ?? Is 0:00.17 (python) /usr/share/videocache/videocache.py (python)
869 ?? Is 0:00.00 (unlinkd) (unlinkd)
870 ?? Ss 0:01.30 diskd 881664 881665 881666 (diskd-daemon)

And I have two interfaces with this:

bge0 = 201.45.X.Y
bge1 = 192.168.16.1

My /etc/videocache.conf:

cache_host = 192.168.16.1
proxy = http://127.0.0.1:3128/
rpc_host = 127.0.0.1

Is this correct?

I set the permissions squid:squid in the /var/spool/videocache:

pf2# chown -R squid:squid /var/spool/videocache/

pf2# sockstat -4l
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root natd 3225 4 div4 *:8668 *:*
squid python 867 4 tcp4 127.0.0.1:9100 *:*
squid squid 861 6 udp4 *:59432 *:*
squid squid 861 21 tcp4 *:3128 *:*
squid squid 861 22 udp4 *:3130 *:*

I dont know what's wrong in my configuration. I tried change the cache_host and rpc_host to other values, using my 201.45.X.Y IP and doesnt work.

Someone can help me?

PS: Sorry about my poor english.

Regards,
MS

Offline
Joined: Aug 25 2009

Hi guys,

I made some modification in my squid.conf and videocache.py because the youtube change the url videos.

Well, now, I'm getting only REQUEST but not download.

2009-08-25 15:15:22,753 4548 192.168.16.2 - REQUEST - http://v14.lscache2.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2C...

2009-08-25 15:15:24,086 4548 192.168.16.2 - REQUEST - http://v6.cache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexp...

Is something wrong in videocache.conf?

Thanks.

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.