Database Networking (MOSC)

MOSC Banner

DB deletion causes 'tnsnames.ora' file deletion

edited Nov 28, 2017 11:43PM in Database Networking (MOSC) 7 commentsAnswered ✓

Tnsnames.ora file contains the following entries:

[oracle@rac1 ~]$ cat $ORACLE_HOME/network/admin/tnsnames.ora<br/># tnsnames.ora Network Configuration File: /u01/app/oracle/product/12.2.0/dbhome_1/network/admin/tnsnames.ora<br/># Generated by Oracle configuration tools.<br/><br/>NODEFQDN =<br/>  (ADDRESS = (PROTOCOL = TCP)(Host = rac1.QA-tests.azure)(Port = 1522))<br/><br/><br/>ORCL =<br/>  (DESCRIPTION =<br/>  (ADDRESS = (PROTOCOL = TCP)(HOST = QA-tests-scan.QA-tests.azure)(PORT = 1521))<br/>  (CONNECT_DATA =<br/>  (SERVER = DEDICATED)<br/>  (SERVICE_NAME = orcl)<br/>  )<br/>

  )

If in LOCAL_LISTENER I have indicated NODEFQDN then after deleting that database it causes NODEFQDN  to be also deleted and at last tnsnames.ora file is delete.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center