[Pkg-nagios-devel] Bug#713839: nagios-plugins: check-rpc is using the wrong rpcinfo path.

Russell Sim russell.sim at gmail.com
Sun Jun 23 07:54:30 UTC 2013


Package: nagios-plugins
Version: 1.4.16-1
Severity: normal

Hi,

In the debian rules file it seems that the wrong path for rpcinfo is being
used.  It produces messages like:

"Can't exec "/usr/bin/rpcinfo": No such file or directory

This problem appeared in Ubuntu [0] and was dealt with in svn [1] but it seems
to affect the debian package too.

Thanks,
Russell

0. https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1086151
1. http://lists.alioth.debian.org/pipermail/pkg-nagios-
changes/2012-December/003281.html

Error details
---------------

Error messages like this appear in the nagios debugging log and the service
drops to an Unknown state in nagios.

[1371969253.026788] [016.1] [pid=8625] Embedded Perl ran
/usr/lib/nagios/plugins/check_rpc: return code=3, plugin output=**ePN
/usr/lib/nagios/plugins/check_rpc: "Can't exec "/usr/bin/rpcinfo": No such file
or directory at (eval 1) line 308,".\n
[1371969253.030020] [016.1] [pid=8626] Embedded Perl ran
/usr/lib/nagios/plugins/check_rpc: return code=3, plugin output=**ePN
/usr/lib/nagios/plugins/check_rpc: "Can't exec "/usr/bin/rpcinfo": No such file
or directory at (eval 1) line 308,".\n

the syslog side of the errors look like which i'm including more for indexing

Jun 23 16:34:13 marvin nagios3: Error: Unable to rename file
'/var/lib/nagios3/spool/checkresults/check30ojRr' to
'/var/lib/nagios3/spool/checkresults/caUUYXN': No such file or directory
Jun 23 16:34:13 marvin nagios3: Warning: Unable to move file
'/var/lib/nagios3/spool/checkresults/check30ojRr' to check results queue.

# apt-cache policy rpcbind
rpcbind:
  Installed: 0.2.0-8
  Candidate: 0.2.0-8
  Version table:
 *** 0.2.0-8 0
        990 http://mirror.internode.on.net/pub/debian/ testing/main amd64
Packages
        500 http://mirror.internode.on.net/pub/debian/ unstable/main amd64
Packages
        100 /var/lib/dpkg/status

# dpkg -L rpcbind
/.
/usr
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/rpcbind.8.gz
/usr/share/man/man7
/usr/share/man/man7/rpcinfo.7.gz
/usr/share/doc
/usr/share/doc/rpcbind
/usr/share/doc/rpcbind/copyright
/usr/share/doc/rpcbind/changelog.Debian.gz
/usr/share/doc/rpcbind/changelog.gz
/usr/sbin
/usr/sbin/rpcinfo
/sbin
/sbin/rpcbind
/etc
/etc/insserv.conf.d
/etc/insserv.conf.d/rpcbind
/etc/init.d
/etc/init.d/rpcbind



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nagios-plugins depends on:
ii  nagios-plugins-basic     1.4.16-1
ii  nagios-plugins-standard  1.4.16-1

Versions of packages nagios-plugins recommends:
ii  nagios-plugins-contrib  6.20130521

Versions of packages nagios-plugins suggests:
ii  nagios3  3.4.1-3+b1

-- no debconf information



More information about the Pkg-nagios-devel mailing list