Solaris 10 ncpa error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Solaris 10 ncpa error

Post by progressive.nagiosXI »

Hi

We are getting below error in ncpa logs in solaris 10 x86 and ncpa service not start.
Ncpa service show in maintenance and not in running state.

Currently python version 2.6 found in solaris server.

If python version need to update ,please suggest how to update python version or resolve below error.

Code: Select all


[ Jun 27 16:43:01 Rereading configuration. ]
[ Jun 27 16:43:01 Executing start method ("/usr/local/ncpa/ncpa_listener") ]
ld.so.1: ncpa_listener: fatal: libpython2.7.so.1.0: open failed: No such file or directory
[ Jun 27 16:43:01 Method "start" failed due to signal KILL ]
[ Jun 27 16:43:01 Executing start method ("/usr/local/ncpa/ncpa_listener") ]
ld.so.1: ncpa_listener: fatal: libpython2.7.so.1.0: open failed: No such file or directory
[ Jun 27 16:43:01 Method "start" failed due to signal KILL ]
[ Jun 27 16:43:01 Executing start method ("/usr/local/ncpa/ncpa_listener") ]
ld.so.1: ncpa_listener: fatal: libpython2.7.so.1.0: open failed: No such file or directory
[ Jun 27 16:43:01 Method "start" failed due to signal KILL ]
[ Jun 27 17:07:20 Rereading configuration. ]
Thanks
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Solaris 10 ncpa error

Post by ssax »

Which NCPA version did you install?

If you do this, does it start properly?

Code: Select all

svccfg –s ncpa_listener
setenv LD_LIBRARY_PATH /usr/local/ncpa
exit
svcadm refresh ncpa_listener
svcadm clear ncpa_listener
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: Solaris 10 ncpa error

Post by progressive.nagiosXI »

Hi

Please find below required details
Which NCPA version did you install? ncpa-2.2.1.sol10.i86pc.pkg

given command not found in OS

Code: Select all

bash-3.2# svcs -a | grep -i ncpa
maintenance    Jun_27   svc:/site/ncpa_listener:default
maintenance    Jun_27   svc:/site/ncpa_passive:default
bash-3.2# svccfg –s ncpa_listener
svccfg: Unknown command "▒".
bash-3.2#svccfg –s ncpa_listener
bash: vccfg: command not found
bash-3.2# setenv LD_LIBRARY_PATH /usr/local/ncpa
bash: setenv: command not found
bash-3.2# svcadm refresh ncpa_listener
bash-3.2# svcadm clear ncpa_listener
bash-3.2# svcs -a | grep -i ncpa
maintenance    Jun_27   svc:/site/ncpa_passive:default
maintenance    17:18:32 svc:/site/ncpa_listener:default
Thanks
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Solaris 10 ncpa error

Post by ssax »

Please type them in manually if copy/paste isn't working, you should have that command:

Code: Select all

svccfg –s ncpa_listener
setenv LD_LIBRARY_PATH /usr/local/ncpa
exit
svcadm refresh ncpa_listener
svcadm clear ncpa_listener
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: Solaris 10 ncpa error

Post by progressive.nagiosXI »

Hi ssax,

Thanks its working for the solaris server we started with .

Today we do the same steps as earlier in another solaris 10 x86 ,but ncpa_listener service showing in maintenance mode.

Please check the problem server ncpa logs , showing some python error

Thanks
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Solaris 10 ncpa error

Post by ssax »

KeyError: 'getpwnam(): name not found: nagios'
Do you have a nagios user?

Code: Select all

listusers | grep nagios
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: Solaris 10 ncpa error

Post by progressive.nagiosXI »

Hi ssax,

Thanks issue resolved , we will install agent in other solaris also in upcoming weeks.

if you want you can close this thread ,if we face any issue then we will open new thread.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Solaris 10 ncpa error

Post by scottwilkerson »

progressive.nagiosXI wrote:Hi ssax,

Thanks issue resolved , we will install agent in other solaris also in upcoming weeks.

if you want you can close this thread ,if we face any issue then we will open new thread.
Great

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked