Critical severityconnectivity
Oracle Database Error:
ORA-01034
What does this error mean?
The Oracle database instance is not running or is not accessible at the specified host and port.
Common causes
- 1Oracle database service is stopped or crashed
- 2The TNS listener is not running on the target host
- 3Incorrect host, port, or service name in the connection string
- 4Firewall blocks the connection to the Oracle port
- 5The Oracle instance was shut down for maintenance
How to fix it
- 1Step 1: Verify the Oracle listener is running on the target host: `lsnrctl status`.
- 2Step 2: Start Oracle if stopped: `sqlplus / as sysdba` → `STARTUP;`.
- 3Step 3: Verify network connectivity: `telnet <oracle_host> 1521`.
- 4Step 4: Check firewall rules and security groups for port 1521 (or custom port).
- 5Step 5: Validate the connection string service name matches `lsnrctl services` output.
Example log output
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist