Real Life DBA Investigation – investigation into unavailability of OMS and Management Repository together with resumption of Agent uploads.

Technology: Oracle Enterprise Manager 24ai

Operating System: Red Hat Enterprise Linux

Date of investigation: November 25, 2026

Investigation areas: OMS, Management Repository, Management Agents, connectivity and monitoring. Investigation was also conducted into re-establishing management functionality.

Following the re-establishment of these management components, the Management Agent re-established connectivity with OMS. The Agent’s metric upload queue was also emptied.

This article describes how the investigation was conducted, what was discovered, the remediation undertaken and includes relevant commands. Lessons were also learnt.

All environment specific information has been anonymised for the public case study.

  1. Overview of Oracle Enterprise Manager 24ai

Oracle Enterprise Manager 24ai is a central management tool which can be used to monitor and manage Oracle technology.

Within a Database environment, it can allow DBAs to monitor elements such as:

Database availability.

Host CPU and memory.

Tablespaces and storage.

Database performance.

Database listener availability.

Monitoring events and alerts.

Backup and database management information.

And Agent health.

Being able to centrally manage and monitor information is a major benefit of OEM.

However, several sub-components must all function for central monitoring to be realised. Where any of these sub-components are not functioning then the quality and/or availability of monitoring information may be impacted, despite the Oracle databases continuing to function.

  1. OEM Components

Of key relevance to this investigation were:

Oracle Management Service (OMS)

This enables Enterprise Manager management functionality. It also analyses monitoring information and facilitates communication with Management Agents.

Management Agent

This gathers monitoring information relating to target(s).

The Agent then communicates with OMS and uploads this information.

Management Repository

An Oracle database which is used by Enterprise Manager to hold its management, monitoring and configuration information.

Oracle Net Listener

This enables connection to the Management Repository database.

Should neither of these – the Repository database and/or listener – be available then OMS might not be able to connect to the Repository database.

Enterprise Manager Console

This acts as a central location for viewing information about monitored items, along with relevant metrics and events.

Basic monitoring structure

Oracle Databases

│

└─ Linux Host(s)

│

└─ Management Agent

│

└─ Metric upload

│

└─ Oracle Management Service

│

└─ Management Repository (Repository database access)

│

└─ Enterprise Manager Console

A key learning point from this structure is that each of Agent, OMS, the Management Repository database and Console have particular roles to play. Each should therefore be analysed for availability in its own right.

  1. Initial investigation – OMS was unavailable

I initially investigated the status of OEM.

The following command was executed to analyse both the OMS configuration and status:

$OMS_HOME/bin/emctl status oms -details

Where $OMS_HOME is the authorised OMS installation location.

Investigation outcome

OMS Component Status

Oracle Management Service Down

WebTier Down

JVMD Engine Down

Management Repository database connectivity Failed

Management Agent Running

Management Agent – OMS connectivity Unavailable

Agent metric uploads Queued (549)

Monitored items 41

Further Weblogic administration status analysis also revealed that WebLogic had failed to start (FAILED_NOT_RESTARTABLE).

Clearly then, OEM management functionality was not functioning as intended.

However, the Management Agent was running.

This was therefore a key consideration for further investigation.

Although the Agent was running, it was not successfully communicating with OMS and so had queued metric information for upload.

I then investigated why OMS was not functioning as intended.

  1. Management Repository investigation

Oracle Enterprise Manager is reliant on the Management Repository database.

Should this database become unavailable, OMS will not be able to carry out appropriate management functions relating to the Repository.

During my investigation, the Management Repository was not accessible.

I analysed both the Oracle Net Listener and database instance.

Analysis of Oracle Net Listener

lsnrctl status

Initial analysis of the Listener resulted in several Oracle Net related errors being identified. These included:

TNS-12541

TNS-12560

TNS-00511

Analysis of TNS-12541

This error is generated when a Listener cannot be located or contacted at the nominated location.

This can arise due to:

Non-running Listener.

Incorrectly defined host and/or port.

The nominated location not being accessible.

Or due to network and/or operating system issues.

During my investigation, it was also found that there was no currently running Listener for the expected Management Repository database location.

Analysis of database instance

Analysis of operating system processes did not identify a running PMON process for the expected Management Repository database instance.

