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!

nslookup fails were as tnsping works - Oracle Client on Linux 4.0

434306May 12 2008 — edited May 12 2008
Hello Gurus,

I am able to connect to Oracle DB on the Linux server and not from Oracle client on Linux box. I have installed Oracle Client windows version on my laptop and same release and version for Linux on Linux box.

When I try to connect to the DB from Oracle Client installed on Linux box give me ORA-012545:Connect failed because target host or object does not exists.

I have tried tnsping and the server name (hostname) ,IP and DB of the server it works.
When I tried nslookup servername (hostname) , IP and DB it fails.

Anyone over there please help me out. This is something silly happening works on Windows Oracle client and not on Linux Oracle Client. One thing to do add Linux Oracle Client has Virtual IP to it. ITs host file has an entry for local host as follows : 127.0.0.1 localhost.local.domain localhost.

Also when I tried to create netservice names using netca it's just clean.

Please help me.

Thanks in advance

Thanks
Shiva
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2008
Added on May 12 2008
8 comments
1,970 views