[CentOS] Script Problem

Sun Apr 17 19:43:12 UTC 2011
Matt <lm7812 at gmail.com>

I have a script I put in /etc/cron.fiveminutes


env LANG=C mrtg
--logging /dev/null >/dev/null 2>&1
env LANG=C mrtg
--logging /dev/null >/dev/null 2>&1
#exit 0;

Problem is there is some bug that raises an error even though mrtg
still graphs fine.

[root at server cron.fiveminutes]# env LANG=C mrtg
--logging /dev/null
Subroutine SNMPv1_Session::AF_INET6 redefined at
/usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 594
Subroutine main::AF_INET6 redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/bin/mrtg line 97
/usr/bin/rateup: /usr/local/lib/libpng12.so.0: no version information
available (required by /usr/lib64/libgd.so.2)

The issue is it tries to alert root every time this script is run.  I
thought adding the ">/dev/null 2>&1" would stop that but it does not.
Is there anyway to get the script to ignore the error and not alert

Another solution is to install a newer version of mrtg from source
which supposedly resolves the issue but I would rather just ignore the
error for now until a newer 64bit rpm comes out since its not hurting
anything except the annoying warning messages.