An initial SQLPlus administration connection also revealed that the database instance was in an idle state.

Analysis of database availability then highlighted the following:

ORA-01034: ORACLE not available

This was a key investigation outcome.

It demonstrated that the expected Management Repository database instance was not currently functioning in a manner suitable for database activity.

Analysis

Taken together, this investigation had shown that:

  1. The expected Listener for the Management Repository was not available.

  2. The Management Repository database instance was not functioning as expected.

  3. Consequently, OMS could not successfully connect to the Repository.

  4. Despite the Management Agent continuing to run, it was not able to successfully communicate with OMS and so had queued metric information for upload.

Clearly then, ensuring the availability of the Management Repository was key within the remediation process.

However, this does not in itself provide a root cause for why the Management Repository database and Listener had become unavailable. Further investigation would be necessary in relation to the database, Listener, operating system and any relevant start/stop activity to determine this.

  1. Why the Management Agent Was Still running

Importantly, the fact that OMS was unavailable did not cause the Management Agent to stop.

The Agent’s status was analysed using:

$AGENT_INSTANCE_HOME/bin/emctl status agent

It was shown that it was indeed running and was analysing 41 monitored items. However, as noted above, it was unable to communicate with OMS and so had queued metric information.

What are metric uploads?

The Management Agent gathers metrics and uploads these to OMS.

Where there is an issue with this upload process then locally queued metric information may be retained.

Depending on the nature of the issue, the Agent may continue to gather and/or queue metric information. Central monitoring may then become outdated.

Initially, the Agent was identified as having queued 549 metric information items for upload.

Later, prior to successful re- establishment of the upload process, this figure had risen to 572.

This therefore demonstrated that whilst there had been an issue with Agent - OMS communication, metric information had been queued.

Consequently, in addition to analysing Agent process availability, monitoring administrators should also analyse Agent metric upload activity.

Whilst an Agent may be running, if its metric upload queue is growing then the overall monitoring environment is unlikely to be considered to be in good health.

  1. Remediation – re-establishing Management Repository related functionality

Having recognised the unavailability of the Management Repository, the appropriate order was adopted for re-establishing functionality.

This comprised:

  1. Re-establishing the Oracle Net Listener

The relevant Listener was restarted.

  1. Re-starting the Management Repository database

The Oracle database which holds the Management Repository was then restarted and analysed.

  1. Re-analysis of Management Repository connectivity

Prior to attempting to fully re-establish OMS functionality, database connectivity was re-analysed.

  1. Re-starting Oracle Management Service

OMS was restarted and its constituent parts analysed.

  1. Analysis of Management Agent - OMS connectivity

The Agent was analysed within the now re-established OMS environment.

  1. Analysis of Agent metric uploads

Agent metric upload functionality and its queue were analysed.

Key observation

Following re-establishment of the Management Repository, not all OMS components were initially shown to be healthy.

Indeed, analysis revealed that although the WebTier had been re-established, OMS was still unavailable.

This is a key point to recognise. Even where an underlying database related component has been re-established, it does not necessarily follow that all dependent application related components will also have been re-established.

Following a controlled restart of relevant services, analysis then highlighted that all OMS components were now shown to be ‘Up’.

This process was enacted within the authorised environment.

Within production environments, re-starting of Management Repository databases, Listeners or OMS should be undertaken in accordance with appropriate incident and change management procedures.

  1. Post-remediation OMS analysis

Following implementation of the above remediation steps, OMS status was analysed.

$OMS_HOME/bin/emctl status oms -details

Remediation analysis outcomes

OMS Component Status

WebTier Up

Oracle Management Service Up

JVMD Engine Up

Management Repository availability Restored

OMS endpoints Listening

Furthermore, detailed OMS analysis also highlighted the locations of the defined console and upload endpoints.

Analysis of the network then confirmed that the relevant Listener and Enterprise Manager endpoints were accepting connections.

Thus it was demonstrated that previously unavailable OEM components were now functioning.

However, this represented only the first element of post-remediation analysis.

Even where OMS is deemed to be healthy, it does not necessarily follow that all Management Agents are able to communicate effectively with it. Further analysis of the Agents was therefore undertaken.

  1. Analysis of Management Agent - OMS connectivity

