Oracle 19c Startup Nomount Hangs With an Empty Alert Log

When startup nomount does nothing

The databases on our VM were down after a KVM host outage, and we needed them back. We ran startup nomount on a 19c CDB and nothing happened. No error and no ORA- code on screen or in the alert log, and no prompt back. We tailed the alert log from a second session and it stayed empty. Twenty minutes later sqlplus was still sitting there, and every one of those minutes was more downtime.

ASM looked healthy. ps showed our sqlplus session, the tail -f, and the listener process. There was no ora_pmon_* and no other background process, so there was nothing to attach to and nothing to grep. A hung nomount with a silent alert log is easy to chase in the wrong layer: shared memory, semaphores, HugePages, storage.

The cause had nothing to do with any of those. It took us a server process trace, a trace file in an unexpected directory, and a getent test to see it.

What this post covers

We walk through a hung startup nomount on a single-instance 19c database with ASM under Oracle Restart: how to read the hung server process from /proc alongside strace, what the trace file in $ORACLE_HOME/rdbms/log tells us, why the alert log stays empty, and how the clusterware logs and a 40-second delay pattern led us to a name resolution timeout. We finish with the cleanup order and the fix that survives a reboot.

Environment and version context

The version line below is taken from the header of the server process trace we capture later in this post:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
ComponentValue
Database19c Enterprise Edition, 19.28 RU, CDB (enable_pluggable_database=true)
OSOracle Linux 9, UEK kernel 5.15.0-307.178.5.el9uek
Grid Infrastructure19c home at /u01/app/19.0.0/grid, Oracle Restart (ohasd.bin, ocssd.bin, ASM instance on the same VM)
Database home/u01/app/oracle/product/19.0.0/db_1
SpfileIn ASM: +DATA/CDBPROD/PARAMETERFILE/spfile...
PlatformVM on a KVM host

Host, database and instance names in the output below are sanitised: the host appears as dbhost01.example.com and the instance as cdbprod. Timestamps in the clusterware and trace output are in the server’s local time.

First checks: what is actually running

With no alert log output, the process list is the only evidence we have. We looked for our sqlplus session and anything belonging to the instance:

ps -eo pid,stat,wchan:32,etime,cmd | grep -E "sqlplus|cdbprod"
   4965 S+   -     20:41 sqlplus   as sysdba
   4984 T    -     20:12 tail -f alert_cdbprod.log
   4989 Ss   -     20:01 oraclecdbprod (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))

Two things matter here. First, the dedicated server process (4989) exists, so sqlplus did get as far as spawning it through the bequeath protocol. Second, there is no ora_pmon_cdbprod and no other ora_* process. The instance never started creating its background processes.

The strace on sqlplus showed it blocked in read(11, ...). File descriptor 11 is not stdin, so sqlplus was waiting on something else, which pointed at its server process.

In hindsight there was already a hint in this output. The server process is 40 seconds younger than sqlplus (20:01 against 20:41 elapsed). Spawning a bequeath process should take milliseconds.

Reading the hung server process

We attached strace to the server process as the oracle user:

strace -f -tt -p 4989
strace: attach: ptrace(PTRACE_SEIZE, 4989): Operation not permitted

That is the ptrace restriction on the OS (on Oracle Linux 9 this is typically kernel.yama.ptrace_scope), not a sign that anything was wrong with the process. As root the attach worked and printed only strace: Process 4989 attached, then nothing. A process that prints nothing under strace is sitting in a single blocking call. We did not need strace to see which one, because the kernel tells us through /proc, which needs root for the first two files:

cat /proc/4989/syscall
219 0x3caa57f0 0x1 0xffffffff 0x0 0x3caaaee0 0x0 0x7fff11aff7b8 0x7f703a486627

cat /proc/4989/stack
[<0>] do_poll.constprop.0+0x230/0x392
[<0>] do_sys_poll+0x1f7/0x27d
[<0>] do_restart_poll+0x57/0xa5
[<0>] do_syscall_64+0x35/0x87
[<0>] entry_SYSCALL_64_after_hwframe+0x6e/0x0

