We are trying to install ncpa on Solaris 10 operating system.
We started with an error that was very common and seen on a lot of other forum posts stating that the nagios user and group could not be created. After some troubleshooting, I am now stuck with this error message when trying to install NCPA:
Installing A monitoring agent (Nagios Cross-Platform Agent) for Nagios. as <ncpa>
## Executing preinstall script.
/var/sadm/pkg/ncpa/install/preinstall: !: not found
/var/sadm/pkg/ncpa/install/preinstall: !: not found
## Installing part 1 of 1.
/usr/local/ncpa/ncpa_listener.xml
/usr/local/ncpa/ncpa_passive.xml
[ verifying class <none> ]
## Executing postinstall script.
I/O warning : failed to load external entity "/usr/share/lib/xml/dtd/service_bundle.dtd.1"
validity error : Could not load the external subset "/usr/share/lib/xml/dtd/service_bundle.dtd.1"
svccfg: Document is not valid.
I/O warning : failed to load external entity "/usr/share/lib/xml/dtd/service_bundle.dtd.1"
validity error : Could not load the external subset "/usr/share/lib/xml/dtd/service_bundle.dtd.1"
svccfg: Document is not valid.
svcadm: Pattern 'site/ncpa_listener' doesn't match any instances
svcadm: Pattern 'site/ncpa_passive' doesn't match any instances
pkgadd: ERROR: postinstall script did not complete successfully
Getting an error installing NCPA on Solaris 10
Re: Getting an error installing NCPA on Solaris 10
Hi Antdis,
Is the system x86 or sparc ? Also which version of NCPA are you attempting to install (2.2.2) ?
Thanks in advance,
Keith
Is the system x86 or sparc ? Also which version of NCPA are you attempting to install (2.2.2) ?
Thanks in advance,
Keith
Re: Getting an error installing NCPA on Solaris 10
It is Solaris 10 x86 and I've tried version 2.3.1
Re: Getting an error installing NCPA on Solaris 10
Hi Antdis,
Thank you for your patience. Unfortunately Solaris 10 is officially end of life and we no longer support NCPA on this platform. That being said if you have an SNMP stack installed on the system you could use SNMP for monitoring this and other Solaris 10 systems in your environment. If you need to have an agent installed on the system you can build either the NCPA or NRPE from source code.
https://github.com/NagiosEnterprises/ncpa
https://github.com/NagiosEnterprises/nrpe
Thanks and Best Regards,
Thank you for your patience. Unfortunately Solaris 10 is officially end of life and we no longer support NCPA on this platform. That being said if you have an SNMP stack installed on the system you could use SNMP for monitoring this and other Solaris 10 systems in your environment. If you need to have an agent installed on the system you can build either the NCPA or NRPE from source code.
https://github.com/NagiosEnterprises/ncpa
https://github.com/NagiosEnterprises/nrpe
Thanks and Best Regards,