Page 1 of 1

ld.so.1: nagios: fatal: libc.so.1: version `SUNW_1.22.7' not

Posted: Wed Apr 03, 2019 10:46 am
by anilgupta
Team,

I am on below version of Nagios on "SunOS csbiamapp01 5.10 Generic_142909-17 sun4v sparc SUNW,T5240"
Nagios Stats 3.4.1
Copyright (c) 2003-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-11-2012
License: GPL
I encounter below error message when I execute nagios command.
Please let me know if you need further details.
wassrv@csbiamapp01:/export/home/wassrv $ cd /usr/local/nagios/bin
wassrv@csbiamapp01:/usr/local/nagios/bin $ ./nagios -d ../etc/nagios.cfg
ld.so.1: nagios: fatal: libc.so.1: version `SUNW_1.22.7' not found (required by file nagios)
ld.so.1: nagios: fatal: libc.so.1: open failed: No such file or directory
Killed

Re: ld.so.1: nagios: fatal: libc.so.1: version `SUNW_1.22.7'

Posted: Wed Apr 03, 2019 10:59 am
by npolovenko
Hello, @anilgupta. Currently, we only support the following Linux distributions for XI installation:
RHEL 6/7
CentOS 6/7
Oracle Linux 6/7
Debian 8/9
Ubuntu 14/16/18 (LTS)
https://support.nagios.com/kb/article.php?id=12

Would you be able to spin up a server that uses one of the listed OS? If not, we do have a precompiled VM image with preloaded CentOS and the latest version of XI. It can be downloaded here:
https://www.nagios.com/downloads/nagios-xi/vmware/

Let me know if you have any questions.

Re: ld.so.1: nagios: fatal: libc.so.1: version `SUNW_1.22.7'

Posted: Wed Apr 03, 2019 12:25 pm
by anilgupta
@npolovenko,

Thanks for your response.

I understand that you don't support Solaris. However, most of our target pre-prod & prod servers are Solaris which are candidates for monitoring .

The server in this subject is Development Server.

Can you help to troubleshoot the issue?

Re: ld.so.1: nagios: fatal: libc.so.1: version `SUNW_1.22.7'

Posted: Wed Apr 03, 2019 3:58 pm
by npolovenko
@anilgupta, I see. We provide multiple ways of monitoring Solaris servers using Nagios. The options include:

Check using the NRPE agent:
https://support.nagios.com/kb/article.p ... 37#Solaris

Checks using ssh:
https://assets.nagios.com/downloads/nag ... ng_SSH.pdf

Or SNMP checks:
https://support.nagios.com/kb/category.php?id=186

However, Installation of XI itself needs to be performed on a standalone server with a supported OS. You should not install XI on a production system that already hosts other applications.

Re: ld.so.1: nagios: fatal: libc.so.1: version `SUNW_1.22.7'

Posted: Wed Apr 03, 2019 7:41 pm
by rajasegar
anilgupta wrote:Team,
wassrv@csbiamapp01:/export/home/wassrv $ cd /usr/local/nagios/bin
wassrv@csbiamapp01:/usr/local/nagios/bin $ ./nagios -d ../etc/nagios.cfg
ld.so.1: nagios: fatal: libc.so.1: version `SUNW_1.22.7' not found (required by file nagios)
ld.so.1: nagios: fatal: libc.so.1: open failed: No such file or directory
Killed
Your server is missing a patch or Solaris service pack.
Google it and get it installed. It will be fine.

nrpe agent works fine in Solaris.

Re: ld.so.1: nagios: fatal: libc.so.1: version `SUNW_1.22.7'

Posted: Thu Apr 04, 2019 9:32 am
by lmiltchev
@anilgupta, let us know if you have any further questions.

Re: ld.so.1: nagios: fatal: libc.so.1: version `SUNW_1.22.7'

Posted: Thu Apr 04, 2019 12:47 pm
by anilgupta
Thanks for the response!