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

Similar Messages

  • 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

  • '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

  • 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.

  • 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: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.

  • Message: ORA-12570: TNS:packet reader failure

    Hi,
    when i execute the below program,getting "Message: ORA-12570: TNS:packet reader failure" error. java version is 1.3.1 and oracle
    version is :9.1.
    able to connect to database using sql plus with the same user-id and
    password.
    Any help in this regard is appreciated.
    Thanks
    Chat
    import java.sql.*;
    import java.io.*;
    import java.util.Date;
    class JdbcTest
      public static void main (String args [])
        System.out.println ("Loading Oracle driver");
        try
          Class.forName ("oracle.jdbc.OracleDriver");
         System.out.println ("Connecting to the local database");
        Connection conn =
          DriverManager.getConnection("jdbc:oracle:oci8:@orcl,scott,tiger");
        System.out.println("debug 1 ....\n");
        Statement stmt = conn.createStatement ();
        System.out.println("debug 2 ....\n");
        // Query the employee names
        ResultSet rset = stmt.executeQuery ("select ename from emp");
        while (rset.next ())
          // Print the name out
          System.out.println (rset.getString (1));
      } catch (ClassNotFoundException cnfe){
          System.out.println ("Could not load the driver");
          cnfe.printStackTrace ();
      } catch (SQLException sqle) {
              System.out.println( "State  : " + sqle.getSQLState()  ) ;
               System.out.println( "Message: " + sqle.getMessage()   ) ;
               System.out.println( "Error  : " + sqle.getErrorCode() ) ;
      } catch (Exception e) {
          System.out.println ("Could not load the driver");
          e.printStackTrace ();
    C:\mjava>java JdbcTest
    Loading Oracle driver
    Connecting to the local database
    State  : 66000
    Message: ORA-12570: TNS:packet reader failure
    Error  : 12570
    C:\mjava>

    Hi Chat,
    You are using the oci8 driver and you may or may not be aware that oci8 is a type 3 driver that requires that the Oracle client be installed on the computer that is running the Java program. It also requires that you setup Oracle networking correctly, usually by putting an entry into your Oracle tnsnames.ora file.
    If there is no reason in particular that you are using the oci8 driver, then you should use the thin driver instead. The thin driver is a type 4 driver and does not require the Oracle client to be installed, and does not require configuration of Oracle networking. You do have to download the Oracle JDBC drivers from the Oracle website to the computer you are going to run your program on, and then place the oracle .jar files that contain the driver into the programs CLASSPATH. This can be done by setting an environment variable or by passing it to java.exe as a command line parameter. The url for the thin driver looks something like this, but you should check the Oracle doc for specifics or search this forum for more examples:
    jdbc:oracle:thin:@myserver:1521:mydatabaseWhen using a type 3 driver you should verify that you have Oracle networking properly configured for the computer that will be running your Java program by either connecting to the database using SQL/Plus or 'ping' the database using Oracle's tnsping utility. Make sure you check for valid connectivity before trying to run your Java program.

  • 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!

  • Random ORA-12570: TNS:packet reader failure errors

    We are seeing random ORA-12570: TNS:packet reader failure errors. Trace files regularly show the following entries:
    2012-09-06 14:45:01.974959 : nttrd:entry
    2012-09-06 14:45:23.327987 : ntt2err:entry
    2012-09-06 14:45:23.328093 : ntt2err:soc 844 error - operation=5, ntresnt[0]=530, ntresnt[1]=53, ntresnt[2]=0
    2012-09-06 14:45:23.328112 : ntt2err:exit
    2012-09-06 14:45:23.328127 : nttrd:exit
    2012-09-06 14:45:23.328177 : nserror:nsres: id=0, op=68, ns=12570, ns2=12560; nt[0]=530, nt[1]=53, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    Oracle Client is Server 2008 R2 on VMWare.

    Hi;
    Please also review:
    ORA-12570 ON CONNECTION ATTEMPT IN SERVER MANAGER WITH NO NETWORK CONNECTION [ID 91210.1]
    But As mention here rise SR please
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Ora-12570: TNS:Packet Reader Failure....

    Hello Everyone,
    Today i deinstalled Oracle 8i personal edition and installed again. When I am trying to login as system/manager, i am getting "Ora-12570: TNS:Packet Reader Failure" Can any one help me to come out of this problem? I look forward to your reply.
    Thanks In Advance.
    Sunil

    Hi Nepali...
    Sorry I for got to mention that oracle is installed on Windows Nt4.0. Do i need to remove evertying related to oracle in windows registery. This is installed on my laptop, probably i may not be able to install on another p.c.

  • 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

  • Ora-12571...TNS-Packet Writter Failure....Oh..! What We Can Do?

    Hi Gurus!
    Here in our department we are getting the above problem frequently. I have observed that on the client side where developer 6i is installed even we didnt perform any transaction/activity, we get the above problem!
    For the solution even i have tried following but didnt work,
    1- Uninstall and Reinstall all of the developer6i.
    2- Removed all related registry entries and files.
    The only thing which worked is to clean up all the system and to Reinstall the Operating System (windowXP).
    Which is very time taking and painfull to repeat it.
    Please have a solution for this!!!
    Thanks in advance

    Another possibility is spyware. We encountered that recently and ran Ad Aware to remove the spyware.
    After that you may encounter another error (I can't remember which one exactly) which can be resolved by donwloading LSP-fix (http://www.cexx.org/lspfix.htm).

  • 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

Maybe you are looking for

  • Error message 502 when trying to access music store

    When we try and access music store to use the itunes music card, it will not access the store and displays an error message 502?

  • My apple tv remote play button is not working so i can not access anything...what can i do?

    My remote will not work on Apple TV. The play button does not play so I can not access any content. What can I do?

  • Editable form printing issue

    I have created a form with InDesign CS6. Simple text fields with a submit button set up to email the form to my colleague. After I have exported the form and saved it as reader extended, recepients can enter and save data, submit it to my colleague b

  • Mesh Tool for Illustrator CS4

    When i use the mesh tool in a filled object, i can only create a gradient mesh on the anchor points or along the path, not anywhere inside the object. Is there any solution to fix it? Thx

  • Process Digitally Signed E-Mail

    Hi, I send an e-mail using outlook with digital signature. The mail is received in SAP with an attachment: "smime.p7s". I have implemented an exit class of interface IF_INBOUND_EXIT_BCS. I can process the mail. Is there anyway to process the signatur