Packet Writer Failure

Hi,
I am experiencing the following error on a Oracle client PC:
ORA-12571 : TNS Packet Writer Failure. The client PC cannot access any Oracle database, even by using Sql.
The networking environment seems to be 100 % OK.
Analysing the listener trace on the server did not help, nor did re-installing the Oracle client.
Any idea about the problem ?
Many thanks
Christian

The network was OK as well as the service names. The listener was running, since other PCs were connecting without any problem. I could see in the listener trace that the connection request was being received and processed by the server like those from other PCs. So...the issue remains a mystery.
I resolved the problem by installing Client 8.1.7 instead of 8.1.6.
Anyway, thanks for your assistance.
Christian

Similar Messages

  • 'ORA-12571: TNS:packet writer failure' error while calling procedure from VC++

    hi all,
    i am writing stored procedures and calling these from vc++. I have one stored procedure in that all
    in and out perameters are numeric. When i am calling these procedure i am able to get the values properly. But in another procedure one in perameter is varchar and one out perameter is varchar. When i am calling these procedure from vc++ the error i am getting is "ORA-12571: TNS:packet writer failure". I test my vc++ code on different computers but its giving the same errors. I think ora-12571 error is when i can't communicate with oracle. But other stored procedures(in and out perameters are numbers) and sql statements are running properly. Only these stored procedure which has in and out perameters as varchar is giving me the above said problem. My out perameter in this procedure strtax is of type varchar and the length 100. Is it the problem. Please suggest me how to over come this problem.
    thanks in advance,
    with regards
    vali.

    Hi
    We recently changed our load balancer to a new load balancer. we get this error only after the load balancer change.
    When the error occurs, I could see ORA-12571 error message only in the application error log. The listener.log has only the following message about TNS 12502. It does not have any message about ORA -12571.
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2202)) * establish * AppName * 0
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2203)) * establish * AppName * 0
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2204)) * establish * AppName * 0
    12-MAR-2010 12:24:09 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    Thanks
    Ashok

  • ORA-12571: TNS:packet writer failure while calling procedure from VC++

    hi all,
    i am writing stored procedures and calling these from vc++. I have one stored procedure in that all
    in and out perameters are numeric. When i am calling these procedure i am able to get the values properly. But in another procedure one in perameter is varchar and one out perameter is varchar. When i am calling these procedure from vc++ the error i am getting is "ORA-12571: TNS:packet writer failure". I test my vc++ code on different computers but its giving the same errors. I think ora-12571 error is when i can't communicate with oracle. But other stored procedures(in and out perameters are numbers) and sql statements are running properly. Only these stored procedure which has in and out perameters as varchar is giving me the above said problem. My out perameter in this procedure strtax is of type varchar and the length 100. Is it the problem. Please suggest me how to over come this problem.
    thanks in advance,
    with regards
    vali.

    hi,
    thanks for reply,
    I wanna let u know that this is my personal lappy & i have installed apps dump on it in Linux & connect it through VM player in Window environment. I have recently purchased a new Antivirus K7 & installed it on my Lappy. i wanna know does this impact your application or Dbase Bcoz the application is running fine after starting the services in linux.
    The only thing is that i am not able access the database through TOAD or SQL*Plus. the same error i am facing in both.
    So
    shud i uninstall the antivirus on this And this is the only solution to it ?
    If yes, then how do i fix it again when i'll reinstall it Bcoz i need Antivirus as well.
    kindly suggest.
    thanks
    D

  • Packet Writer Failure Error

    Hi All:
    I have been using Discoverer for one week when I experienced a problem of not being able to login to Discoverer Admin/User Editions. The message is : "Failed to Connect to Database - ORA-12571: TNS: Packet Writer Failure." On Friday, I was not able to login in for several hours. I have not been able to login this morning at all.
    Although the message mentions TNS, it is not about the TNSNAMES.ORA file -- this file has not be changed in months, and, the problem seems to be intermitant...
    Has anyone experienced this problem? This is a first for me...
    Many thanks.
    Gail

    Gail,
    ORA-12571 - Has got two Possible Solutions,
    1. Edit the SQLNET.ORA file on the client and the server.
    Remove the following entry from the $ORACLE_HOME/NETWORK/ADMIN/SQLNET.ORA
    file on both the client and server:
    SQLNET.EXPIRE_TIME=0
    2. Faulty network equipment is likely to cause this error. Search for possible network or network related equipment problems such
    as a bad router card.
    Hope this helps.
    Thanks,
    Selva.
    null

  • ORA-12571-TNS: PACKET WRITER FAILURE

    Hi All,
    am using oracle 6i and facing this problem when am connecting Forms to Database..
    Error Encounterd:ORA-12571-TNS: PACKET WRITER FAILURE.
    Plz help.
    Regards,
    Neha

    this error usually network problem..... i googled it found some solutions try
    his is usually due to an improper sqlnet.ora setting. Here are some possible causes and remedies:
    ** Loose network cables. This error has been observed when there was a loose cable connection to the SCSI disk array (on an Oracle Parallel Server system). Related errors were also subsequently noted in the NT event log.*
    ** IP address conflict (Oracle 9.0.1).*
    ** Authentication services. One solution is to edit the sqlnet.ora file and change the line:*
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    to
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    After saving the updated file, he was able to hit the retry button on the install and the creation of the database succeeded.

  • ORA-12571 TNS PACKET WRITER FAILURE --urgent help required

    I'm facing ORA-12571 TNS PACKET WRITER FAILURE error
    Platform is windows 2000/ tomcat / appache server / oracle 8.1.7
    This is not frequently happening. When the load increases, I'm facing this error? What type of parameters should I concentrate.
    DB is running on MTS.
    It is urgent.
    Could anyone throw some light on it?

    This question probably best belongs on the General database forum.

  • 12571 - ORA-12571: TNS:packet writer failure Failed SQL stmt

    hi, sir,
       My script work successfully and when i am try to script mover software every thing done fine but at the end i face this(12571 - ORA-12571: TNS:packet writer failure Failed SQL stmt) error. so I read few article they told about this is antivirus issue, so please tell me, can i re-run the script mover or not.
    Samiullah

    Hi Neeraj,
    This is My Listerner file
    # listener.ora Network Configuration File: D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    HRCS9 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.2.204)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_HRCS9 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
          (PROGRAM = extproc)
    This is my tns file
    # tnsnames.ora Network Configuration File: D:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    HRCS9 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.2.204)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = HRCS9)
    both file working good and ping
    Samiullah

  • TNS-12571:TNS PACKET WRITER FAILURE

    Hello Oracle Gurus,
    Our Oracle 9i database is hosted somewhere else and is behind the firewall. When accessing this database through TOAD, even after 2 minutes of inactivity, we get the "TNS-12571: TNS Packet writer failure" and we have to reconnect to the database again. This occurs in all of the client machines. The Oracle 9i database's firewall is open for the ip address from which we are using TOAD/SQL*Plus.
    Is there any configuration that needs to be changed on the Oracle Client or server side to solve this issue? I appreciate your help.
    Thanks,
    Saku

    Hi,
    you can set sqlnet_expire_time option in sqlnet.ora file on the database server and set the time less than 2 mins. This to identify if the problem is because of some firewall configuration or other network related issue which causes the onnection to die.
    this parameter should keep all the client connection alive but results in extra trafic.

  • TNS Packet writer failure and end-of-file on communication channel

    Hello Sir/Mam,
    I m working on oracle server 9i. when i insert data into Blob,Nclob,Clob field which is larger than 4KB, this message occur everytimes.(TNS Packet writer failure or end-of-file on communication channel).
    Can u tell me why this happen when i insert large data from 4KB.
    I m using oledb to insert data into a table.if datasize is less than 4 KB ,its easily insert.
    My Code Module is this
    BOOL CconnectivityDlg::OpenOracleFile()
         BOOL bResult=FALSE;
         bFile = FALSE;
         dwFileSize = 0;
         CString csVirtualPath;      
         CFileDialog dlg(TRUE);
         if(dlg.DoModal()==IDOK)
              StrName = dlg.GetPathName();
         hFile1=CreateFile(StrName,GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE,
                                       NULL,OPEN_EXISTING, NULL,NULL);
         unsigned int count =0;
              if(hFile1==INVALID_HANDLE_VALUE)
                   if(count<5)
                        count++;
                        Sleep(1000);
                   else
                        return bResult;
         DWORD dwHighPart,dwLowPart;
         dwLowPart = GetFileSize(hFile1,&dwHighPart);
         LARGE_INTEGER NewFilePointer;
         NewFilePointer.LowPart = dwLowPart;
         NewFilePointer.HighPart = dwHighPart;
         dwFileSize = NewFilePointer.QuadPart;     
         bFile     = TRUE;
         bResult = TRUE;     
         if(hFile1)
              CloseHandle(hFile1);
              hFile1 =NULL;
         return bResult;
    BOOL CconnectivityDlg::CreateConnection()
         BOOL bResult = FALSE;     
         CString Count,strFileSaveName;
         Count.Empty();
         strFileSaveName.Empty();
         unsigned int nCounter = 0;     
    repeat:     
         if(!AfxOleInit())
              return FALSE;
         m_pConn.CreateInstance (__uuidof(Connection));
         CString strConn ;
         strConn.Empty();
         m_pConn->CursorLocation = adUseClient;
         strConn     =_T("Provider=MSDAORA;OSAuthent=1;Data Source =LOVE;Connect as =SYSDBA;");
         try
              m_pConn->Open(_bstr_t(strConn),_bstr_t("system"),_bstr_t("system"),adConnectUnspecified);
              bResult = TRUE;
         catch(_com_error& e)
              CString sBuff = GetErrorDescription(e);
              AfxMessageBox(sBuff);
              return 0;          
         catch(...)
              AfxMessageBox(_T("UnknownError"));
              return 0;
         m_pCom.CreateInstance(__uuidof(Command));
         try
              m_pCom->ActiveConnection = m_pConn;
         catch(_com_error& e)
              CString sBuff = GetErrorDescription(e);
              AfxMessageBox((sBuff));          
         catch(...)
              AfxMessageBox(_T("UnknownError"));
         return bResult;
    CString CconnectivityDlg::insertimage()
         CString Query,ColmnName;
         Query.Empty();
         ColmnName = _T("FIRST");//Coloumn Name
         Query = _T("insert into SINGLE(FIRST) values (?)"); //Table in which i want to insert data of Nclob type.
         hFile1 = CreateFile(StrName,GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);//File from i read the data to insert into nclob field
         DWORD dwHighPart,dwLowPart;
         dwLowPart = GetFileSize(hFile1,&dwHighPart);
         LARGE_INTEGER NewFilePointer;
         NewFilePointer.LowPart = dwLowPart;
         NewFilePointer.HighPart = dwHighPart;
         dwFileSize = NewFilePointer.QuadPart;     
         BYTE *ImageData = new BYTE[dwFileSize+2];
         memset(ImageData,0,dwFileSize+2);
         BOOL bRead = ReadFile(hFile1,ImageData,dwFileSize,&dw,NULL);
         VARIANT varChunk;
         long lngOffset=0;
         UCHAR chData;
         SAFEARRAY FAR *psa = NULL;
         SAFEARRAYBOUND rgsabound[1];
         rgsabound[0].lLbound=0;
         rgsabound[0].cElements=dwFileSize;
         psa = SafeArrayCreate(VT_UI1,1,rgsabound);
         HRESULT hr;
         while(lngOffset < (long)dwFileSize)
              chData = ((UCHAR*)ImageData)[lngOffset];
              hr = SafeArrayPutElement(psa,&lngOffset,&chData);
              lngOffset++;                                        
         lngOffset     = 0;
         varChunk.vt=VT_ARRAY|VT_UI1;
         varChunk.parray=psa;
              try
              m_pCom->Parameters->Append(m_pCom->CreateParameter(_bstr_t(ColmnName),adLongVarWChar,adParamInput,(ADO_LONGPTR)dwFileSize,varChunk));
              VariantClear(&varChunk);
         catch(_com_error& e)
              CString sBuff = GetErrorDescription(e);
              AfxMessageBox(sBuff);
         if(ImageData)
              delete[] ImageData;
              ImageData = NULL;
         try
              m_pCom->CommandText=_bstr_t(Query);
              m_pConn->CursorLocation = adUseClient;
              m_pCom->CommandTimeout=0;
              m_pCom->Execute(NULL,NULL,adCmdText);
         catch(_com_error& e)
              CString sBuff = GetErrorDescription(e);
              AfxMessageBox(sBuff);
         return 0;
    CString CconnectivityDlg::GetErrorDescription(_com_error& e)
    bstrt bstrSource(e.Source());
    bstrt bstrDescription(e.Description());
    _TCHAR szTemp[1024];
    CString strInfo ;
    wsprintf(szTemp, _T("Message : %s\n"), e.ErrorMessage());
    strInfo = szTemp;
    wsprintf(szTemp, _T("Code : 0x%08lx\n"), e.Error());
    strInfo += szTemp;
    wsprintf(szTemp, T("Source : %s\n"), bstrSource.length() ? (LPCTSTR)bstrSource : T("null"));
    strInfo += szTemp;
    wsprintf(szTemp, T("Description : %s\n"), bstrDescription.length() ? (LPCTSTR)bstrDescription : T("null"));
    strInfo += szTemp;
         CString str     =     strInfo;
         if(str.Find(_T("not a valid password"),0) > 0)
              strInfo     =     _T("File is password protected") ;
    return strInfo;
    }

    user7728510 wrote:
    Hi,
    for what i know, MSDAORA provider doesn't support Oracle data types introduced since <font face="tahoma,verdana,sans-serif" size="1" color="#000">version</font> 8, as CLOB, BLOB and so on, so i think that it uses varchar2 up to the 4k limits and then causes this error.
    Have you tried with the OraOLEDB.Oracle.1 provider instead?Nice writing, Thanks for your explanation!

  • ORA 012571 TNS Packet Writer Failure ... ???

    I have installed the Designer 6i and when I attempt to login to the designer application, I am stopped by the error ORA 012571 TNS Packet Writer Failure.
    I have no idea what is causing this error, and therefore can't use the product.
    Looking for any/all help
    Darrell K.

    This is from documentation:
    TNS-12571 TNS:packet writer failure
    Cause: An error occurred during a data send. This message is not normally visible to the user.
    Action: For further details, turn on tracing and re-execute the operation. If the error persists, contact Oracle Customer Support
    Maybe this will be a little help for you.
    Helena

  • Help - Newbie - getting "ORA-12571: TNS: packet writer failure" ERROR

    Hi all,
    Not sure where to post this, so trying for the general forum to start...
    I have also searched and read all the forums for help on this already as well the Oracle documentation and anything I could find from several on-line searches, etc.
    I have Oracle 8i Enterprise Edition and Oracle Forms 6i installed on Win2K. Everything worked fine when it was just Oracle 8i running, ie: connecting to the database in SQLPlus Worksheet, but when I try and connect to the database in the datablock wizard in forms I get the ORA-12571: TNS: packet writer failure error!
    Don't tell me to re-install, I've done that like 6 times already. I've check the tnsnames.ora files and tried that fix already. I don't know what else to try short of fdisk and redoing everything from scratch again, but I don't have time for that as this machine is used daily for other tasks.
    Any help or suggestions are appreciated!!!
    Thx in advance!
    Michelle.
    PS: Note to Oracle support staff if you are listening (pardon the pun). Your one line of help for ORA-12571 in the existing support files is rather similar to the Hitchhikers Guide to the Galaxy's info for Earth... After seeing how many people have posted about this problem and how few resources or real answers there are out there, you might want to consider updating the info on this error, because is deserves something more than "mostly harmless"!

    This question probably best belongs on the General database forum.

  • TNS-12571 packet writer failure

    Hi,
    Oracle Database 10.2.0.1 on Windows Server 2003 V5.2
    A few weeks the datbase works fine.
    In the last night, oracle crashs / the listener (???)
    In the trace-file I can read:
    "optisk: network error occurred while two-task server trying to send break; error code = 12571"
    TNS-12571:TNS:packed writer failure
    Anybody here who can tell me what could cause this behaviour ?
    Temporary network-problems ???
    Kind regards,
    Walter Laurentius

    In an earlier log-file/other computer I found the same text:
    *** 2006-06-22 17:02:26.546
    *** ACTION NAME:() 2006-06-22 17:02:26.531
    *** MODULE NAME:(OEM.SystemPool) 2006-06-22 17:02:26.531
    *** SERVICE NAME:(VLR04) 2006-06-22 17:02:26.531
    *** CLIENT ID:() 2006-06-22 17:02:26.531
    *** SESSION ID:(197.248) 2006-06-22 17:02:26.531
    opitsk: network error occurred while two-task server trying to send break; error code = 12571
    It's a resourcen-problem??
    Thanks.
    Walter

  • Ora-12571 TNS:packet write failure

    Hi all
    I installed Oracle 10g database, and after that Oracle 6i FORMS
    Then suddenly I began getting error Ora-12571
    I uninstalled 10g database, then uninstalled FORMS and installed forms once more, but there still error
    What may be the reason and how can I solve it?
    Thanks...

    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/net12500.htm#sthref3508
    Apart from that is there any specific need to use 6i forms? Why not Oracle Forms 10g?
    http://www.oracle.com/technology/products/forms/index.html
    Adith

  • TNS : Packet writer failure

    Hi,
    I am facing this error while using parametrized queries otherwise its working fine using version 8.1.5.0.0 and VS 2008
    Microsoft Oracle Provider.
    Might be some knowledge missing.
    Please help.
    Thanks in advance.
    Gurpreet

    A couple of preliminary items:
    - this is a forum for Oracle's provider for .NET (ODP.NET) and you're using Microsoft's provider. So, you might find it harder to get any information specific to the MS provider here on an Oracle forum.
    - 8.1.5 has been desupported for quite some time now so you might be having an issue with incompatible software versions
    When you say you are using 8.1.5 version do you mean for the Database Version or the Client Version or both?
    Regards,
    Mark

  • ORA-12571 TNS : Packet Writter Failure

    Hi all,
    When I try to connect the DBA Studio (in the WIN 2000 SP 3), client of Oracle , the error message is
    "ORA-12571 : TNS : Packet writer failure."
    But in the TNSNAME.ORA file is working fine. meaning SQL*Plus and other Oracle client can connect.
    Only the GUI application(like DBA Studio,enterprise manager) are giving this error.
    How can I solve this ploblem?
    Thanks.

    yes I few more tnsnames.ora file other directory for other version and application.
    For this same version HOME directory, only one file is there.
    so, SQL*Plus is connecting by using this file , but not for GUI applications.(DBA studio,Enterprise manager)