Syscall 219 on x86_64 is restart_syscall, and the stack is do_poll. The process was in state S, sleeping in poll(), not stuck in uninterruptible I/O (D). That points away from a hung filesystem or storage path as the direct cause, and shows the process was waiting for an event on one of its sockets or pipes. The kernel view gives us the wait state and who the connections lead to, but not why Oracle was waiting; that comes from the trace in the next section. The open file descriptors show the connections:

ls -l /proc/4989/fd        (trimmed)
 4 -> /u01/app/oracle/product/19.0.0/db_1/rdbms/mesg/diaus.msb
 7 -> socket:[50495]
 8 -> /u01/app/oracle/product/19.0.0/db_1/rdbms/log/cdbprod_ora_4989.trc
11 -> /u01/app/oracle/product/19.0.0/db_1/dbs/lkinstcdbprod
13 -> socket:[49022]

Two entries stand out. File descriptor 8 is a trace file in $ORACLE_HOME/rdbms/log, not in the ADR trace directory. File descriptor 11 is the instance lock file, held only by this process (confirmed with fuser and lsof). The two sockets resolve with ss:

ss -xp | grep -E "4989|50495|49022"        (columns trimmed)
ESTAB  * 50495  * 50496                                   users:(("oracle",pid=4989,fd=7))
ESTAB  /var/tmp/.oracle/sCRSD_UI_SOCKET 49654  * 49022  users:(("ohasd.bin",pid=2192,fd=121))
ESTAB  * 49022  * 49654                                   users:(("oracle",pid=4989,fd=13))
ESTAB  /var/tmp/.oracle/ora_gipc_scls_opct_dbhost01 50496  * 50495  users:(("ohasd.bin",pid=2192,fd=120))

Both sockets lead to ohasd.bin. There is no socket to the CSS daemon (ocssd.bin) in that list. The server process was talking to the High Availability Services daemon and waiting.

The trace in rdbms/log

The process was writing to $ORACLE_HOME/rdbms/log, so we read that file:

cat /u01/app/oracle/product/19.0.0/db_1/rdbms/log/cdbprod_ora_4989.trc
*** 2026-11-29T14:42:59.172008
SUCCESS: retrieved DB spfile location:+DATA/CDBPROD/PARAMETERFILE/spfile.<n>.<n>
kgxgncin: clsssinit: CLSS init failed with status 3
kgxgncin: clsssinit: return status 3 (0 SKGXN not av) from CLSS

*** 2026-11-29T14:43:00.370289
kgxgncin: clsssinit: CLSS init failed with status 3
kgxgncin: clsssinit: return status 3 (0 SKGXN not av) from CLSS

*** 2026-11-29T14:43:01.371317
kgxgncin: clsssinit: CLSS init failed with status 3
kgxgncin: clsssinit: return status 3 (0 SKGXN not av) from CLSS
kfnpGetFileAttr failed to init connection; diagnostics follow...
...
KFNC:kgfn.c@1420:kgfnFindLocalNode(): kgfnFindLocalNode: ORA-29701 nmret=2
KFNC:kgfn.c@2310:kgfnTgtInit(): kgfnTgtInit: not found
KFNC:kgfn.c@5211:kgfnConnect4(): kgfnConnect2: kgfnGetBeqData failed
...
*** 2026-11-29T14:43:41.474957
KJHA:2phase 132 crs active

The output is trimmed to the relevant lines. This explains both the hang and the silent alert log:

  1. The spfile is in ASM, and the process located it (retrieved DB spfile location) but could not open it. Reading it needs a connection to the ASM instance.
  2. That connection goes through Cluster Synchronization Services. clsssinit failed three times, one second apart, and kgfnFindLocalNode returned ORA-29701, an internal code that appears only in this dump and is never shown to the session. It means the process could not connect to the cluster manager.
  3. Until the spfile is read, the instance has no parameters, including diagnostic_dest. This trace location is consistent with the process failing during early initialisation, before the normal diagnostic infrastructure was fully set up: it wrote to $ORACLE_HOME/rdbms/log, and there was probably no alert log to write to yet, which would explain why tail -f on alert_cdbprod.log showed nothing. The instance had not started.
  4. The last line, crs active, shows the process knows it runs under Oracle Restart. It stays in poll() waiting for an answer that does not come.

