Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-12543: TNS: destination host unreachable and ORA-12532: TNS:invalid arg

Little Foot-OracleDec 3 2011 — edited Jan 22 2013
Hi,

i have a serious problem with connecting to database using "sqlplus".

getting the following errors:
ORA-12543: TNS: destination host unreachable
or
ORA-12532: TNS:invalid arguments

unable to understand these errors, as no common error found, i.e from one system i got ORA-12543 and from other, got ORA-12532.

i have used putty to connect to the actual sever and connect to sqlplus as sys user without using '@' and connection was established, also tried with '@' still was able to connect.

but when i copy the tns entry and try to log in from other server gives the above errors.

i tried,
1) tnsping severip
but TNS-12560: TNS:protocol adapter error
or
TNS-12532: TNS:invalid argument

2)telnet <ip> <port>
Trying <ip>...
telnet: connect to address <ip>: No route to host
telnet: Unable to connect to remote host: No route to host

any suggestions on how to go forward,

i also tried "netstat -an" and was able to find the port 1521 and was in "LISTEN"


totally out of scope..,

please help me..,

thanks and regards,
Little Foot
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 19 2013
Added on Dec 3 2011
8 comments
5,668 views