1. Backup and edit the file <agent_inst>/sysman/config/s_jvm_options.opt
2. Add the following line:
-Dsun.security.pkcs11.enable-solaris=false
3. Save the changes and restart the Agent:
cd <AGENT_HOME>/bin
emctl stop agent
emctl start agent
this fix is only if it says the following
Agent is Unreachable (REASON = unable to connect to http server at https://hmaipsubdb12:3872/emd/main/. [peer not authenticated]). Host is unreachable (REASON = Unknown Error pinging the host of URL https://hmaipsubdb12:3872/emd/main/.1).
1510706.1
******************************************************
In one case the above fix did not work. When tried to start agent it says starting and hangs there forever.. In the logs i still see peer not authenticated. So i opened an SR with oracle and they directed me to do the following steps. This fixed for me. In the below case we have ulimit value already set to 8192. So i skipped that part
. Backup $agent_inst/sysman/config/s_jvm_options.opt
$cp agent_inst/sysman/config/s_jvm_options.opt agent_inst/sysman/config/s_jvm_options.opt-orig
2. Add the following parameter to $agent_inst/sysman/config/s_jvm_options.opt
-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider
FYI: Using the poll based SelectorProvider by setting the java.nio.channels.spi.SelectorProvider system property to sun.nio.ch.PollSelectorProvider[This section is not visible to customers.]
3. Increase the open files hard limit value to 8k or higher
$ulimit -n 8192
$ulimit -a
To set the shell/openfile limits in /etc/security/limits.conf file consult System Administrator.
4. Start agent
$agent_inst/bin/emctl start agent
Here is the reference note
2. Add the following line:
-Dsun.security.pkcs11.enable-solaris=false
3. Save the changes and restart the Agent:
cd <AGENT_HOME>/bin
emctl stop agent
emctl start agent
this fix is only if it says the following
Agent is Unreachable (REASON = unable to connect to http server at https://hmaipsubdb12:3872/emd/main/. [peer not authenticated]). Host is unreachable (REASON = Unknown Error pinging the host of URL https://hmaipsubdb12:3872/emd/main/.1).
1510706.1
******************************************************
In one case the above fix did not work. When tried to start agent it says starting and hangs there forever.. In the logs i still see peer not authenticated. So i opened an SR with oracle and they directed me to do the following steps. This fixed for me. In the below case we have ulimit value already set to 8192. So i skipped that part
. Backup $agent_inst/sysman/config/s_jvm_options.opt
$cp agent_inst/sysman/config/s_jvm_options.opt agent_inst/sysman/config/s_jvm_options.opt-orig
2. Add the following parameter to $agent_inst/sysman/config/s_jvm_options.opt
-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider
FYI: Using the poll based SelectorProvider by setting the java.nio.channels.spi.SelectorProvider system property to sun.nio.ch.PollSelectorProvider[This section is not visible to customers.]
3. Increase the open files hard limit value to 8k or higher
$ulimit -n 8192
$ulimit -a
To set the shell/openfile limits in /etc/security/limits.conf file consult System Administrator.
4. Start agent
$agent_inst/bin/emctl start agent
Here is the reference note
No comments:
Post a Comment