Solaris EM12c 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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s