FreeBSD Port of mrtg Not Happy when Trying to Start

Boris Samorodov bsam at
Tue Sep 23 14:48:33 UTC 2008

On Tue, 23 Sep 2008 08:30:03 -0500 Martin McCormick wrote:
> Jerry writes:
> > On Mon, 22 Sep 2008 09:54:04 -0500
> > Martin McCormick <martin at> wrote:

> > >       We are moving a mrtg system to FreeBSD so I installed
> > > the port from /usr/ports/net-mgmt/mrtg and the installation went
> > > flawlessly along with perl5.88 which it needs.

> Then, I posted that I had failed to install the snmp utilities
> so had not done everything necessary. At about that time, I
> received the message I am partly quoting here.

> > You might want to check and see if the 'p5-SNMP-Util-1.8.1' port is
> > installed {/usr/ports/net-mgmt/p5-SNMP-Util}. If not, try installing it
> > yourself and see if the problem goes away.

> Thanks greatly. I did in fact not have it, installed it, and the
> problem is still unchanged.

> > If you have 'portmanager' installed, you could try:
> > 
> >         portmanager net-mgmt/p5-SNMP-Util -l -p -y

> 	I installed portmamager and it reported everything
> present.

> > Check the '/var/log/portmanager.log' to see what transpired.

> No complaints at all.

> 	When installing mrtg, I left the ipv6 box unchecked as
> we have none, and turned on the snmpV3 support which made no
> difference.  Still the same error:

> Can't locate in @INC (@INC contains: /usr/local/bin/../lib/mrtg2 /u
> sr/local/bin /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.
> 8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /us
> r/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/bin/mrt
> g line 292.

> Since this is more or less a "dead in the water" error, I
> suspect I am doing something in the wrong sequence or am not
> totally starting from scratch on the mrtg make. I have been
> doing

> make clean, then make configure and then make install. 
> There is no problem at all with the make process so I
> am at a loss as to what to try next.

If you install ports at default paths then net-mgmt/p5-SNMP-Util
should install to
/usr/local/lib/perl5/site_perl/5.8.8/SNMP .
Do you have this file?

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

More information about the freebsd-questions mailing list