2026-07-08 10:04:03,154 [Thread-1] INFO commands.StartCommand - Starting ZDT Managed Server... 2026-07-08 10:04:03,522 [Thread-3] INFO commands.BaseCommand - <OUT> 2026-07-08 10:04:03,522 [Thread-3] INFO commands.BaseCommand - <OUT>Initializing WebLogic Scripting Tool (WLST) ... 2026-07-08 10:04:03,522 [Thread-3] INFO commands.BaseCommand - <OUT> 2026-07-08 10:04:03,631 [Thread-5] INFO commands.BaseCommand - <OUT> 2026-07-08 10:04:03,632 [Thread-5] INFO commands.BaseCommand - <OUT>Initializing WebLogic Scripting Tool (WLST) ... 2026-07-08 10:04:03,632 [Thread-5] INFO commands.BaseCommand - <OUT> 2026-07-08 10:04:03,979 [Thread-6] INFO commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file 2026-07-08 10:04:04,707 [Thread-6] INFO commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file 2026-07-08 10:04:07,952 [Thread-6] INFO commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file 2026-07-08 10:04:08,143 [Thread-6] INFO commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file 2026-07-08 10:04:08,144 [Thread-6] INFO commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file 2026-07-08 10:04:08,274 [Thread-4] INFO commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file 2026-07-08 10:04:08,527 [Thread-6] INFO commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file 2026-07-08 10:04:08,534 [Thread-6] INFO commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file 2026-07-08 10:04:08,535 [Thread-6] INFO commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file 2026-07-08 10:04:08,536 [Thread-6] INFO commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file 2026-07-08 10:04:08,539 [Thread-6] INFO commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index fileCause
Wednesday, July 8, 2026
OEM 24ai emctl.log shows many "*sys-package-mgr*: can't write index file"
Sunday, July 5, 2026
OEM 24ai Configure OMS to listen on specific IP address instead of all IP addresses
[oracle@host01]$ emctl get property -name oracle.sysman.emSDK.svlt.ConsoleServerPort Oracle Enterprise Manager 24ai Release 1 Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved. SYSMAN password: Value for property oracle.sysman.emSDK.svlt.ConsoleServerPort for oms host01.dbaplus.ca:4889_Management_Service is 4889 [oracle@host01]$ emctl get property -name oracle.sysman.emSDK.svlt.ConsoleServerHTTPSPort Oracle Enterprise Manager 24ai Release 1 Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved. SYSMAN password: Value for property oracle.sysman.emSDK.svlt.ConsoleServerHTTPSPort for oms host01.dbaplus.ca:4889_Management_Service is 4903 [oracle@host01]$ [oracle@host01]$ emctl get property -name oracle.sysman.emSDK.svlt.EMConsoleServerPort Oracle Enterprise Manager 24ai Release 1 Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved. SYSMAN password: Value for property oracle.sysman.emSDK.svlt.EMConsoleServerPort for oms host01.dbaplus.ca:4889_Management_Service is 7788Check listening IP with command ss or netstat,
[oracle@host01]$ emctl get property -name oracle.sysman.emSDK.svlt.EMConsoleServerHTTPSPort Oracle Enterprise Manager 24ai Release 1 Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved. SYSMAN password: Value for property oracle.sysman.emSDK.svlt.EMConsoleServerHTTPSPort for oms host01.dbaplus.ca:4889_Management_Service is 7799
[oracle@host01]$ ss -ltunp | grep -Ei '4889|4903|7788|7799|Netid|State' Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process tcp LISTEN 0 4096 *:7788 *:* users:(("java",pid=18031,fd=25)) tcp LISTEN 0 4096 *:7799 *:* users:(("java",pid=18031,fd=27)) tcp LISTEN 0 4096 *:4903 *:* users:(("java",pid=18031,fd=29)) tcp LISTEN 0 4096 *:4889 *:* users:(("java",pid=18031,fd=28))OEM is listening on all IPs (*) with these four ports.
applicationConnectors: [{ type: http, port: ${EM_CONSOLE_HTTP_PORT}, useDateHeader : ${USE_DATE_HEADER}, httpCompliance: ${HTTP_COMPLIANCE}, idleTimeout : ${IDLE_TIMEOUT} seconds }, { type: "sso-https", port: ${EM_CONSOLE_HTTPS_PORT}, keyStorePath: ${EM_CONSOLE_KEYSTORE_PATH}, keyStoreType: ${KEYSTORE_TYPE}, supportedProtocols: ${SUPPORTED_PROTOCOLS}, supportedCipherSuites:${SUPPORTED_CIPHER_SUITES}, excludedCipherSuites : [""], useDateHeader : ${USE_DATE_HEADER}, httpCompliance: ${HTTP_COMPLIANCE}, idleTimeout : ${IDLE_TIMEOUT} seconds }, { type: http, port: ${EM_UPLOAD_HTTP_PORT}, useDateHeader : ${USE_DATE_HEADER}, httpCompliance: ${HTTP_COMPLIANCE}, idleTimeout : ${IDLE_TIMEOUT} seconds }, { type: "sso-https", port: ${EM_UPLOAD_HTTPS_PORT}, keyStorePath: ${EM_UPLOAD_KEYSTORE_PATH}, keyStoreType: ${KEYSTORE_TYPE}, supportedProtocols: ${SUPPORTED_PROTOCOLS}, supportedCipherSuites:${SUPPORTED_CIPHER_SUITES}, excludedCipherSuites : [""], useDateHeader : ${USE_DATE_HEADER}, httpCompliance: ${HTTP_COMPLIANCE}, idleTimeout : ${IDLE_TIMEOUT} seconds } ]Suppose to listen on IP 10.1.1.28, new connectors as following,
applicationConnectors: [{
type: http,
port: ${EM_CONSOLE_HTTP_PORT},
bindHost: "10.1.1.28",
useDateHeader : ${USE_DATE_HEADER},
httpCompliance: ${HTTP_COMPLIANCE},
idleTimeout : ${IDLE_TIMEOUT} seconds
},
{
type: "sso-https",
port: ${EM_CONSOLE_HTTPS_PORT},
bindHost: "10.1.1.28",
keyStorePath: ${EM_CONSOLE_KEYSTORE_PATH},
keyStoreType: ${KEYSTORE_TYPE},
supportedProtocols: ${SUPPORTED_PROTOCOLS},
supportedCipherSuites:${SUPPORTED_CIPHER_SUITES},
excludedCipherSuites : [""],
useDateHeader : ${USE_DATE_HEADER},
httpCompliance: ${HTTP_COMPLIANCE},
idleTimeout : ${IDLE_TIMEOUT} seconds
},
{
type: http,
port: ${EM_UPLOAD_HTTP_PORT},
bindHost: "10.1.1.28",
useDateHeader : ${USE_DATE_HEADER},
httpCompliance: ${HTTP_COMPLIANCE},
idleTimeout : ${IDLE_TIMEOUT} seconds
},
{
type: "sso-https",
port: ${EM_UPLOAD_HTTPS_PORT},
bindHost: "10.1.1.28",
keyStorePath: ${EM_UPLOAD_KEYSTORE_PATH},
keyStoreType: ${KEYSTORE_TYPE},
supportedProtocols: ${SUPPORTED_PROTOCOLS},
supportedCipherSuites:${SUPPORTED_CIPHER_SUITES},
excludedCipherSuites : [""],
useDateHeader : ${USE_DATE_HEADER},
httpCompliance: ${HTTP_COMPLIANCE},
idleTimeout : ${IDLE_TIMEOUT} seconds
}
]After saving em.conf, restart oms with commands[oracle@host01]$ ss -ltunp | grep -Ei '4889|4903|7788|7799|Netid|State' Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process tcp LISTEN 0 4096 [::ffff:10.1.1.28]:4889 *:* users:(("java",pid=158072,fd=28)) tcp LISTEN 0 4096 [::ffff:10.1.1.28]:4903 *:* users:(("java",pid=158072,fd=29)) tcp LISTEN 0 4096 [::ffff:10.1.1.28]:7799 *:* users:(("java",pid=158072,fd=27)) tcp LISTEN 0 4096 [::ffff:10.1.1.28]:7788 *:* users:(("java",pid=158072,fd=25))
Monday, June 15, 2026
OEM 13c & 24ai ASM Instances Targets Showing Down in OEM Console
In Oracle Enterprise Manager (OEM) Cloud Control, ASM instances targets are shown as DOWN in OEM console, and Cluster ASM are shown as "Availability Evaluation Error".
Test Connection on Monitoring Configuration page is successful with both Cluster ASM and all ASM instances.
Cluster ASM and all ASM instances are accessible on their home page after successful logging in with SYS user.
SQL Plus can remotely connect to ASM instances with following connection strings,
connect asmsnmp/pasword@host01-vip/+ASM/+ASM1 as sysdba
connect asmsnmp/pasword@host02-vip/+ASM/+ASM2 as sysdba
SQL> connect asmsnmp/password@host01-vip/+ASM/+ASM1 as sysdba Connected. SQL> connect asmsnmp/password@host02-vip/+ASM/+ASM2 as sysdba Connected.Following command succeeded,
[oracle@host01]$ emctl control agent runCollection "+ASM1_host01":osm_instance Response Oracle Enterprise Manager 24ai Release 1 Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved. --------------------------------------------------------------- EMD runCollection completed successfullyBut following command failed with error ORA-12514,
[oracle@host01]$ emctl getmetric agent "+ASM1_host01",osm_instance,Response Oracle Enterprise Manager 24ai Release 1 Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved. Status,oraerr 0,Failed to connect: java.sql.SQLRecoverableException: Listener refused the connection with the following error: ORA-12514\, TNS:listener does not currently know of service requested in connect descriptorCAUSE
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
ASMNET1LSNR_ASM=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=ASMNET1LSNR_ASM)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_ASMNET1LSNR_ASM=ON # line added by Agent
VALID_NODE_CHECKING_REGISTRATION_ASMNET1LSNR_ASM=SUBNET # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
VALID_NODE_CHECKING_REGISTRATION_LISTENER_SCAN1=OFF # line added by Agent - Disabled by Agent because REMOTE_REGISTRATION_ADDRESS is set
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
VALID_NODE_CHECKING_REGISTRATION_LISTENER_SCAN2=OFF # line added by Agent - Disabled by Agent because REMOTE_REGISTRATION_ADDRESS is set
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent
VALID_NODE_CHECKING_REGISTRATION_LISTENER_SCAN3=OFF # line added by Agent - Disabled by Agent because REMOTE_REGISTRATION_ADDRESS is set
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
VALID_NODE_CHECKING_REGISTRATION_LISTENER=SUBNET # line added by Agent
USE_SID_AS_SERVICE_LISTENER=ON
Wednesday, April 22, 2026
OEM 13c WebTier Could Not Be Started Due To The Default OHS Keystore Certificate Expired
OMS start failed with error "WebTier Could Not Be Started."
$ emctl start oms Oracle Enterprise Manager Cloud Control 13c Release 5 Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved. Starting Oracle Management Server... WebTier Could Not Be Started. Error Occurred: WebTier Could Not Be Started. Please check /u01/app/oracle/em13.5/gc_inst/em/EMGC_OMS1/sysman/log/emctl.log for error details
emctl.log shows "Failed to start the server ohs1"
2026-04-19 08:06:38,272 [Thread-1] INFO commands.BaseCommand - <OUT>NMProcess: SEVERE: Failed to start the server ohs1 2026-04-19 08:06:38,275 [Thread-1] INFO commands.BaseCommand - <OUT>NMProcess: <Apr 19, 2026 8:06:38 AM EDT> <WARNING> <Server start command for OHS server 'ohs1' failed due to: [Failed to start the server ohs1 2026-04-19 08:06:38,275 [Thread-1] INFO commands.BaseCommand - <OUT>NMProcess: Check log file /u01/app/oracle/em13.5/gc_inst/user_projects/domains/GCDomain/system_components/OHS/ohs_nm.log 2026-04-19 08:06:38,275 [Thread-1] INFO commands.BaseCommand - <OUT>NMProcess: Check log file /u01/app/oracle/em13.5/gc_inst/user_projects/domains/GCDomain/servers/ohs1/logs/ohs1.log]. Please check Node Manager log and/or server 'ohs1' log for detailed information.> ... ... 2026-04-19 08:06:38,754 [main] ERROR commands.BaseCommand - WebTier Could Not Be Started. 2026-04-19 08:06:38,754 [main] ERROR wls.OMSController - OMSController failed for start oms 2026-04-19 08:06:38,755 [main] ERROR wls.OMSController - OMSController Error: WebTier Could Not Be Started. java.lang.Exception: WebTier Could Not Be Started. at oracle.sysman.emctl.commands.StartCommand.startOMS(StartCommand.java:431) ~[emCoreSDKImpl.jar:?] at oracle.sysman.emctl.commands.StartCommand.execute(StartCommand.java:281) ~[emCoreSDKImpl.jar:?] at oracle.sysman.emctl.wls.OMSController.main(OMSController.java:246) [emCoreSDKImpl.jar:?]ohs1.log shows "OHS:2057 Init: (localhost:443) Unable to initialize SSL environment, nzos call nzosSetCredential returned 28791"
[2026-04-19T08:06:37.1384-04:00] [OHS] [ERROR:32] [OH99999] [ossl] [host_id: host01] [host_addr: 10.10.28.25] [pid: 3028810] [tid: 140246783358336] [user: oracle] [VirtualHost: localhost:0] OHS:2057 Init: (localhost:443) Unable to initialize SSL environment, nzos call nzosSetCredential returned 28791 [2026-04-19T08:06:37.1384-04:00] [OHS] [ERROR:32] [OH99999] [ossl] [host_id: host01] [host_addr: 10.10.28.25] [pid: 3028810] [tid: 140246783358336] [user: oracle] [VirtualHost: localhost:0] OHS:2171 NZ Library Error: Unknown errorThe error message shows OHS failed to communicate with locallhost using SSL, it usually means invalid certificate.
$ cd /u01/app/oracle/em13.5/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/ohs1/keystores/default $ orapki wallet display -wallet ./ Oracle PKI Tool Release 19.0.0.0.0 - Production Version 19.3.0.0.0 Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved. Requested Certificates: User Certificates: Subject: CN=localhost,OU=GCDomain ohs1,O=FOR TESTING ONLY Trusted Certificates: Subject: CN=CertGenCA,OU=FOR TESTING ONLY,O=MyOrganization,L=MyTown,ST=MyState,C=US $ orapki wallet export -wallet ./ -dn 'CN=localhost,OU=GCDomain ohs1,O=FOR TESTING ONLY' -cert /tmp/export.cert Oracle PKI Tool Release 19.0.0.0.0 - Production Version 19.3.0.0.0 Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved. Operation is successfully completed. $ orapki cert display -cert /tmp/export.cert -summary Oracle PKI Tool Release 19.0.0.0.0 - Production Version 19.3.0.0.0 Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved. Subject: CN=localhost,OU=GCDomain ohs1,O=FOR TESTING ONLY Issuer: CN=CertGenCA,OU=FOR TESTING ONLY,O=MyOrganization,L=MyTown,ST=MyState,C=US Valid Until: Sat Apr 18 21:54:35 EDT 2026The certificate has expired on Sat Apr 18 21:54:35 EDT 2026.
* orapki should run from the location "<OMS_HOME>/oracle_common/bin" not from the "<OMS_HOME>/bin" * Make sure performing these steps to the OHS stage location not under the instance location: Stage location: <GC_INST>/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/ohs1/keystores/default Instance location:1. Rename existing wallet file
<GC_INST>/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/instances/ohs1/keystores/default/
$ cd /u01/app/oracle/em13.5/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/ohs1/keystores/default
$ ls -l
total 8
-rw-r----- 1 oracle oinstall 4341 Apr 19 2021 cwallet.sso
-rw------- 1 oracle oinstall 0 Apr 19 2022 cwallet.sso.lck
$ mv cwallet.sso cwallet.sso.expired
2. Create a new auto_login wallet with commandorapki wallet create -wallet <wallet_location> -auto_login_only
$ echo $OMS_HOME
/u01/app/oracle/em13.5/middleware
$ pwd
/u01/app/oracle/em13.5/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/ohs1/keystores/default
$ $OMS_HOME/oracle_common/bin/orapki wallet create -wallet ./ -auto_login_only
Oracle PKI Tool : Version 12.2.1.4.0SECINF-BP
Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.
Operation is successfully completed.
$ ls -l /u01/app/oracle/em13.5/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/ohs1/keystores/default
total 4
-rw------- 1 oracle oinstall 4085 Apr 19 11:26 cwallet.sso
-rw-r----- 1 oracle oinstall 4341 Apr 19 2021 cwallet.sso.expired
-rw------- 1 oracle oinstall 0 Apr 19 2022 cwallet.sso.lck
$ $OMS_HOME/oracle_common/bin/orapki wallet display -wallet ./
Oracle PKI Tool : Version 12.2.1.4.0SECINF-BP
Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.
Requested Certificates:
User Certificates:
Trusted Certificates:
3. Add the new self signed certificate to the wallet with command$ $OMS_HOME/oracle_common/bin/orapki wallet add -wallet ./ -dn 'CN=localhost,OU=GCDomain ohs1,O=FOR TESTING ONLY' -keysize 2048 -self_signed -validity 3650 -sign_alg sha256 -auto_login_only Oracle PKI Tool : Version 12.2.1.4.0SECINF-BP Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved. Operation is successfully completed. $ $OMS_HOME/oracle_common/bin/orapki wallet display -wallet ./ Oracle PKI Tool : Version 12.2.1.4.0SECINF-BP Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved. Requested Certificates: User Certificates: Subject: CN=localhost,OU=GCDomain ohs1,O=FOR TESTING ONLY Trusted Certificates: Subject: CN=localhost,OU=GCDomain ohs1,O=FOR TESTING ONLY $ $OMS_HOME/oracle_common/bin/orapki wallet export -wallet ./ -dn 'CN=localhost,OU=GCDomain ohs1,O=FOR TESTING ONLY' -cert /tmp/export.cert Oracle PKI Tool : Version 12.2.1.4.0SECINF-BP Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved. Operation is successfully completed. $ $ $OMS_HOME/oracle_common/bin/orapki cert display -cert /tmp/export.cert -summary Oracle PKI Tool : Version 12.2.1.4.0SECINF-BP Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved. Subject: CN=localhost,OU=GCDomain ohs1,O=FOR TESTING ONLY Issuer: CN=localhost,OU=GCDomain ohs1,O=FOR TESTING ONLY Valid Until: Wed Apr 16 11:26:53 EDT 2036New certificate valid in 10 years.
$ cd /u01/app/oracle/em13.5/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/components $ cp -p ./OHS/ohs1/keystores/default/cwallet.sso ./OHS/instances/ohs1/keystores/defaultIn case of multi OMS environment, OHS instance location is deferent on deferent OMS node, for example
Thursday, January 29, 2026
OEM 13c shows database and ASM instance DOWN when TCPS (TLS/SSL) enabled
Friday, March 8, 2024
OEM 13c Log4j Vulnerabilities Security Alert for SQL Developer shipped with Oracle Enterprise Manager (OEM) Cloud Control
$ cd $OMS_HOME$ rm -rf sqldeveloper
Wednesday, October 12, 2022
Upgrade/patch JDK 8 used by Oracle Enterprise Manager 13.5 OMS and Agent
Starting April 2024, a Holistic patch is being introduced in OEM, consolidating all SPB, CPU, and JDK patches into a single patch. Applying a single patch will upgrade JDK, OPatch to the latest and apply all applicable latest FMW product patches on OMS home. OMSPatcher utility will be used to apply Holistic Patching. There would be no need to upgrade/patch JDK serparately anymore.
Thursday, September 29, 2022
How to Apply Patch on Oracle Enterprise Manger 13c (13.4/13.5) Agent in online / offline mode
Wednesday, August 24, 2022
Patch Oracle WebLogic Server 12c Release 2 12.2.1.x (12.2.1.3, 12.2.1.4) including WLS, OHS, Coherence, ADR and RDA
Friday, April 29, 2022
EM 12c/13c Configure Enterprise Manager with custom or third-party SSL Certificates
Friday, December 31, 2021
EM 12c/13c Send Email Notification When OMS or Repository Database Down
EM 13c Agent is unreachable as its first severity has not yet come after blackout end
The agent status shows "Agent Unreachable (Post Blackout)" in Oracle Enterprise Manager 13c console. On the agent home page, it shows following error message,
Agent is unreachable as its first severity has not yet come after blackout end.
It is seen in EM 13c, can can be fixed by running following commands on agent host,
Saturday, November 6, 2021
EM 12c/13c Agent Unreachable (Agent is running but is currently not read to accept client requests)
Host=host01.dbaplus.ca
Target type=Agent
Target name=host01.dbaplus.ca:3872
Categories=Availability
Message=Agent Unreachable (REASON = The agent is running but is currently not ready to accept client requests). Host is reachable.
Severity=Critical
Event reported time=Nov 6, 2021 12:36:48 PM EDT
Operating System=SunOS
Platform=sparc
Event Type=Target Availability
Event name=Status
Availability status=Agent Unreachable
Update Details:
Agent Unreachable (REASON = The agent is running but is currently not ready to accept client requests). Host is reachable.
Sunday, October 24, 2021
EM 12c/13c The listener is down: Failed to run lsnrctl
Friday, June 25, 2021
EM 12c/13c Update Oracle Home Path of Targets with SQL
Wednesday, June 23, 2021
EM 12c/13c Change Lifecycle Status with SQL
Tuesday, June 22, 2021
EM 12c/13c How to find out new discovered targets with SQL
Wednesday, May 5, 2021
OEM 12c/13c Database Target Discovered and Named with host name as suffix
Saturday, May 1, 2021
OEM 13c Software Standardization Advisor Returns Collection Errors
Sunday, April 25, 2021
OEM 13c EMGC_ADMINSERVER & EMGC_OMS1 target status show DOWN when emctl secure wls with cut certificate
When custom certificate is configured for OEM 13c, WebLogic Servers installed as part of Enterprise Manager Cloud control (Administration Server and Managed Servers) can be secured with custom certificate using following command,
$OMS_HOME/bin/emclt secure wls
However, the WebLogic Servers and their deployments could show down in OEM console after secured with custom certificate, though they are still running well.
The reason is that the CA involved in issuing the custom certificate for OMS is not "well known", at least it is not accepted by Oracle as default trusted CA. When agent running on OMS server communicates with WebLogic Servers (WLS), WLS is using the custom certificate as his own identification, but agent cannot find trusted certificates of CA involved in issuing the custom certificate from agent's local keystore. Therefore, agent cannot verify the validation of WLS's certificate, and stops the communication with WLS.
The quick fix is to import the certificate of each CA involved in issuing the ticket into agent local keystore with following command,
$AGENT_HOME/bin/emctl secure add_trust_cert_to_jks -trust_certs_loc <ca_certificate_file> -alias <certificate_alias> [-password <keystore_pwd>]
Here, <certificate_alias> is used to identify the certificates saved in the keystore, they must be unique for each certificate, <keystore_pwd> is the password of the keystore, the default value is welcome.
For example, I have installed a CA in my lab network, and the CA issued certificate to my OMS server. The two of my CA server certificates (root certificate & intermediate certificate) has to be imported into agent keystore as following,
$AGENT_HOME/bin/emctl stop agent
$AGENT_HOME/bin/emctl secure add_trust_cert_to_jks -password welcome -alias dbaplus-root -trust_certs_loc /home/oracle/Root_CA_Certificate.txt
$AGENT_HOME/bin/emctl secure add_trust_cert_to_jks -password welcome -alias dbaplus-intermediate -trust_certs_loc /home/oracle/Intermediate_CA_Certificate.txt
$AGENT_HOME/bin/emctl start agent
List the certificates imported into agent monitor keystore,
$AGENT_HOME/jdk/bin/keytool -list -alias <certificate_alias> -keystore $AGENT_INSTANCE_HOME/sysman/config/montrust/AgentTrust.jks -storepass welcome -v
If needed, the certificates can be removed from keystore as following
$AGENT_HOME/jdk/bin/keytool -delete -alias <certificate_alias> -keystore $AGENT_INSTANCE_HOME/sysman/config/montrust/AgentTrust.jks -storepass welcome -v