Page 1 of 1

Solaris 10 Agent not Working

Posted: Thu Dec 11, 2014 2:58 pm
by lb2cons
Hi everyone. I'm having a bad time installing Solaris agent. After the successful installation I'm still unable to use NRPE.

I was wondering if forgot something. By the way, the agent install guide pdf leads to 404 page: http://assets.nagios.com/redirects/redi ... _Agent.pdf

-bash-3.00# /opt/nagios/libexec/check_nrpe -H localhost
Connection refused by host

Install logs attachment:
logs-all-steps-20141211-164808.tar.gz
Thanks in advance.

Re: Solaris 10 Agent not Working

Posted: Thu Dec 11, 2014 3:11 pm
by cmerchant
I'll start with giving you an updated link to the doc:

http://assets.nagios.com/downloads/nagi ... _Agent.pdf

it might help explain where you need to add the CIDR addresses for the Monitoring server(s) IP addresses.

Re: Solaris 10 Agent not Working

Posted: Thu Dec 11, 2014 4:10 pm
by lb2cons
The instructions it's pretty silly. Doesn't helped me. But dmesg helped me found that the problem it's related to libc.

[ Dec 11 16:48:07 Method "start" exited with status 137 ]
[ Dec 11 16:48:07 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
Killed
[ Dec 11 16:48:07 Method "start" exited with status 137 ]

Re: Solaris 10 Agent not Working

Posted: Thu Dec 11, 2014 5:30 pm
by Box293
Did you resolve the libc problem or do you still need help?

Re: Solaris 10 Agent not Working

Posted: Thu Dec 11, 2014 6:19 pm
by lb2cons
Nope, I'm still stuck with this. My last try was to compile nrpe from source. But now i'm getting the following error:

Dec 11 19:51:13 svncdes2 inetd[7780]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory)

Re: Solaris 10 Agent not Working

Posted: Thu Dec 11, 2014 6:50 pm
by Box293
Run this:

Code: Select all

inetadm -l svc:/network/nrpe/tcp:default
What is the user account?

Does this user account have a home directory?

I gathered these steps from here (not specifically NRPE related but similar problem):
http://linuxscroll.wordpress.com/2011/0 ... directory/

Re: Solaris 10 Agent not Working

Posted: Fri Dec 12, 2014 5:59 am
by lb2cons
It was the home directory Box293! Thanks a lot! :lol:

Re: Solaris 10 Agent not Working

Posted: Fri Dec 12, 2014 10:03 am
by cmerchant
Great. I will go ahead and close this thread.