Solaris NRPE agent problems with libc.so.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dennisj_fresno
Posts: 2
Joined: Tue Apr 22, 2014 7:15 pm

Solaris NRPE agent problems with libc.so.1

Post by dennisj_fresno »

I am having the exact problem listed in this post - http://support.nagios.com/forum/viewtop ... 89&p=32382

It mentions recompiling but I'm not sure if I can do that since I downloaded the package already compiled. I couldn't seem to find the source code. Am I missing something?

I suppose the other option would be to apply Solaris patches to try and get the required version of libc.so.1. I'd rather not do that if I can avoid it.

Any help you can provide would be appreciated.

This is being installed on a Solaris 10 SPARC system. The NRPE package was downloaded from - http://assets.nagios.com/downloads/nagi ... ent.tar.gz

Here is some additional info -

Code: Select all

# cat /etc/release
                   Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
     Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
                            Assembled 11 August 2010

Code: Select all

# uname -a
SunOS <servername> 5.10 Generic_142909-17 sun4u sparc SUNW,Sun-Fire-V440

Code: Select all

# pvs /usr/lib/libc.so.1
        libc.so.1;
        SUNW_1.23;
        SUNW_1.22.6;
        SUNW_1.22.5;
        SUNW_1.22.4;
        SUNW_1.22.3;
        SUNW_1.22.2;
        SUNW_1.22.1;
        SUNW_1.22;
        SUNW_1.21.3;
        SUNW_1.21.2;
        SUNW_1.21.1;
        SUNW_1.21;
        SUNW_1.20.4;
        SUNW_1.20.1;
        SUNW_1.20;
        SUNW_1.19;
        SUNW_1.18.1;
        SUNW_1.18;
        SUNW_1.17;
        SUNW_1.16;
        SUNW_1.15;
        SUNW_1.14;
        SUNW_1.13;
        SUNW_1.12;
        SUNW_1.11;
        SUNW_1.10;
        SUNW_1.9;
        SUNW_1.8;
        SUNW_1.7;
        SUNW_1.6;
        SUNW_1.5;
        SUNW_1.4;
        SUNW_1.3;
        SUNW_1.2;
        SUNW_1.1;
        SUNW_0.9;
        SUNW_0.8;
        SUNW_0.7;
        SISCD_2.3;
        SYSVABI_1.3;
        SUNWprivate_1.1;
#
Thanks
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Solaris NRPE agent problems with libc.so.1

Post by sreinhardt »

So to clarify, starting nrpe has the libc issue, or check_disk does? If it's just check_disk, the plugins are super easy to rebuild and can be done from either tar or git cloning depending on your preference.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
dennisj_fresno
Posts: 2
Joined: Tue Apr 22, 2014 7:15 pm

Re: Solaris NRPE agent problems with libc.so.1

Post by dennisj_fresno »

Good point, here it is actually starting nrpe where the problem happens, which I guess is a little bit different. Here is the message -

[ Apr 18 17:03:10 Method "start" exited with status 137 ]
[ Apr 18 17:03:10 Executing start method ("/lib/svc/method/nrpe start") ]
ld.so.1: nrpe: fatal: libc.so.1: version `SUNW_1.22.7' not found (required by file /opt/nagios/bin/nrpe)
ld.so.1: nrpe: fatal: libc.so.1: open failed: No such file or directory
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Solaris NRPE agent problems with libc.so.1

Post by sreinhardt »

OK, so since it is actually nrpe and not the plugins, although likely they have the same issue. You really do only have the options of recompiling nrpe or updating your system with that file and its dependencies.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked