Site icon IT Tutorial

ORA-12533: TNS illegal ADDRESS parameters

Hi,

Sometimes You can get “ORA-12533: TNS:illegal ADDRESS parameters ” error.

 

Details of error are as follows.

ORA-12533: TNS:illegal ADDRESS parameters
Cause: An illegal set of protocol adapter parameters was specified. In some cases, this error is returned
when a connection cannot be made to the protocol transport.
Action: Verify that the destination can be reached using the specified protocol. Check the parameters
within the ADDRESS section of TNSNAMES.ORA. Legal ADDRESS parameter formats may be found in the Oracle
operating system specific documentation for your platform. Protocols that resolve names at the transport
layer (such as DECnet object names) are vulnerable to this error if not properly configured or names are misspelled.
[oracle@msdbadm01 ~]$ tnsping MSDB

TNS Ping Utility for Linux: Version 12.1.0.2.0 - Production on 20-APR-2020 20:16:54

Copyright (c) 1997, 2011, Oracle. All rights reserved.

Used parameter files:

/opt/oracle/product/12.1.0.2/network/admin/sqlnet.ora

Used TNSNAMES adapter to resolve the alias

Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.63.34)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = MSDB))

ORA-12533: TNS illegal ADDRESS parameters



 

This error is related with incorrect syntax or spaces or closing bracket.

 

Check and fix syntax and remove spaces as follows.

MSDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.63.34)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = MSDB)
(UR = A)
)
)

 

Try again.

 

[oracle@msdbadm01 ~]$ tnsping MSDB
TNS Ping Utility for Linux: Version 12.1.0.2.0 - Production on 20-APR-2020 21:33:13
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
/opt/oracle/product/12.1.0.2/network/admin/sqlnet.ora

Used TNSNAMES adapter to resolve the alias

Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.63.34)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = MSDB)))
OK (0 msec)

 

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