Bug 196356 - Can't locate utils.pm when running perl plugins
Can't locate utils.pm when running perl plugins
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: nagios-plugins (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Mike McGrath
Fedora Extras Quality Assurance
:
: 199890 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-22 14:18 EDT by David Rees
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version: 1.4.3-14
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-27 14:28:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Rees 2006-06-22 14:18:39 EDT
Description of problem:
Perl plugins generate the following error when trying to run them, for example,
check_breeze:
Can't locate utils.pm in @INC (@INC contains: nagios/plugins
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8) at ./check_breeze line 8.
BEGIN failed--compilation aborted at ./check_breeze line 8.

Version-Release number of selected component (if applicable):
nagios-plugins-1.4.3-9.fc5

How reproducible:
Every time.

Steps to Reproduce:
1. Install and run the plugin from one of the following RPMs: 
nagios-plugins-breeze-1.4.3-9.fc5
nagios-plugins-disk_smb-1.4.3-9.fc5
nagios-plugins-file_age-1.4.3-9.fc5
nagios-plugins-flexlm-1.4.3-9.fc5
nagios-plugins-ifoperstatus-1.4.3-9.fc5
nagios-plugins-ifstatus-1.4.3-9.fc5
nagios-plugins-ircd-1.4.3-9.fc5
nagios-plugins-ntp-1.4.3-9.fc5
nagios-plugins-rpc-1.4.3-9.fc5
nagios-plugins-wave-1.4.3-9.fc5

Additional info:
The problem seems to be that /usr/lib/nagios/plugins/utils.pm isn't also
installed into one of the path's listed in the error message, for example
/usr/lib/perl5/vendor_perl/5.8.8/utils.pm though I am not sure if that is the
ideal/correct location for it. Copying utils.pm there does let the affected
plugins run.
Comment 1 Mike McGrath 2006-07-23 22:18:19 EDT
*** Bug 199890 has been marked as a duplicate of this bug. ***
Comment 2 Mike McGrath 2006-07-23 22:38:09 EDT
nagios-plugins-1_4_3-14 has been built and should be available to the mirrors in
the next day or two.  Please check it and verify that this solves your errors. 
If it does or doesn't let me know.
Comment 3 David Rees 2006-07-27 14:27:41 EDT
It appears to fix the problem, thanks!
Comment 4 Mike McGrath 2006-07-27 14:28:49 EDT
Awesome.

Note You need to log in before you can comment on or make changes to this bug.