Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2005 20:02:34 -0500
From:      "matt ." <fasterdisco@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Running mrtg on FreeBSD
Message-ID:  <a97e11c20511261702l61df3c4cs14ebf179bfc27982@mail.gmail.com>
In-Reply-To: <a97e11c20511261614r4a85d5e6l87550ad28d6a5243@mail.gmail.com>
References:  <a97e11c20511261533i7f48d1fk4c5a9b46ea575f5@mail.gmail.com> <6.2.3.4.2.20051126154801.023a3ac0@cobalt.antimatter.net> <a97e11c20511261614r4a85d5e6l87550ad28d6a5243@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/26/05, matt . <fasterdisco@gmail.com> wrote:
>
>
>
> Trying this now...I'll letcha now.  Thanks!
>


Still seeing the same error.  I created /usr/local/www/mrtg owned by
mrtg:mrtg.  I run the following in mrtg's crontab:

*/5 * * * * /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg --debug=3Dcfg,=
dir
--logging /var/log/mrtg.log

And I see the debug check the config and dir structures ok:

2005-11-26 19:58:00 -- --dir: ensure path IN:  '/usr/local/www/mrtg'
2005-11-26 19:58:00 -- --dir: ensure path OUT: '/usr/local/www/mrtg/'
2005-11-26 19:58:00 -- --dir: imagehtml =3D
2005-11-26 19:58:00 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 720.
2005-11-26 19:58:00 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 720.
2005-11-26 19:58:00 -- ERROR: Can't Execute '/rateup'

Still trying to execute /rateup.  This works flawlessly when run by root.  =
I
don't get it.

Here is line 720 of /usr/local/bin/mrtg:

((($MRTG_lib::OS eq 'NT' or $MRTG_lib::OS eq 'OS2') and (-e
"${FindBin::Bin}${MRTG_lib::SL}rateup.exe")) or
     (($MRTG_lib::OS eq 'NW') and (-e "SYS:/Mrtg/bin/rateup.nlm")) or
     (-x "${FindBin::Bin}${MRTG_lib::SL}rateup")) or
       die "ERROR: Can't Execute '${FindBin::Bin}${MRTG_lib::SL}rateup'\n";


matt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a97e11c20511261702l61df3c4cs14ebf179bfc27982>