Solaris 11.1 x86 NCPA Installation Failure

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
alakian
Posts: 2
Joined: Tue Nov 07, 2023 8:00 pm

Solaris 11.1 x86 NCPA Installation Failure

Post by alakian »

Hi,

I have two Solaris servers that NCPA are both on maintenance.


svcs | grep ncpa
maintenance Oct_14 svc:/site/ncpa_passive:default
maintenance Oct_14 svc:/site/ncpa_listener:default


I tried to clear and refresh the service


svcadm refresh ncpa_passive
svcadm clear ncpa_passive


I check the logs on /var/svc/log/site-ncpa_listener:default.log


[ Mar 25 14:07:30 Enabled. ]
[ Mar 25 14:07:30 Rereading configuration. ]
[ Mar 25 14:07:30 Executing start method ("/usr/local/ncpa/ncpa_listener"). ]
zipimport.ZipImportError: can't decompress data; zlib not available
Fatal Python error: unable to locate initialization module
[ Mar 25 14:07:31 Method "start" failed due to signal ABRT. ]
[ Mar 25 14:07:31 Executing start method ("/usr/local/ncpa/ncpa_listener"). ]
zipimport.ZipImportError: can't decompress data; zlib not available
Fatal Python error: unable to locate initialization module
[ Mar 25 14:07:32 Method "start" failed due to signal ABRT. ]
[ Mar 25 14:07:32 Executing start method ("/usr/local/ncpa/ncpa_listener"). ]
zipimport.ZipImportError: can't decompress data; zlib not available
Fatal Python error: unable to locate initialization module
[ Mar 25 14:07:32 Method "start" failed due to signal ABRT. ]
[ Mar 25 14:10:13 Rereading configuration. ]
[ Mar 25 14:11:15 Rereading configuration. ]
[ Mar 25 14:11:33 Leaving maintenance because clear requested. ]
[ Mar 25 14:11:33 Enabled. ]
[ Mar 25 14:11:33 Executing start method ("/usr/local/ncpa/ncpa_listener"). ]
zipimport.ZipImportError: can't decompress data; zlib not available
Fatal Python error: unable to locate initialization module
[ Mar 25 14:11:34 Method "start" failed due to signal ABRT. ]
[ Mar 25 14:12:58 Leaving maintenance because clear requested. ]
[ Mar 25 14:12:58 Enabled. ]
[ Mar 25 14:12:58 Executing start method ("/usr/local/ncpa/ncpa_listener"). ]
zipimport.ZipImportError: can't decompress data; zlib not available
Fatal Python error: unable to locate initialization module
[ Mar 25 14:12:58 Method "start" failed due to signal ABRT. ]
[ Oct 14 00:44:11 Rereading configuration. ]
[ Oct 14 00:44:20 Leaving maintenance because clear requested. ]
[ Oct 14 00:44:20 Enabled. ]
[ Oct 14 00:44:20 Executing start method ("/usr/local/ncpa/ncpa_listener"). ]
zipimport.ZipImportError: can't decompress data; zlib not available
Fatal Python error: unable to locate initialization module
[ Oct 14 00:44:21 Method "start" failed due to signal ABRT. ]


Do I need to install the zlib to fix the issue?
This is the version I use to install the NCPA (ncpa-2.4.0.sol11.i86pc.pkg)

Thank you.
alakian
Posts: 2
Joined: Tue Nov 07, 2023 8:00 pm

Re: Solaris 11.1 x86 NCPA Installation Failure

Post by alakian »

Hi Nagios Support,

Would like to follow up on this please.
User avatar
lgute
Posts: 118
Joined: Mon Apr 06, 2020 2:49 pm

Re: Solaris 11.1 x86 NCPA Installation Failure

Post by lgute »

Hi @alakian, thanks for reaching out.

NCPA 2.4 has known issues on Solaris. Most Solaris users have success using NCPA 2.3.1.

The forums are for community driven assistance and sharing of tips and techniques for working with Nagios Products. If you need urgent assistance with a Nagios Product please create an Answerhub case.

NCPA itself is an opensource community driven project and official support for Solaris is no longer being provided. If you would like to work on porting version 3.0 to Solaris you can find a link to the project here: NCPA

As well as the issues page here: NCPA Issues

And the Solaris specific issues here: NCPA Solaris Issues
Please let us know if you have any other questions or concerns.

-Laura
Mikasa23
Posts: 7
Joined: Thu Jul 06, 2023 3:12 am

Re: Solaris 11.1 x86 NCPA Installation Failure

Post by Mikasa23 »

You can try to install the `zlib` package using `pkgadd -d SUNWlibs zlib` and restart the NCPA service with `svcadm restart svc:/site/ncpa_passive` to resolve the issue. fnf
Post Reply