Re: [squid-users] Please help me install videocache 1.9.1

From: Chris Robertson <crobertson_at_gci.net>
Date: Fri, 19 Jun 2009 14:53:58 -0800

Mark Lodge wrote:
> I have installed squid and its running fine
> Now i am trying to install videocache
>
> First ii did # python setup.py install [in videocache-1.9.1 folder]
> But at that time python-iniparse was not installed
>
> I then installed iniparse, but now when i try to do # python setup.py
> install i get the following errors:
>
> vpro:/home/ztel/videocache-1.9.1# python setup.py install
> Traceback (most recent call last):
> File "setup.py", line 397, in <module>
> setup(root)
> File "setup.py", line 288, in setup
> if not dir_perms_and_ownership(new_dir, squid_user, squid_group):
> File "setup.py", line 76, in dir_perms_and_ownership
> user = pwd.getpwnam(user)[2]
> KeyError: 'getpwnam(): name not found: squid'

This software appears to expect that the account "squid" is used as the
cache_effective_user. I'd change the setup.py script to use the
cache_effective_user that matches my system (and file a bug report with
the videocache maintainer to have this account automatically deduced
from the squid.conf file).

Your other option would be to create a "squid" account, change
cache_effective_user to "squid" and change permissions for the files the
Squid needs accordingly.

> vpro:/home/ztel/videocache-1.9.1#
>
> and here is the videocache setup log
>
> 2009-06-17 13:03:15,039 INFO Directory /etc/apache2/conf.d already
> exists.
> 2009-06-17 13:03:15,039 INFO Directory /etc already exists.
> 2009-06-17 13:03:15,039 INFO Directory /usr/share already exists.
> 2009-06-17 13:03:15,039 INFO Directory /usr/share/man/man8 already
> exists.
> 2009-06-17 13:03:15,039 INFO Directory /usr/sbin already exists.
> 2009-06-17 13:03:15,040 INFO Directory /var/log/videocache already
> exists.
>
> Please tell me how i can overcome this.
> Thank you very much

Chris
Received on Fri Jun 19 2009 - 22:54:18 MDT

This archive was generated by hypermail 2.2.0 : Sat Jun 20 2009 - 12:00:03 MDT