Resolve Post Install error with Unix / Linux Install for SCOM Agent

Posted by : on

Category : troubleshooting   linux   operationsManager

My customer was running Solaris 10 (SunOS 5.10), they were having issues when attempting to install the SCOM Agent ( So we dug further into things to verify why the installer was failing on the PostInstall step.

I asked the customer to copy the SCOM Linux / Unix Agent install files (C:\Program Files\Microsoft System Center\Operations Manager\Server\AgentManagement\UnixAgents\DownloadedKits) to the Solaris Machine so we can attempt a manual installation.

Extract the Solaris Installer file:

sh --extract

We looked at the output after running the install manually:

[solaris10:[email protected]/home/ops_monitoring/scxbundle.24766] pkgadd -d scx-1.6.8-1.solaris.10.sparc.pkg
The following packages are available:
  1  MSFTscx     Microsoft System Center 2012 Operations Manager for UNIX/Linux agent
                 (sparc) 1.6.8-1
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Processing package instance <MSFTscx> from </home/ops_monitoring/scxbundle.24766/scx-1.6.8-1.solaris.10.sparc.pkg>
Microsoft System Center 2012 Operations Manager for UNIX/Linux agent(sparc) 1.6.8-1
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## 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 <MSFTscx> [y,n,?] y
Installing Microsoft System Center 2012 Operations Manager for UNIX/Linux agent as <MSFTscx>
## Executing preinstall script.
Waiting for service stop: svc:/application/management/omid ...
## Installing part 1 of 1.
/opt/omi/lib/ <symbolic link>
[ verifying class <none> ]
[ verifying class <config> ]
## Executing postinstall script.
/var/sadm/pkg/MSFTscx/install/postinstall: ENV=/usr/sislocal/profile: is not an identifier
pkgadd: ERROR: postinstall script did not complete successfully
Installation of <MSFTscx> failed.

The piece of the message above that stood out to me was this line:

/var/sadm/pkg/MSFTscx/install/postinstall: ENV=/usr/sislocal/profile: is not an identifier

I asked the customer to take a look at their Environmental Variables in /etc/profile and verify if there are any custom lines in there. We noticed there were custom lines, we removed these lines and attempted the installation again, it succeeded!

Page Views

Share on:
About Blake Drumm
Blake Drumm

I like to collaborate and work on projects. My skills with Powershell allow me to quickly develop automated solutions to suite my customers, and my own needs.

Email : [email protected]

Website :

About Blake Drumm

This is the personal technical blog for Blake Drumm. Currently primarily focused towards Microsoft System Center Enterprise Management Products. I am an Microsoft Support Engineer on the System Center North America Support Team. I am new to blogging. July 6th, 2021 marks my first day as a Microsoft FTE converting from a contractor. I had been working as a contractor since January 2020. Continue to check back for new posts or tips. I like to continually update this page as time permits.

Follow @blakedrumm
Useful Links