Page 1 of 1

Issues installing the XI Solaris Agent

Posted: Wed Oct 14, 2015 11:08 am
by mlbsysops
Hi all,

Having issues install the agent on some of our 5.10 solaris boxes:

Code: Select all

Do you want to continue with the installation of <SMCtop> [y,n,?] Using </usr/local> as the package base directory.
## Processing package information.
## Processing system information.
   4 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.

The following files are already installed on the system and are being
used by another package:
  /usr/local/bin <attribute change only>
  /usr/local/man <attribute change only>
  /usr/local/man/man1 <attribute change only>

Do you want to install these conflicting files [y,n,?,q] ## Checking for setuid/setgid programs.

Installing top as <SMCtop>

## Installing part 1 of 1.
pkgadd: ERROR: unable to create package object </usr/local/bin>.
    unable to fix attributes
/usr/local/bin <attribute change only>
pkgadd: ERROR: unable to create package object </usr/local/bin/sparcv7>.
    pathname does not exist
    unable to create directory
/usr/local/bin/sparcv7/top
ERROR: attribute verification of </usr/local/bin/sparcv7/top> failed
    pathname does not exist
pkgadd: ERROR: unable to create package object </usr/local/bin/sparcv9>.
    pathname does not exist
    unable to create directory
/usr/local/bin/sparcv9/top
ERROR: attribute verification of </usr/local/bin/sparcv9/top> failed
    pathname does not exist
/usr/local/bin/top
ERROR: attribute verification of </usr/local/bin/top> failed
    pathname does not exist
pkgadd: ERROR: unable to create package object </usr/local/doc>.
    pathname does not exist
    unable to create directory
pkgadd: ERROR: unable to create package object </usr/local/doc/top>.
    pathname does not exist
    unable to create directory
/usr/local/doc/top/Changes
ERROR: attribute verification of </usr/local/doc/top/Changes> failed
    pathname does not exist
/usr/local/doc/top/FAQ
ERROR: attribute verification of </usr/local/doc/top/FAQ> failed
    pathname does not exist
/usr/local/doc/top/INSTALL
ERROR: attribute verification of </usr/local/doc/top/INSTALL> failed
    pathname does not exist
/usr/local/doc/top/LICENSE
ERROR: attribute verification of </usr/local/doc/top/LICENSE> failed
    pathname does not exist
/usr/local/doc/top/README
ERROR: attribute verification of </usr/local/doc/top/README> failed
    pathname does not exist
/usr/local/doc/top/Y2K
ERROR: attribute verification of </usr/local/doc/top/Y2K> failed
    pathname does not exist
pkgadd: ERROR: unable to create package object </usr/local/man>.
    unable to fix attributes
/usr/local/man <attribute change only>
pkgadd: ERROR: unable to create package object </usr/local/man/man1>.
    unable to fix attributes
/usr/local/man/man1 <attribute change only>
/usr/local/man/man1/top.1
ERROR: attribute verification of </usr/local/man/man1/top.1> failed
    pathname does not exist
[ verifying class <none> ]
ERROR: attribute verification of </usr/local/bin> failed
    unable to fix attributes
ERROR: attribute verification of </usr/local/bin/sparcv7/top> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/bin/sparcv9/top> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/bin/top> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/doc/top/Changes> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/doc/top/FAQ> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/doc/top/INSTALL> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/doc/top/LICENSE> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/doc/top/README> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/doc/top/Y2K> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/man> failed
    unable to fix attributes
ERROR: attribute verification of </usr/local/man/man1> failed
    unable to fix attributes
ERROR: attribute verification of </usr/local/man/man1/top.1> failed
    pathname does not exist

Installation of <SMCtop> partially failed.
Here is the OS and machine info:
SunOS appzone06-dev 5.10 Generic_141444-09 sun4v sparc SUNW,Sun-Fire-T200

I'm installing the agent from this document:
https://assets.nagios.com/downloads/nag ... _Agent.pdf

Any ideas on what I can try?

Re: Issues installing the XI Solaris Agent

Posted: Wed Oct 14, 2015 4:49 pm
by jdalrymple
I'm confused about how SMCtop relates to our installation?
mlbsysops wrote:

Code: Select all

Do you want to continue with the installation of <SMCtop> [y,n,?] Using </usr/local> as the package base directory.
Can you clarify? Are we missing part of the output?

Re: Issues installing the XI Solaris Agent

Posted: Tue Oct 20, 2015 11:34 am
by mlbsysops
No, that is the full output I received.

Re: Issues installing the XI Solaris Agent

Posted: Tue Oct 20, 2015 12:03 pm
by jdalrymple
The process of installing our agent doesn't look like the output you posted at all.

The basic process is documented in the source README.

For your convenience I've attached a Solaris patched source tarball. The unpatched source of 2.15 barfs on Solaris. Please untar the file, and follow the instructions in the README.