From owner-freebsd-questions@FreeBSD.ORG Tue Sep 23 14:48:33 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 B3244106567D for ; Tue, 23 Sep 2008 14:48:33 +0000 (UTC) (envelope-from bsam@kfs.ru) Received: from kfs.ru (kfs.kfs.ru [62.183.117.194]) by mx1.freebsd.org (Postfix) with ESMTP id 5D8B58FC08 for ; Tue, 23 Sep 2008 14:48:28 +0000 (UTC) (envelope-from bsam@kfs.ru) Received: from bsam by kfs.ru with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Ki8h0-000F0Z-Pl; Tue, 23 Sep 2008 18:16:42 +0400 To: Martin McCormick References: <200809231330.m8NDU3WD020955@dc.cis.okstate.edu> From: Boris Samorodov Date: Tue, 23 Sep 2008 18:16:42 +0400 In-Reply-To: <200809231330.m8NDU3WD020955@dc.cis.okstate.edu> (Martin McCormick's message of "Tue, 23 Sep 2008 08:30:03 -0500") Message-ID: <70630389@serv3.int.kfs.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Boris B. Samorodov" Cc: freebsd-questions@freebsd.org 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 14:48:33 -0000 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 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. If you install ports at default paths then net-mgmt/p5-SNMP-Util should install SNMP_util.pm to /usr/local/lib/perl5/site_perl/5.8.8/SNMP . Do you have this file? WBR -- 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?