My Oracle Support Banner

User is having "ORA-12547: TNS:lost contact" error when trying to use sqlplus / as sysdba (Doc ID 3048469.1)

Last updated on SEPTEMBER 18, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A to N/A [Release N/A]
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A to N/A
Gen 2 Exadata Cloud at Customer - Version N/A to N/A [Release All Releases]
Information in this document applies to any platform.

Symptoms

When trying to set Oracle environment variables, user is having "ORA-12547: TNS:lost contact" error:

[oracle@hostname ~]$ export ORACLE_BASE=/app/oracle
[oracle@hostname ~]$ export ORACLE_HOME=/app/oracle/product/19.3/db_19
[oracle@hostname ~]$ export PATH=$ORACLE_HOME/bin:$PATH
[oracle@hostname ~]$ export ORACLE_SID=orcl
[oracle@hostname ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Aug 13 14:22:52 2024
Version 19.18.0.0.0
Copyright (c) 1982, 2022, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact

Changes

None

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.