Again, the Agent’s status was analysed:

$AGENT_INSTANCE_HOME/bin/emctl status agent

The Agent’s connectivity with OMS was then analysed using:

$AGENT_INSTANCE_HOME/bin/emctl pingOMS

Analysis of pingOMS

Unlike the Linux ping command, the pingOMS command analyses application connectivity between the Management Agent and OMS.

Generally, the Linux ping command is used to analyse whether an item is reachable via ICMP.

In contrast, Enterprise Manager’s pingOMS command assesses application level connectivity between an Agent and OMS.

Analysis outcome

Following re-establishment of the management services, pingOMS analysis was successfully completed.

The Agent’s heartbeat was also shown to be healthy.

Final analysis highlighted that:

Agent Heartbeat: Ok

Analysis

Successful completion of the pingOMS analysis had shown that the Agent was able to communicate with the now re-established OMS environment. This therefore represented an important development on the initial situation.

Nonetheless, successful connectivity analysis does not, in itself, guarantee that queued metric information has been uploaded. Subsequent analysis of the Agent’s upload queue was therefore undertaken.

  1. Analysis of Agent metric uploads

Oracle Enterprise Manager includes functionality which can be used to immediately request Agent metric information to be uploaded.

$AGENT_INSTANCE_HOME/bin/emctl upload agent

This differs from the normal, scheduled upload process. As such, it should only be used by appropriately authorised personnel.

Post such a request, the Agent’s status can again be analysed:

$AGENT_INSTANCE_HOME/bin/emctl status agent

Analysis outcome

Prior to successful remediation, the Agent’s metric upload queue had grown to comprise 572 items.

Following re-establishment of OMS and successful Agent - OMS connectivity, the upload request was successfully completed. Final analysis had shown that:

0 metric items were queued for upload.

Analysis

There were now no queued metric information items for upload.

This was an important point as, at the commencement of this investigation, the Agent had been identified as having queued a large number of items for upload. Furthermore, at that stage OMS had been unavailable.

Comparison of pre- and post-remediation situations

Pre-remediation Post-remediation

OMS Down Up

WebTier Down Up

JVMD Down Up

Management Repository Unavailable Restored

Management Agent Running Running

Management Agent - OMS connectivity Failed Successful

Management Agent heartbeat OMS unreachable Ok

Metric uploads Queued (initially 549, and later 572) 0

Monitored items 41 41

These outcomes had therefore underpinned the conclusion that the previously recognised Agent - OMS communication and Agent metric upload issues had been resolved at the point of final analysis.

Nevertheless, this does not in itself guarantee that each individual monitored item and metric and application service had been analysed.

  1. Analysis of OMS security status

Following remediation, the OMS status highlighted the following:

Agent Upload is locked.

OMS Console is locked.

These may be misinterpreted.

Whilst the term locked may initially appear to denote an issue, within Oracle Enterprise Manager it relates to security constraints on the use of an insecure HTTP channel.

Agent Upload is locked

This highlights that insecure HTTP is not permitted for Agent metric uploads. Secure Agents must communicate via the defined HTTPS channel.

Not all Agent metric uploads are therefore prohibited.

OMS Console is locked

This emphasises that insecure HTTP is not allowed for accessing the OMS console. Rather, the console should be accessed via the defined secure HTTPS endpoint.

Why is this important?

Despite the highlighted security status, the Agent was able to successfully upload metrics to OMS. Hence, these status messages were not indicative of why the initial upload had failed. Rather, they illustrated how Enterprise Manager had been configured to securely communicate.

A DBA should not override these security constraints solely to remove such messages.

  1. Database and Monitoring Availability

This investigation has illustrated that, in general, database availability and monitoring availability are distinct considerations.

Consider these 3 scenarios:

Scenario A – Database is available, OEM is unavailable

Even where OEM is unavailable, an Oracle database may continue to process transactions. Nevertheless, central monitoring visibility may be impacted.

Scenario B – Agent is available, OMS is unavailable

The Agent may continue to run and queue metric information, where OMS is unable to accept uploads.

This was in effect the situation experienced during this investigation.

Scenario C – OMS and Agent are healthy, but a database or target is unavailable

Whilst Enterprise Manager may be functioning well, it may highlight a genuine database or target unavailability.

