NCPA 2.3.1 Agent Fails Install on Solaris Server
Posted: Tue Feb 16, 2021 4:47 pm
Not really an XI specific issue, but couldn't see any forum for just the NCPA plugin. Using the newly released agent on Solaris we get install errors:
[0]fjus166:Packages/NAGIOS> sudo pkgadd -d ncpa-2.3.1.sol10.sparc.pkg
Password:
The following packages are available:
1 ncpa A monitoring agent (Nagios Cross-Platform Agent) for Nagios.
(sun4) Dev Release 02/12/2021
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: y
ERROR: Entry does not match available menu selection. Enter the number
of the menu item you wish to select, or the token which is associated
with the menu item, or a partial string which uniquely identifies the
token for the menu item. Enter ?? to reprint the menu.
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: y
ERROR: Entry does not match available menu selection. Enter the number
of the menu item you wish to select, or the token which is associated
with the menu item, or a partial string which uniquely identifies the
token for the menu item. Enter ?? to reprint the menu.
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all
Processing package instance <ncpa> from </jmp00p10/jumpstart/Packages/NAGIOS/ncpa-2.3.1.sol10.sparc.pkg>
A monitoring agent (Nagios Cross-Platform Agent) for Nagios.(sun4) Dev Release 02/12/2021
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
Using </usr/local> as the package base directory.
## Processing package information.
## Processing system information.
160 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <ncpa> [y,n,?] y
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.
pkgadd: ERROR: unable to create package object </usr/local/ncpa/etc>.
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
/usr/local/ncpa/etc <attribute change only>
/usr/local/ncpa/etc/ncpa.cfg <attribute change only>
pkgadd: ERROR: unable to create package object </usr/local/ncpa/etc/ncpa.cfg.d>.
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
/usr/local/ncpa/etc/ncpa.cfg.d <attribute change only>
/usr/local/ncpa/etc/ncpa.cfg.d/README.txt <attribute change only>
/usr/local/ncpa/etc/ncpa.cfg.d/example.cfg <attribute change only>
/usr/local/ncpa/etc/ncpa.cfg.sample <attribute change only>
/usr/local/ncpa/ncpa_listener.xml
/usr/local/ncpa/ncpa_passive.xml
pkgadd: ERROR: unable to create package object </usr/local/ncpa/var>.
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
/usr/local/ncpa/var <attribute change only>
[ verifying class <none> ]
ERROR: attribute verification of </usr/local/ncpa/etc> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/etc/ncpa.cfg> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/etc/ncpa.cfg.d> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/etc/ncpa.cfg.d/README.txt> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/etc/ncpa.cfg.d/example.cfg> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/etc/ncpa.cfg.sample> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/var> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
## Executing postinstall script.
Installation of <ncpa> partially failed.
Seems like the /var/sadm/pkg/ncpa/install/preinstall script does not exists and that is what is used to create owner and groups for the install?
[0]fjus166:Packages/NAGIOS> sudo pkgadd -d ncpa-2.3.1.sol10.sparc.pkg
Password:
The following packages are available:
1 ncpa A monitoring agent (Nagios Cross-Platform Agent) for Nagios.
(sun4) Dev Release 02/12/2021
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: y
ERROR: Entry does not match available menu selection. Enter the number
of the menu item you wish to select, or the token which is associated
with the menu item, or a partial string which uniquely identifies the
token for the menu item. Enter ?? to reprint the menu.
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: y
ERROR: Entry does not match available menu selection. Enter the number
of the menu item you wish to select, or the token which is associated
with the menu item, or a partial string which uniquely identifies the
token for the menu item. Enter ?? to reprint the menu.
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all
Processing package instance <ncpa> from </jmp00p10/jumpstart/Packages/NAGIOS/ncpa-2.3.1.sol10.sparc.pkg>
A monitoring agent (Nagios Cross-Platform Agent) for Nagios.(sun4) Dev Release 02/12/2021
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
Using </usr/local> as the package base directory.
## Processing package information.
## Processing system information.
160 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <ncpa> [y,n,?] y
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.
pkgadd: ERROR: unable to create package object </usr/local/ncpa/etc>.
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
/usr/local/ncpa/etc <attribute change only>
/usr/local/ncpa/etc/ncpa.cfg <attribute change only>
pkgadd: ERROR: unable to create package object </usr/local/ncpa/etc/ncpa.cfg.d>.
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
/usr/local/ncpa/etc/ncpa.cfg.d <attribute change only>
/usr/local/ncpa/etc/ncpa.cfg.d/README.txt <attribute change only>
/usr/local/ncpa/etc/ncpa.cfg.d/example.cfg <attribute change only>
/usr/local/ncpa/etc/ncpa.cfg.sample <attribute change only>
/usr/local/ncpa/ncpa_listener.xml
/usr/local/ncpa/ncpa_passive.xml
pkgadd: ERROR: unable to create package object </usr/local/ncpa/var>.
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
/usr/local/ncpa/var <attribute change only>
[ verifying class <none> ]
ERROR: attribute verification of </usr/local/ncpa/etc> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/etc/ncpa.cfg> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/etc/ncpa.cfg.d> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/etc/ncpa.cfg.d/README.txt> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/etc/ncpa.cfg.d/example.cfg> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/etc/ncpa.cfg.sample> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
ERROR: attribute verification of </usr/local/ncpa/var> failed
group name <nagios> not found in group table(s)
owner name <nagios> not found in passwd table(s)
## Executing postinstall script.
Installation of <ncpa> partially failed.
Seems like the /var/sadm/pkg/ncpa/install/preinstall script does not exists and that is what is used to create owner and groups for the install?