Site icon IT Tutorial

TNS-01150: The address of the specified listener name is incorrect

Hi,

Sometimes You can get “TNS-01150: The address of the specified listener name is incorrect ” error.

 

Details of error are as follows.

TNS-01150: The address of the specified listener name is incorrect
Cause: The address on which the listener attempted to listen contains a syntax error.
Action: For the listener name or service name specified to LSNRCTL, check that the address or connect descriptor is well-formed.
You can find the listener name in LISTENER.ORA, or you can access the listener through the service name is TNSNAMES.ORA.
TNS-01150: The address of the specified listener name is incorrect
NL-00303: syntax error in NV string

This issue was caused by incorrect listener name, check if it is correct or not in the listener.ora under $ORACLE_HOME/network/admin.

And also check if the opening and closing brackets are present in the listener.ora file.

Mostly there is a missing opening or closing bracket in LISTENER for DESCRIPTION, check and fix it, then start listener again.

Listener description should be as follows.

 

LISTENER =
    (DESCRIPTION_LIST =
        (DESCRIPTION =
             (ADDRESS = (PROTOCOL = TCP)(HOST = host name)(PORT = 1521))
         )
     )



my listener ora is as follows.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.63.34)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)

SID_LIST_LISTENER = 
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = MSDB)
(ORACLE_HOME = /u01/app/db_home_18c )
(SID_NAME = MSDB1 )
)
)

 

then run the  lsnrctl start listener command.

 

Do you want to learn more details about RMAN, then read the following articles.

https://ittutorial.org/rman-backup-restore-and-recovery-tutorials-for-beginners-in-the-oracle-database/

 

Exit mobile version