Thanks for the response.  I have double-checked things, and added a logdir 
directive to both the "master" config file and the included one as well (have 
tried running the included file independantly for troubleshooting).

Here is the relevant information from my master, included file, and directory 
permissions
:
[EMAIL PROTECTED] mrtg]$ cat master-pps.cfg
Interval: 5
Refresh: 300
RunAsDaemon: yes
LogDir: /var/log/mrtg
WorkDir: /var/www/html/mrtg/pps
Options[_]: growright,nopercent
WithPeak[_]: wmy
IconDir: /images

Include: /home/mrtg/rtc-vi-pps.cfg


[EMAIL PROTECTED] mrtg]$ more rtc-vi-pps.cfg

### Global Defaults

LogDir: /var/log/mrtg
EnableIPv6: no
Options[_]: nopercent,growright
WithPeak[_]: wmy
Directory[_]: rtc-vi
WorkDir: /var/www/html/mrtg/pps
<snip rest of config file>

[EMAIL PROTECTED] mrtg]# ls -l /var/log |grep mrtg
drwxrwsr-x    5 root     mrtg         4096 Mar  7 20:58 mrtg

[EMAIL PROTECTED] mrtg]# ls -l /var/log/mrtg
drwxrwsr-x    2 root     mrtg         4096 Mar  7 21:02 master-pps
drwxrwsr-x    2 root     mrtg         4096 Mar  7 20:58 rtc-vi-pps

I have also logged in as the user 'mrtg' and can create files in the 
/var/log/mrtg/ directory (as well as the workdir).

Any other thoughts on why this doesn't work as the user 'mrtg' as it did before 
under version 2.9.29??

Thanks for all your help.

Tim

-----Original Message-----
From:   Takumi Yamane [mailto:[EMAIL PROTECTED]
Sent:   Fri 3/5/2004 6:19 PM
To:     [EMAIL PROTECTED]
Cc:     
Subject:        [mrtg] Re: Can't write .tmp files as --user mrtg after upgrade

On Fri, 5 Mar 2004 17:32:05 -0600, "Tim Sheets" wrote 
in <[EMAIL PROTECTED]>:
> 
> /usr/bin/rateup: Permission denied
> Rateup ERROR: Can't open my.router.net_fastethernet0_0-pps.tmp for 
> write
...
> Can anyone tell me where it is trying to write this .tmp file?

/<LogDir>/<Directory>

Am I right?
Takumi Yamane <[EMAIL PROTECTED]>

--
Unsubscribe mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi





--
Unsubscribe mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to