You are hereForums / Support / access.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!!

access.log


4 replies [Last post]
Anonymous
access.log

Traceback (most recent call last):
File "/usr/share/youtube_cache/youtube_cache.py", line 773, in ?
log = set_logging()
File "/usr/share/youtube_cache/youtube_cache.py", line 146, in set_logging
filemode='a')
File "/usr/lib/python2.4/logging/__init__.py", line 1218, in basicConfig
hdlr = FileHandler(filename, mode)
File "/usr/lib/python2.4/logging/__init__.py", line 757, in __init__
stream = open(filename, mode)
IOError: [Errno 13] Permission denied: '/var/log/youtube_cache/youtube_cache.log'

[root@proxy ~]# netstat -atpn | grep python

whay mr. admin? how to solve this log?

admin's picture
Offline
Joined: Nov 2 2008

Try this.

[root@localhost ~]# chown -R squid:squid /var/log/youtube_cache/
[root@localhost ~]# chmod -R 755 /var/log/youtube_cache/

After this restart squid service and then check for errors. If you still get any errors get back with details on which version, operating system and how did you install (rpm/tarball)?

Anonymous (not verified)

thanks for replay
my operating system CentOS 5.2 with squid 2.6 and youtube_cache-1.5-1.noarch.rpm
now my log cache
[root@proxy ~]# tail -f /var/log/squid/cache.log
2008/11/24 01:46:42| 0 Objects expired.
2008/11/24 01:46:42| 0 Objects cancelled.
2008/11/24 01:46:42| 0 Duplicate URLs purged.
2008/11/24 01:46:42| 0 Swapfile clashes avoided.
2008/11/24 01:46:42| Took 0.7 seconds (2975.7 objects/sec).
2008/11/24 01:46:42| Beginning Validation Procedure
2008/11/24 01:46:42| Completed Validation Procedure
2008/11/24 01:46:42| Validated 2067 Entries
2008/11/24 01:46:42| store_swap_size = 19508k
2008/11/24 01:46:43| storeLateRelease: released 0 objects

this log youtube youtube_cache.log
2008-11-24 01:51:39,475 INFO 10.10.10.6 6ALWM046j6c CACHE_MISS YOUTUBE Requested video was not found in cache.
2008-11-24 01:51:39,478 INFO 10.10.10.6 6ALWM046j6c NEW_URL YOUTUBE http://www.youtube.com/get_video?video_id=6ALWM046j6c&t=OEgsToPDskKKXAwj...
2008-11-24 01:51:40,383 INFO 10.10.10.6 - REQUEST - http://v12.cache.googlevideo.com/get_video?origin=ash-v558.ash.youtube.c...
2008-11-24 01:51:40,971 INFO 10.10.10.6 6ALWM046j6c SCHEDULED YOUTUBE Video scheduled for download.
2008-11-24 01:51:41,074 INFO 10.10.10.6 6ALWM046j6c DOWNLOAD_ERR YOUTUBE An error occured while retrieving the video.

this log error or no cache?

Anonymous (not verified)

the same error is with me.. DOWNLOAD_ERR YOUTUBE and no cache. kindly help me out to resolve this matter

admin's picture
Offline
Joined: Nov 2 2008

Hi!

Please mention which version of videocache you are using? Nobody reported any problem with latest version 1.6 as of now which is available in download section. Try installing that. In case you still get errors, paste your /etc/videocache.conf file to http://pastebin.com/ .

Also, please mention your name instead of anonymous. It doesn't feel good to talk to anonymous :D

Thanks for using videocache :)

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