This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
progressive.nagiosXI
Posts: 277 Joined: Mon Jul 31, 2017 5:54 am
Post
by progressive.nagiosXI » Mon Jun 29, 2020 10:29 am
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
Post
by ssax » Mon Jun 29, 2020 5:12 pm
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
Post
by progressive.nagiosXI » Tue Jun 30, 2020 6:52 am
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
Post
by ssax » Tue Jun 30, 2020 3:30 pm
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
Post
by progressive.nagiosXI » Mon Jul 13, 2020 10:07 am
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
Post
by ssax » Tue Jul 14, 2020 1:24 pm
KeyError: 'getpwnam(): name not found: nagios'
Do you have a nagios user?
progressive.nagiosXI
Posts: 277 Joined: Mon Jul 31, 2017 5:54 am
Post
by progressive.nagiosXI » Thu Aug 06, 2020 9:04 am
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:
Post
by scottwilkerson » Thu Aug 06, 2020 9:16 am
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