When Oracle Database 19c returns an ORA- error, first identify what the application was doing when it failed. Was it looking up a connection name, asking a listener for a service, signing in, or executing SQL in an established session? Keep the full error stack and the time of the request. The answer determines whose evidence to collect: a client configuration can explain ORA-12154, but it cannot tell you why a statement ran out of temporary space.
This guide covers a single-instance Oracle Database 19c container database (CDB) on Linux x86-64, with an application using a service for a pluggable database (PDB). The SQL examples are read-only and have not been tested against a database for this article. Use an existing authorized session. If your only evidence is an application message, you can still classify the incident and ask a DBA for a specific observation. You do not need an administrator password to start.
1. Reconstruct one failed request
Start with a single occurrence. Record the timestamp and time zone, the client or job that reported the problem, the intended service, the operation, and the complete message in its original order. Distinguish the time the application received an error from the time a person noticed it. A report that failed before the morning shift should be matched to the overnight job, not to the database activity when someone opened the ticket.
Ask what succeeded immediately beforehand. Did the application establish a new database session, or did it borrow one that was already open? Did the user see a login error, or did a report return an error after the user had signed in to the application? An application login is not proof that the particular database connection used for the report succeeded. Look for evidence from the component that made that request. If the log does not distinguish connection acquisition from statement execution, record the phase as unknown.
Preserve subordinate messages. Oracle’s 19c guide to Oracle Net error stacks and log files explains that different communications layers contribute information to the stack. A one-line application notification may omit that detail. Ask the application owner for the corresponding exception or log entry. Share only a redacted excerpt through an approved channel. Passwords, wallet contents, customer values and complete connection strings do not belong in an incident summary.
Choose a comparison that changes as little as possible. A successful request from the same worker to the same service shortly before the failure is more useful than a successful administrative login somewhere else. Note the difference if all you have is another client, account, service, operation or time. That comparison may narrow the investigation, but it is not a verification of the failed path.
2. Use the code to choose the next observation
| Code | Question to answer first | Where to look |
|---|---|---|
| ORA-12154 | Could this client resolve its connect identifier? | Naming configuration used by the failing process |
| ORA-12541 | Does the requested address match a listening endpoint? | Client destination and listener owner’s endpoint record |
| ORA-12514 | Does that listener know the requested service? | Service name in the request and listener service list |
| ORA-12170 | Where and when did the connection time out? | Timestamped client and server records |
| ORA-01017 or ORA-28000 | Was the login rejected, or was the account reported locked? | Original message, intended identity and target container |
| ORA-00942 | Is the referenced object present and accessible to this user? | Statement context and object owner’s record |
| ORA-00054 | Was the requested resource busy? | Operation, target object and concurrent activity |
| ORA-01652 | In which tablespace did an allocation fail? | Complete message and space evidence in the affected PDB |
Read these rows as starting points, not as a list of fixes. Two entries in the same incident can describe different attempts. For example, a scheduled worker can report a naming error while an administrator investigating from a workstation receives a service error. Keep those observations on separate lines. Combining them into a single error stack invents a sequence that neither client actually observed.
3. Separate client naming from listener and service problems
ORA-12154: the client cannot resolve the identifier
Start on the client that failed. In Oracle’s ORA-12154 reference, the 19c cause is a connect identifier that could not be resolved into a connect descriptor by a configured naming method. If the application uses a local alias, check the exact alias against the naming file available to that process. Ask whether the process can read the file and whether its contents are syntactically valid. Finding a correct entry in an administrator’s personal configuration does not answer either question.
If the organization uses directory naming, ask the directory owner about that entry instead of creating a local replacement. Identify which naming method the failing environment is supposed to use before comparing files. For the local-alias case, follow the SQL*Plus 19c guide to checking the active naming configuration. The useful result is an explanation for that specific identifier: missing from the active source, unreadable there, or still unresolved despite a matching entry. Only the last case calls for a deeper naming investigation.
ORA-12541 versus ORA-12514: endpoint first, then service
ORA-12541 directs a TCP client investigation toward the listener at the requested address. Compare the destination in the failing configuration with the endpoint the listener owner expects. A healthy listener on a different port does not explain what answered at the requested port. If the destination matches the approved configuration, ask the owner whether the listener was available there at the time of the attempt. A present-day status check and an incident-time observation answer different questions.
With ORA-12514, a listener received the request but did not know the service named in the connect descriptor. The client alias and the requested service are separate values. Ask for the service name the client actually requested, not just the label the operator selected in a connection dialog. Compare it with the services known by the listener at that endpoint. If a service is missing shortly after startup, the timing of registration matters; do not infer a permanent configuration error from a single sample.
For an authorized listener administrator, the 19c service-registration and endpoint checks detail how to make that comparison. Record whether the intended PDB service was listed and when the list was captured. If several services are available, do not accept a successful login to an arbitrary one as a workaround. The operation still needs to reach the correct PDB. Keep the approved transport and authentication settings in place throughout the investigation.
ORA-12170: locate the timeout before discussing a longer limit
A timeout tells you that a connection or communication did not complete within the allotted interval. Oracle’s ORA-12170 entry identifies network or system delays among possible causes. The elapsed interval alone cannot identify which component introduced the delay. Record whether the error came from the application, an Oracle Net log or the database side. Give the network and database owners the time window and the intended endpoint through the appropriate internal channel.
Suppose an application reports a timeout just as an operator signs in successfully. Ask whether both operations opened new connections through the same path. An already connected console doing useful work does not show that new connections were being accepted promptly. Likewise, an application message saying a request timed out does not establish ORA-12170 unless the Oracle error was captured. If no Oracle code is available, investigate the application’s own timeout separately. Increasing a limit before identifying the timed operation can leave the original delay unexplained.
4. Distinguish a rejected login from a locked account
For a password-authenticated account, ORA-01017 means the supplied username and password were not accepted. Collect the intended service and the application’s configured identity without requesting the secret. Have the credential owner check which approved secret reference or version the workload uses. If an interactive login works, compare its account, service and approved authentication method with the application’s. A personal login succeeding is not evidence that the application identity can sign in.
A useful question after a credential rotation is which workers picked up the change. If one worker fails while another succeeds, note the worker identities and their configuration refresh times. That is evidence to give the application owner, not a reason to copy credentials between workers or try previous passwords. Stop repeated attempts while the owner reconciles the configuration. Keep the original rejection distinct from a later account lock; they call for different decisions.
ORA-28000 reports a locked account. Possible reasons include consecutive failed logins, an administrative lock, or a common user locked in the root. Ask the authorized DBA to confirm the exact identity and container first. In the appropriate container, the 19c account status definitions distinguish a timed lock from other locked states. A status value is not a record of who made a decision or which application provided a bad credential.
Use the guide to account status and profile evidence for ORA-28000 if a local application user is affected. A common account or an intentional security lock belongs with the responsible administrator. Do not request an unlock simply to see whether the error changes. For a timed lock, the application owner still needs to address any source of continuing failures. Verification is an authorized login by the intended application identity through its normal service after the owner has resolved the cause.
5. If SQL started, establish the session context
Once a session exists, distinguish the login identity, the current schema and the current container. For an existing authorized session, the following query reads those values. Run it in the session being investigated if the application owner can do so safely. Running it in a DBA console identifies the DBA session; it does not reconstruct the application session. Oracle documents these attributes under SYS_CONTEXT and the USERENV namespace.
SELECT SYS_CONTEXT('USERENV', 'SESSION_USER') AS login_user,
SYS_CONTEXT('USERENV', 'CURRENT_SCHEMA') AS current_schema,
SYS_CONTEXT('USERENV', 'CON_NAME') AS container_name
FROM dual;
Compare the returned names with the application’s deployment record. Record the observation privately rather than pasting customer schema names into a public case. If the failed session is gone, label the result as a later comparison. A different container is a reason to check the service mapping before investigating object privileges or tablespace capacity. A matching container narrows the search; it does not establish that the object or the required access exists there.
ORA-00942: confirm the object and its visibility separately
Oracle’s ORA-00942 explanation includes both a missing table or view and lack of access to an existing one. Preserve the object reference as written in the failing statement, including its schema qualification. Ask the object owner whether that name and object type exist in the intended container. Then ask whether the application identity is meant to access it. An administrator successfully reading the object answers the existence question only for the administrator’s context.
If the failure started after a release, compare the application version with the schema deployment record. A new report expecting an object that has not been deployed needs a different owner from a long-running report that lost access. If the application uses a synonym, check its intended target as part of the name comparison. Avoid requesting a broad grant or creating a look-alike object to suppress the error. The acceptance check is the intended operation resolving the intended object with the application’s approved permissions.
ORA-00054: keep the resource and the observation time together
The 19c wording of ORA-00054 describes a busy resource when an operation requested a lock without waiting or a timeout expired. Record what operation needed the resource and which other work was expected at that time. A maintenance job and a transaction that legitimately uses the same object may need coordination. Do not identify a blocker solely by choosing the longest-running session on the system.
If related sessions are still waiting, an authorized DBA can inspect current waiters and their reported blockers. A request that has already failed need not still be waiting when the sample is taken. An empty sample cannot tell you who held the resource earlier. Ask the workload owners to reconcile the timestamps and decide when the operation may safely proceed. Do not terminate someone else’s session or replay maintenance as a diagnostic experiment.
ORA-01652: read the tablespace name before deciding TEMP is full
In 19c, ORA-01652 identifies a failed extent allocation for a temporary segment in the named tablespace. The word “temp” in the message describes the segment; it does not identify the tablespace type. Ask a DBA with existing dictionary access to locate the exact tablespace in the affected container. The CONTENTS column in DBA_TABLESPACES distinguishes temporary from permanent tablespaces. A missing match is a reason to recheck the name and container before investigating capacity.
For a temporary tablespace, compare available space with concurrent consumers and the period of the failed operation. DBA_TEMP_FREE_SPACE counts reusable allocated space and unallocated space as free. V$TEMPSEG_USAGE describes temporary segment use. Label each observation with its time. Plenty of free space after a report failed is compatible with an allocation that could not be satisfied while several reports were running.
Follow the 19c temporary-space and tempfile checks for that branch. For a permanent tablespace, hand the name and failed operation to the DBA responsible for that storage; TEMP usage cannot explain the capacity of another tablespace. Distinguish a one-time overlap from a repeatable shortfall under the normal workload. A later successful run in isolation answers whether that run could finish, not whether the scheduled workload has enough room when jobs overlap.
6. Hand off the evidence and define recovery
Ask for the log of the component that could have observed the failure. A listener owner checking service registration has a different question from a DBA investigating an instance error. The 19c Administrator’s Guide on diagnostic data and alert logs describes a separate alert log for each Automatic Diagnostic Repository home. Match the component and incident time before treating an entry as related. For critical errors, the guide also distinguishes a problem from a particular occurrence, called an incident. Preserve an existing incident identifier when referring the case to support.
For example, a useful service ticket might say: “The scheduled worker received ORA-12514 while opening a new connection. The service name in its approved configuration matches the deployment record. Please compare registration at the requested listener with the job’s timestamp.” That tells the listener owner what to look for without asserting that the database was down. For a space failure, replace the listener question with the PDB, named tablespace and whether the observation was made during or after the job. State explicitly which evidence was unavailable.
Agree with the owner on one acceptance check before anyone changes anything. For a naming failure, the original client should resolve its approved identifier and reach the intended service. For an object error, the application must complete the intended read with its normal identity. For a batch allocation failure, compare a subsequent authorized run under representative load. If an operation writes data or its outcome is uncertain, have the application owner reconcile its state before any retry. A second execution is not automatically safe merely because the client reported an error.
Close the incident with the original symptom, the observation that distinguished it from the alternatives, the owner of any corrective action and the result of that acceptance check. If the code changes, record the new message and the phase it came from. A transition from an unresolved alias to a rejected login shows progress through the connection path; it is not yet a successful application request.
