Google it ....

Showing posts with label Solaris. Show all posts
Showing posts with label Solaris. Show all posts

Friday, June 5, 2015

Solaris OEM12c Agent Unreachable with Error "peer not authenticated"

Today faced this error on solaris 5.10 sparc
./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 2  
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Status agent Failure:unable to connect to http server at 
https://myhost.mydomain.ge:3872/emd/lifecycle/main/. [peer not authenticated]

solution : Stop the Agent:
$ ./emctl stop agent

Verfiy the java process has stopped
$ ps -ef |grep java

If the java process is still running you would see like the following still running
$AGENT_HOME/core/12.1.0.2.0/jdk/bin/sparcv9/java
$kill -9 pid

Update Config File:
$cd $AGENT_HOME/agent_inst/sysman/config
$cp s_jvm_options.opt s_jvm_options.opt.bkp

Add the following line to s_jvm_options.opt
-Dsun.security.pkcs11.enable-solaris=false

Restart Agent and Test Upload:
$ cd $AGENT_HOME/bin
$ ./emctl start agent
$ ./emctl upload agent