Each of these scenarios necessitates differing investigation approaches.

A DBA should not simply re-start databases due to Enterprise Manager indicating a monitoring issue. Rather, it is important to firstly determine which element is impacted.

  1. Useful commands

Below is a summary of the commands which were used or were relevant to the investigation.

OMS status

$OMS_HOME/bin/emctl status oms -details

Analyses OMS and its sub-component status.

Management Agent status

$AGENT_INSTANCE_HOME/bin/emctl status agent

Analyses Management Agent availability, upload status and other relevant information.

Management Agent - OMS connectivity

$AGENT_INSTANCE_HOME/bin/emctl pingOMS

Analyzes Management Agent - OMS connectivity.

Management Agent metric upload

$AGENT_INSTANCE_HOME/bin/emctl upload agent

Requests immediate Agent metric information upload.

Management Agent security

$AGENT_INSTANCE_HOME/bin/emctl status agent -secure

Analyzes secure Management Agent connectivity.

Oracle Net Listener

lsnrctl status

Analyzes the Oracle Net Listener.

Oracle database PMON processes

ps -ef | grep '[p]mon’

This helps to identify which Oracle database instance processes are currently running. Note that this is a helpful analytical guide but is not in itself a comprehensive method of analysing database availability.

Network Listeners

ss -lntp

Shows TCP sockets which are listening. Where permitted, it also identifies relevant processes.

Database availability

Using an authorised SQLPlus connection:

SELECT instance_name,

status,

database_status

FROM v$instance;

This can be a useful method of analysing database availability where the database is sufficiently available to accept a session and execute the query.

Note

Where investigating OMS, the above commands should be employed as part of an investigation approach. Merely analysing Agent metric uploads will not, for example, re-establish a missing Listener/Management Repository dependency.

  1. Importance of understanding and addressing dependency order

Several sub-components are relied upon within an Enterprise Manager environment.

A basic example of the order in which these might be re-established is:

Oracle Net Listener

│

└─ Management Repository database

│

└─ Oracle Management Service

│

└─ Management Agent connectivity

│

└─ Metric upload verification

Please note though that in certain environments the Listener, Management Repository database, OMS and even Agents may be hosted on different servers. Additional high availability components may also be in place.

Key though is that, in order to effectively re-establish functionality, a DBA should analyse and address dependencies in the correct order.

During this investigation, the Listener and Management Repository database had both been unavailable. Following re-establishment of these, OMS could then be re-established. Subsequently, Agent connectivity and uploads could be analysed.

  1. Creating a structured Monitoring Health investigation

Drawing on the above, a good investigation process should include an examination of several areas within an Enterprise Manager environment.

Area Investigation aim

Management Repository Database and connectivity availability

Oracle Net Listener Appropriate endpoint is listening

OMS Sub-components are functioning as expected

Management Agent Process is running and reporting

Connectivity Management Agent - OMS connectivity is successful

Metric uploads No unwarranted or increasing queuing

Heartbeat Current Management Agent - OMS connectivity

Monitored items Important monitored items are correctly reporting

Security Secure communication is appropriately maintained

As noted above, simply ensuring that a Management Agent and/or OMS process is running does not in itself guarantee good health.

Rather, it is important to confirm that metric information can successfully flow through the Enterprise Manager process.

  1. Learning points

Lesson 1 – Investigate sub-components prior to re-starting

Where OMS reports issues with connecting to a Management Repository, investigate the availability of the relevant database and Listener prior to implementing changes to Management Agents.

Lesson 2 – A Management Agent can run when monitoring is not functioning well

Throughout the investigation the Agent was running. However, it was unable to communicate with OMS. This therefore highlights that in addition to process availability, it is also essential to analyse connectivity.

Lesson 3 – Agent metric upload queues are important

Whilst there was an issue with Agent - OMS connectivity, the Agent’s metric upload queue had grown in size (to 572 from an initial 549). Post-remediation, this had reduced to 0. This was therefore valuable information which demonstrated that metric information uploading had resumed.

Lesson 4 – Oracle Net errors can impact enterprise management

As noted, Oracle Net errors such as TNS-12541 are not confined to just database connection issues. Where an application is reliant on an Oracle database then the availability of the relevant database Listener can also affect that application.

