Archive for the ‘Unix’ Category.

Certificate error when installing agent on Unix/Linux

Some times when installing X-plat agents you get an error:

The server certificate on the destination computer (server:1270) has the following errors:    
The SSL certificate contains a common name (CN) that does not match the hostname.

The problem here is that Operations Manager uses the FQDN in the DNS, but the certificate will contain the server name taken from the server.
To solve this issue you can change the DNS record, change the server name or you can add the server name to the HOSTS file on the Root Management Server or the Management Server.

Example:
192.168.80.37 name.in.certificate

Installing Operations Manager agent on Solaris 9 SPARC

Today when installing OpsMgr R2 agents on a couple of Solaris servers we ran in to a problem on the Solaris 9 servers.

The error we got in OpsMgr:
<![CDATA[Executing command: echo -e mail=\ninstance=overwrite\npartial=nocheck\nidepend=quit\nrdepend=quit\nconflict=nocheck\naction=nocheck\nbasedir=default\n > /tmp/scx-$USER/scx;uncompress -f /tmp/scx-om_unix/scx-1.0.4-248.solaris.9.sparc.pkg.Z

solariserror

We found this on the Solaris box:
[ verifying class <config> ]
## Executing postinstall script.
ld.so.1: .scxsslconfig: fatal: libssl.so.0.9.7: open failed: No such file or directory
Killed
pkgadd: ERROR: postinstall script did not complete successfully
Installation of <MSFTscx> failed.
bash-2.05# ssh –version
Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090700f
Bad escape character ‘rsion’.

And if you look in Appendix A in the Operations Manager 2007 R2 Operations Guide you se that OpenSSL is required. So after installing OpenSSL the agent install went fine!
Sun does not provide a version of OpenSSL for Solaris 9 SPARC. There is a version available from Sunfreeware.