Maybe you are looking for

  • Creating a Folder in KM

    Hi  Expert I need to develop an application using <u><b>webdynpro</b></u> that would create a folder in KM dynamically and i need to upload and download the documents into the folder all these action should be done using webdynpro only Please help me

  • ITunes recognizes iPhone but iPhoto doesn't??

    Hey all, Using a new 2014 MacBook Air and a new iPhone 6...everything is completely updated. My charging cord, although it works completely fine when plugged into an outlet, seems faulty when plugged into my computer. My iPhone buzzes on and off as i

  • Setting a proper domain name and adding hosts for quick name resolution

    I have 3 other computers in my house. Two run linux at this time. I want to do 2 things. Right now my machine says Steve.local for its hostname right? I want to change that so it reads Steve.mydomain.net. Am I correct that I need to sudo /etc/hostcon

  • How to call User Define Function

    Hi, I need a help.... In my Project I have Login.jspx page in which there is a textbox Username. I have second success.jspx page which has its success.java bean class in which i have define a method "display()".Now i want to cal display() in my succe

  • Need Help! Ospprearm.exe not working with Windows 8 and Micorsoft Office 2013

    I am running 64 bit win 8 and office 2013.  I searched in my whole PC and I found Ospprearm.exe in this location C:\Program Files (x86)\Microsoft Office\Office15 That was the only place I found ospprearm.exe.  When I opened it I got this error There