Lesson 5 – Remediation should be analysed incrementally

As previously noted, the Management Repository was re-established prior to OMS fully becoming healthy. Similarly, the WebTier was re-established ahead of all OMS components being shown to be ‘Up’. This therefore emphasises the importance of a DBA analysing both dependencies and component availability rather than assuming that execution of a single re-start command equates to full remediation.

Lesson 6 – Correctly understand security messages

As explained above, the ‘Agent Upload is locked’ and ‘OMS Console is locked’ messages were in-line with secure HTTPS settings and were not indicative of why the final secure Agent metric information upload had failed.

Lesson 7 – Remediation and root cause investigation are different

During investigation, it had been confirmed that the Listener and Management Repository database for the Management Repository were both unavailable. Subsequently, these had been re-established. However, the initial reason for their unavailability was not conclusively determined by analysing the available commands. In order to conduct a thorough root cause investigation, it would also be necessary to analyse relevant database, Listener, operating system and start/stop information.

  1. DBA best practice

For an Enterprise Manager environment, the following best practice should also be followed.

Monitor the monitoring environment

Periodically analyse OMS, Agent connectivity, the Management Repository and metric upload information.

Define and maintain start-up and remediation procedures.

Understand dependencies so that components can be re-established in the appropriate order.

Securely protect the Management Repository.

Ensure that there is an authorised back-up and remediation strategy in place for the Management Repository database.

Investigate Agent metric upload queues

Even where an Agent process is running, increasing metric upload queues may indicate connectivity and/or processing issues.

Avoid unnecessary re-starts

Only re-start components which need to be re-established and do so in accordance with authorised procedures.

Ensure secure communication is maintained.

Do not override secure settings – for example, HTTPS – simply to remove messages such as ‘Agent Upload is locked’ or ‘OMS Console is locked’ from the status display.

Post recovery verification

Validate the Management Agent, confirm upload functionality is working and verify monitored entities are being monitored.

Clearly define symptoms, diagnostics, remediation and analysis.

—

  1. Concluding Summary

On the 25th November 2026, the Oracle Enterprise Manager 24ai management services were not available.

Although the Management Agent was still active, it was unable to communicate with the OMS.

Initial investigation showed that neither the Management Repository listener nor database was available.

Oracle Net and database errors were subsequently detected within the environment (for example: TNS-12541 and ORA-01034).

Following re-establishment of the essential Repository services, controlled service procedures were implemented to re-activate the OMS.

Finally, it was verified that:

OMS, WebTier and JVMD were available.

The Management Agent was able to communicate with the OMS.

Agent heartbeat was healthy.

Upload backlog had been cleared from a high of 572.

There were still 41 monitored entities defined within the Agent.

Secure console and upload functions continued to be active.

It was therefore confirmed that the OMS communication and upload issues had been rectified.

Furthermore, this incident illustrated the value of appreciating inter-dependencies and also the necessity to fully test a monitoring process from start to finish.

Conclusion

Whilst Oracle Enterprise Manager 24ai provides valuable monitoring functionality, it is reliant upon various different elements functioning appropriately.

In addition to the Management Agents, the Management Repository, OMS, network connectivity and upload functionality, these all play a part in ensuring good monitoring.

Within this investigation it was shown that even when the OMS is not available, the Management Agent can continue to function and store monitoring data.

By locating the non-available Repository database and listener, re-establishing the relevant inter-related services and then confirming OMS communication and upload functionality, monitoring was successfully reinstated.

Essentially, alongside verifying OEM Agent availability, it is crucial to also confirm OMS health, Repository availability, Management Agent communication and the flow of monitoring data to the management system.

Good DBA monitoring practice should also encompass testing of the management systems health.

—

Oracle Documentation

Oracle Enterprise Manager 24ai – Management Agent Commands

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/24.1/emadm/emctl-commands-management-agent.html

Oracle Enterprise Manager 24ai – Secure Communication

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/24.1/emsec/configuring-secure-communication.html

Oracle Enterprise Manager 24ai – Installation and Configuration

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/24.1/embsc/installing-oracle-enterprise-manager.html

Oracle Enterprise Manager 24ai – Administrator’s Guide

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/24.1/emadm/index.html