ASM was up, but not when we started

When we first checked, ASM and CSS were healthy, which is why the trace looked contradictory. The process start times settled it:

ps -ef | grep -E "ohasd|evmd|ocssd|asm_pmon" | grep -v grep        (trimmed)
root        1341       1  0 14:36 ?  00:00:00 /bin/sh /etc/init.d/init.ohasd run
grid        2192       1  0 14:36 ?  00:00:07 /u01/app/19.0.0/grid/bin/ohasd.bin reboot
grid        4052       1  0 14:39 ?  00:00:03 /u01/app/19.0.0/grid/bin/evmd.bin
grid        7189       1  0 14:46 ?  00:00:03 /u01/app/19.0.0/grid/bin/ocssd.bin
grid       13462       1  0 14:58 ?  00:00:00 asm_pmon_+ASM
Time (server)Event
14:36ohasd.bin starts after the reboot
14:42:59Our server process starts and begins startup nomount
14:43:01Third CLSS init failed in the trace
14:46ocssd.bin starts
14:58asm_pmon_+ASM starts

The nomount ran about three minutes before CSS existed and 15 minutes before ASM did. The process failed its CSS initialisation, found no ASM, and then did not recover when both appeared. It was still in poll() 20 minutes later. That is why a check made after the fact showed a healthy stack while the startup was still hung.

The resource view from crsctl showed two more things:

crsctl stat res -t        (trimmed)
ora.REDO01.dg   OFFLINE  OFFLINE
ora.REDO02.dg   OFFLINE  OFFLINE
ora.REDO03.dg   OFFLINE  OFFLINE
ora.asm         ONLINE   ONLINE    Started,STABLE
ora.cssd        ONLINE   ONLINE    STABLE
ora.cdbprod.db  ONLINE   OFFLINE   STARTING

The database resource was in STARTING, which suggests Oracle Restart had its own start attempt in progress alongside our manual one. The three REDO diskgroups were offline. Nomount and mount only need the controlfiles in +DATA and +FRA, but open needs the online redo logs, so they had to be online before we opened the database. In our case the HAS restart mounted them automatically.

What the clusterware log showed

crsctl writes no log of its own. The events are in the clusterware alert log and the agent traces under the Grid base:

export GRID_BASE=$(/u01/app/19.0.0/grid/bin/orabase)
tail -100 $GRID_BASE/diag/crs/dbhost01/crs/trace/alert.log

While we were trying to stop and restart HAS, the log was full of agent timeouts:

2026-11-29 15:20:53.607 [ORAAGENT(2673)]CRS-5818: Aborted command 'start' for resource 'ora.LISTENER.lsnr'. ...
2026-11-29 15:20:54.609 [OHASD(2192)]CRS-2757: Command 'Start' timed out waiting for response from the resource 'ora.LISTENER.lsnr'. ...
2026-11-29 15:21:36.182 [ORAAGENT(2673)]CRS-5818: Aborted command 'check' for resource 'ora.asm'. ...
2026-11-29 15:24:38.266 [OHASD(2192)]CRS-2807: Resource 'ora.LISTENER.lsnr' failed to start automatically.
2026-11-29 15:24:38.267 [OHASD(2192)]CRS-2807: Resource 'ora.cdbprod.db' failed to start automatically.

An aborted check on ASM means a command that normally returns in moments got no answer in time. After we restarted HAS the same log showed a regular rhythm:

