From owner-freebsd-questions@FreeBSD.ORG Tue Sep 23 13:30:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBA0A106566B for ; Tue, 23 Sep 2008 13:30:03 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id B409B8FC19 for ; Tue, 23 Sep 2008 13:30:03 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id m8NDU3WD020955 for ; Tue, 23 Sep 2008 08:30:03 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200809231330.m8NDU3WD020955@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Tue, 23 Sep 2008 08:30:03 -0500 From: Martin McCormick Subject: Re: FreeBSD Port of mrtg Not Happy when Trying to Start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2008 13:30:03 -0000 Jerry writes: > On Mon, 22 Sep 2008 09:54:04 -0500 > Martin McCormick 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 SNMP_util.pm 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. Martin McCormick