Home » RDBMS Server » Networking and Gateways » Facing problem while attempting to connect Oracle database from D2K
Facing problem while attempting to connect Oracle database from D2K [message #249506] Wed, 04 July 2007 12:41 Go to next message
prasenjit.dutta
Messages: 14
Registered: July 2007
Junior Member

Hi,

While trying to tnsping data base from client (stand alone machine), I am facing a typical issue, it is pinging the server first time, but in course of time, it stops pinging server, throwing an error message like, 'TNS-12571: TNS:packet writer failure'. The events are captured below:

Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=jit)(PORT=1521))
OK (390 msec)

G:\>tnsping80 jit

TNS Ping Utility for 32-bit Windows: Version 8.0.6.0.0 - Production on 24-JUN-07
22:08:27

(c) Copyright 1997 Oracle Corporation. All rights reserved.

Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=jit)(PORT=1521))
OK (320 msec)

G:\>tnsping80 jit

TNS Ping Utility for 32-bit Windows: Version 8.0.6.0.0 - Production on 24-JUN-07
22:08:29

(c) Copyright 1997 Oracle Corporation. All rights reserved.

Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=jit)(PORT=1521))
TNS-12571: TNS:packet writer failure

By using 'lsnrctl trace 1 & 2', I have documented the trace file also. The content of trace file is captured below:

ntnwr: failed to write 113 bytes
ntn2err: error: handle=372, op=6, nt[0]=530, nt[1]=0
nspsend: transport write error
nscon: error sending NSPTRF packet
nserror: nsres: id=8, op=67, ns=12571, ns2=12560; nt[0]=530, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
ntnrd: failed to read 2064 bytes
ntt2err: soc 388 error - operation=5, ntresnt[0]=524, ntresnt[1]=997, ntresnt[2]=0
ntt2err: soc 388 error - operation=5, ntresnt[0]=524, ntresnt[1]=997, ntresnt[2]=0


Could any body guide me regarding this issue, whether it is related to port # 1521 or some thing else.
Re: Facing problem while attempting to connect Oracle database from D2K [message #249722 is a reply to message #249506] Thu, 05 July 2007 11:53 Go to previous messageGo to next message
BlackSwan
Messages: 25042
Registered: January 2009
Location: SoCal
Senior Member
>ntnwr: failed to write 113 bytes
Base upon above I suspect a hardware/network problem.
Re: Facing problem while attempting to connect Oracle database from D2K [message #249729 is a reply to message #249722] Thu, 05 July 2007 12:15 Go to previous message
prasenjit.dutta
Messages: 14
Registered: July 2007
Junior Member

Hi,

This may not be related to network issue or even hardware issue, b'coz I am trying this in a stand alone machine, i.e., Oracle database and client is installed in same machine. And also, couple of months back, I was successful to connect Oracle database with same configuration from developer 2000, but unfortunately, after a fresh installation of both database and client, this issue has come up. Also, I tried to tnsping Oracle database by shutting down my McAfee Firewall. It also didn't work. Even, I failed to connect database from TOAD also, as it is using D2K home as default.

So, please guide me what to do more from my side, other than uninstalling the products ans re-install them.
Previous Topic: Removing Dynamic Registered service name from the default listner
Next Topic: TNS-12560: TNS:protocol adapter error
Goto Forum:
  


Current Time: Wed Dec 07 05:13:52 CST 2016

Total time taken to generate the page: 0.09049 seconds