2026-11-29 15:30:30.477 [CLSECHO(26638)]CRS-6021: Could not set system resource limits ...
2026-11-29 15:31:11.727 [OHASD(26631)]CRS-8500: Oracle Clusterware OHASD process is starting ...
2026-11-29 15:31:51.772 [OHASD(26631)]CRS-0714: Oracle Clusterware Release 19.0.0.0.0.
2026-11-29 15:32:32.354 [ORAAGENT(26734)]CRS-5011: Check of resource "cdbprod" failed ...
2026-11-29 15:40:40.291 [OCSSD(29519)]CRS-8500: Oracle Clusterware OCSSD process is starting ...
2026-11-29 15:41:21.333 [OCSSD(29519)]CRS-1713: CSSD daemon is started in hub mode
2026-11-29 15:46:41.282 [OCSSD(29519)]CRS-1720: Cluster Synchronization Services daemon (CSSD) is ready for operation.

Consecutive entries are 41, 40 and 41 seconds apart, and again 41 seconds between the two OCSSD lines. Unrelated components (ohasd, the agents, CSS) each lost about 40 seconds per step. A constant delay across different daemons points at something they all share, and the first suspect for that is name resolution.

We tested it directly:

time getent hosts $(hostname -f)
::1             dbhost01 localhost

real    1m20.079s

time getent hosts $(hostname -s)

real    1m20.081s

Every lookup took 1 minute 20 seconds. The first returned the IPv6 loopback address only after the timeout and the second returned nothing. The server’s own name was missing from /etc/hosts, which held only the default localhost lines, so local resolution was incomplete. That is the cause of everything above. The crsctl command itself was only the messenger: what failed were the agents and daemons that `ohasd` started for it, which is what the CRS-5818 and CRS-2757 messages record.

Root cause and the fix

The root cause was /etc/resolv.conf. We had already corrected it once, but the KVM host outage took every VM down, and when the VM booted the file was written back with DNS servers that were not reachable. Every resolver call then waited for its timeout before falling through, about 80 seconds per lookup. Oracle Restart resolves names at start-up and on health checks, so ohasd, the agents, the listener, CSS and the ASM check were all slowed down and some timed out. Our nomount reached CSS initialisation while that was happening, failed, and waited.

The file is regenerated at boot by NetworkManager, so editing it by hand does not last. First confirm what manages it:

ls -l /etc/resolv.conf
head -3 /etc/resolv.conf
stat -L /etc/resolv.conf | grep -E "Modify|Change"
uptime -s

If the modification time matches the boot time and the header says it was generated by NetworkManager, the file was overwritten. The fix has two parts. Both commands below are illustrative and were not run as written in our environment, so substitute your own connection name, DNS servers and IP address.

Persist the DNS servers in the NetworkManager connection profile, so they survive a reboot:

nmcli -g NAME,DEVICE con show --active
nmcli con mod "<connection name>" ipv4.dns "<dns1> <dns2>" ipv4.ignore-auto-dns yes
nmcli con up "<connection name>"


cat /etc/resolv.conf
Generated by NetworkManager
#search example.com
nameserver 192.0.2.10
nameserver 192.0.2.11

Add the host to /etc/hosts so clusterware and the listener do not depend on DNS at all. The hostname must map to the real address of the server, not to 127.0.0.1 or ::1. Our first lookup returned ::1 after the timeout. Our /etc/hosts held only the default localhost lines and had no entry for the server’s own name, so there was nothing local to answer the lookup. Add one:

cp -p /etc/hosts /etc/hosts.bak.$(date +%F)
cat >> /etc/hosts <<'EOF'
<server ip>   dbhost01.example.com   dbhost01
EOF

Then verify. Both lookups must return in milliseconds with the real IP:

time getent hosts $(hostname -f)
time getent hosts $(hostname -s)

Risk and rollback: nmcli con up re-applies the connection and can drop an SSH session that arrives through that interface, so run it from the console or a session you can lose. To roll back, restore /etc/hosts from the backup and set the previous values with nmcli con mod.

Cleanup and restart order

The stale server process had to go before anything else. kill -9 did not remove it:

ps -o pid,ppid,stat,wchan:32,cmd -p 4989
4989  1  ts  -  oraclecdbprod (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))

