On Tuesday 22 Jun 2004 21:57, Terence Golightly wrote:
> List,
>
> This is annoying little problem that one of you may have encountered
> using privoxy.  It won't start on startup/reboot or from a service start
> under mcc or from the su commandline. I get the following message:
>
> [EMAIL PROTECTED] root]# /etc/init.d/privoxy start
> Starting privoxy: Jun 22 16:50:59 Privoxy(1075490944) Info: loading
> configuration file '/etc/privoxy/config':
> Jun 22 16:50:59 Privoxy(1075490944) Fatal error: init_error_log(): can't
> open logfile: /var/log/privoxy/logfile
> Jun 22 16:50:59 Privoxy(1075490944) Fatal error: init_error_log(): can't
> open logfile: /var/log/privoxy/logfile
>
>
> [EMAIL PROTECTED] root]# ls -l /var/log/privoxy
> total 392
> -rw-r-----  1 root root 239346 Jun 22 16:01 jarfile
> -rw-r-----  1 root root  10822 Jun 22 16:53 logfile
> -rw-r-----  1 root root 139131 Jun 19 23:09 logfile.1.gz
>
> However, as you can see from below, that is starts up find from the su
> terminal where it can find it's config file:
>
> [EMAIL PROTECTED] root]# privoxy
> Jun 22 16:53:04 Privoxy(1075490944) Info: loading configuration file
> '/root/config':
>
> Is anybody familiar with a fix?
>
> Thanks,
>
> Terry
>

Privoxy runs as user daemon, but your log file is owned by root, so privoxy 
can only access the log file when you run as root.
Change the ownership of /var/log/privoxy to daemon and you will be OK.

derek


-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to