[mrtg] rateup error when running as mrtg user

matt . fasterdisco at gmail.com
Wed Nov 23 21:15:34 MET 2005


Hey folks,
I'm using FreeBSD 6.0-RELEASE with the latest port of MRTG.

My config generation was fine.  I added user "mrtg" and made an entry that
looks like this in mrtg's crontab:

*/5 * * * * /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg --logging
/var/log/mrtg.log

In my mrtg.log I am seeing this:

2005-11-23 15:10:01 -- Started mrtg with config
'/usr/local/etc/mrtg/mrtg.cfg'
2005-11-23 15:10:01 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 720.
2005-11-23 15:10:01 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 720.
2005-11-23 15:10:01 -- ERROR: Can't Execute '/rateup'

If I add the same above line to root's crontab (which, of course, is a bad
idea) mrtg will work successfully.

Here are my permissions:

cd /usr/local/etc
drwxr-xr-x   2 mrtg   wheel     512 Nov 23 15:10 mrtg

My output directory:
drwxr-xr-x  2 mrtg  wheel  512 Nov 23 14:18 mrtg

All file within these directories are also owned by user mrtg.  What could
be the problem?  Thanks.

Kind regards,

Matt

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list