grep -E "State|TracerPid|PPid" /proc/4989/status
State:  t (tracing stop)
PPid:   1
TracerPid:      14649

pgrep -a strace
14649 strace -f -tt -p 4989

The process was in tracing stop and its tracer was our own strace from earlier, still attached. In our case kill -9 had no effect while that tracer was attached, so we detached it first. Its parent was already PID 1, so sqlplus was gone.

kill -INT 14649      # strace detaches cleanly; kill -9 14649 if it ignores that
kill -9 4989
ps -ef | grep cdbprod | grep -v grep

The sequence that follows is the order we recommend. The commands after the first block were not all run as written, so treat them as illustrative and adjust names for your environment.

  1. Fix DNS first (previous section) and confirm getent returns instantly. Nothing below is reliable until it does.
  2. Restart the HAS stack and wait for it. The -wait option exists on our 19c build, but check crsctl start has -h on yours:
    crsctl stop has -f
    crsctl start has -wait
    crsctl stat res -t -init
    1. Clear the database resource if it is still in STARTING: srvctl stop database -d cdbprod -o abort.
    2. Mount the redo diskgroups before opening, for example asmcmd mount REDO01 for each one if they stay offline. In our case the HAS restart mounted them automatically once DNS worked, with no manual step. Check whether they belong to the database resource’s dependencies with srvctl config database -d cdbprod | grep -i disk. A manual sqlplus startup does not mount diskgroups; starting through srvctl does, but only the ones registered for the database.
    3. Start the instance, mount, read the alert log, then open:
    sqlplus / as sysdba
    SQL> startup nomount
    SQL> alter database mount;

    Once DNS was fixed the stack came up and the databases started.

    To add before publishing (placeholder, not captured in our session): real output from the lab after the fix, including the successful startup.

    time getent hosts $(hostname -f)
    crsctl stat res -t
    # first lines of the alert log after startup nomount

    Gotchas and what can go wrong

    • Checking late hides the cause. By the time we looked, CSS and ASM were up, so a healthy-looking stack contradicted the trace. Compare process start times against the time your startup began before trusting a status check.
    • A traced process can outlive kill -9. A leftover strace held the server process in tracing stop. Check TracerPid in /proc/<pid>/status before assuming the process is unkillable or in uninterruptible I/O.
    • /proc/<pid>/stack and /proc/<pid>/syscall need root, and strace as the oracle user may be refused by the OS ptrace restriction. Use root for diagnosis, and stop the tracer when you are done.
    • crsctl stop has -f takes ASM and every database resource down with it. On a production host that also runs other instances, check what depends on ASM first. Here the databases were already down, so the impact was small.
    • Do not kill ohasd.bin, ocssd.bin or ASM processes to force progress. If an agent is stuck, fix what it is waiting on first.
    • A hostname mapped to a loopback address in /etc/hosts is not a fix. Clusterware and the listener need the server’s real address.
    • The memlock warning. We also saw CRS-6021: Could not set system resource limits for Clusterware: "ulimit -l unlimited" at HAS start. We did not treat it as the cause of this incident. If you use HugePages, compare ulimit -l in the start environment with grep -i locked /proc/<asm_pmon pid>/limits after ASM is up.

    Rollback for the DNS changes is in the fix section: restore /etc/hosts from the dated backup and reapply the previous nmcli values.

    Lessons

    • A silent alert log on a hung nomount means the instance has not reached the point where it can write one. We read the server process (/proc, the open files) and the trace in $ORACLE_HOME/rdbms/log instead.
    • With the spfile in ASM, nomount depends on CSS and ASM being reachable, and those depend on the OS. A DNS problem can surface as a database that will not start.
    • Equal gaps between log entries across unrelated daemons mean a shared dependency. Time a getent hosts lookup early; it takes seconds.
    • After a host or VM outage, check resolv.conf, /etc/hosts and time getent hosts $(hostname -f) before bringing up the HAS stack.
    • Put DNS in the NetworkManager profile and the host in /etc/hosts, so a reboot does not undo the fix.

    Other Topics worth reading:

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.