Hello to all fellow freebsd users :)
I am new in unix and BSD and I have encoured some
problems
trying to "play" with all it's features. :)
The problem I have is that I tried configuring mrtg in
my
freebsd 5.4 stable machine, as well as smb. And
that's where
my problems start!
first mrtg. mrtg w
>>It will not start! I edit it with crontab -e and
added
>>the line
>>*/5 * * * * root /usr/local/www/mrtg/run.sh with vi
>>editor.
>
>
>afaik, you don't define user who runs that crontab
>there, so remove
>"root" and say crontab -e as root when you want
toedit >it and you
>should be ok.
Th
That's exactly what I have done! I suspect that there
is on another crontab file (?) a reference to an mrtg
folder cause now I have moved my run.sh to another
folder and my crontab line is like this:
*/5 * * * * /usr/local/www/run.sh
no mrtg anywhere :) :)
but still get this mail!!! :
Messag
# whereis mrtg
mrtg: /usr/local/bin/mrtg
/usr/local/man/man1/mrtg.1.gz /usr/ports/net-mgmt/mrtg
# cat /usr/local/www/run.sh
env LANG=C mrtg /usr/local/www/mrtg/eg2/eg2.cfg
the /usr/local/bin/mrtg is a default script I think.
# ls -la |grep mrtg
-r-xr-xr-x 1 root wheel 88382 Oct 11 14:19