Ora 12571 ошибка

ORA-12571: TNS:packet writer failure i have oracle database 11g running on windows server 2008 release-2. Today morning our develope...

ORA-12571: TNS:packet writer failure

ORA-12571: TNS:packet writer failure

i have oracle database 11g running on windows server 2008 release-2. Today morning our developer face ORA-12571 TNS: packet writer failure error while compile large store procedure in Toad and same error get while execute same store procedure through sql*plus. developers are not get this error while compile small store procedure and create table. this error only get when store procedure is large about more than 1000 lines.

As error in TNS Packet so i guess there is a problem in Network side or in sqlnet or tnsname file.

we try below step.

1. so first try to re-create the listener. delete and create the listener.

2. shutdown and startup the database. (if you get downtime from client) do not try this step on production.

3. check network cable connection. This error has been observed when there was a loose cable connection to the SCSI disk   Related errors were also subsequently noted in the NT event log. try all cable jack in jack out and check problem still persist.

4. this error may occur if ip conflict on windows server (but in our case there is no ip conflict).

5.edit the sqlnet.ora in path D:/app/oracle/network/admin/sqlnet.ora and change below line.

SQLNET.AUTHENTICATION_SERVICES= (NTS)
into
SQLNET.AUTHENTICATION_SERVICES= (NONE).
6. Try to de install antivirus if you have installed.

7. you may solve this error by modify below parameter using sysdba privileges.

alter system set shared_server_sessions=200 scope=spfile; (if it is null than set this value)
alter system set processes=300 scope=spfile;
alter system set sessions=500 scope=spfile;
restart the database.


If you resolve your error using above one of step than you are lucky but we not get solution and we still get ora-12571 error. so we log bug to oracle support.

oracle gives below solution.

1.1. Add the following parameters in the sqlnet.ora file on the CLIENT workstation:

TRACE_LEVEL_CLIENT=16
TRACE_DIRECTORY_CLIENT=<some_known_directory>
TRACE_FILE_CLIENT=client
TRACE_UNIQUE_CLIENT=ON
TRACE_TIMESTAMP_CLIENT=ON
DIAG_ADR_ENABLED =OFF          — add this in case of 11g client

The default directory for sqlnet.ora file is $ORACLE_HOME/network/admin , if not specified differently by TNS_ADMIN environment variable.

If you need to restrict the amount of disk space used by only  the long-term traces then you can also set the following:

TRACE_FILELEN_CLIENT=<file_size_in_Kbytes>
TRACE_FILENO_CLIENT=<number_of_files>

1.2. Reproduce the issue / error

1.3. Check if trace files were created.

1.4. Disable tracing by removing the TRACE lines from sqlnet.ora. 

We collect the sqlnet trace file and send it to oracle support but oracle support didnot find any error in this sqlnet log files. so oracle support recommend to check below things.

we get solution by below steps

Oracle Support ask below question to us.
>> do you have any firewall in the setup?? if yes, please try making a connection from inside the firewall to the sb server??

we reconfigure the firewall in data centre and tell to data centre to some issue in our 1521 listener port. after the data-centre network reconfiguration we solved our issue. so at last you have to check your network configuration and firewall configuration to solve ora-12571 error.

—please give your expert comments if any others.

Click here follow the steps to fix Oracle Error Ora-12571 Encountered and related errors.

Instructions

 

To Fix (Oracle Error Ora-12571 Encountered) error you need to
follow the steps below:

Step 1:

 
Download
(Oracle Error Ora-12571 Encountered) Repair Tool
   

Step 2:

 
Click the «Scan» button
   

Step 3:

 
Click ‘Fix All‘ and you’re done!
 

Compatibility:
Windows 7, 8, Vista, XP

Download Size: 6MB
Requirements: 300 MHz Processor, 256 MB Ram, 22 MB HDD

Limitations:
This download is a free evaluation version. To unlock all features and tools, a purchase is required.

Oracle Error Ora-12571 Encountered Error Codes are caused in one way or another by misconfigured system files
in your windows operating system.

If you have Oracle Error Ora-12571 Encountered errors then we strongly recommend that you

Download (Oracle Error Ora-12571 Encountered) Repair Tool.

This article contains information that shows you how to fix
Oracle Error Ora-12571 Encountered
both
(manually) and (automatically) , In addition, this article will help you troubleshoot some common error messages related to Oracle Error Ora-12571 Encountered error code that you may receive.

Note:
This article was updated on 2023-02-03 and previously published under WIKI_Q210794

Contents

  •   1. What is Oracle Error Ora-12571 Encountered error?
  •   2. What causes Oracle Error Ora-12571 Encountered error?
  •   3. How to easily fix Oracle Error Ora-12571 Encountered errors

What is Oracle Error Ora-12571 Encountered error?

The Oracle Error Ora-12571 Encountered error is the Hexadecimal format of the error caused. This is common error code format used by windows and other windows compatible software and driver vendors.

This code is used by the vendor to identify the error caused. This Oracle Error Ora-12571 Encountered error code has a numeric error number and a technical description. In some cases the error may have more parameters in Oracle Error Ora-12571 Encountered format .This additional hexadecimal code are the address of the memory locations where the instruction(s) was loaded at the time of the error.

What causes Oracle Error Ora-12571 Encountered error?

The Oracle Error Ora-12571 Encountered error may be caused by windows system files damage. The corrupted system files entries can be a real threat to the well being of your computer.

There can be many events which may have resulted in the system files errors. An incomplete installation, an incomplete uninstall, improper deletion of applications or hardware. It can also be caused if your computer is recovered from a virus or adware/spyware
attack or by an improper shutdown of the computer. All the above actives
may result in the deletion or corruption of the entries in the windows
system files. This corrupted system file will lead to the missing and wrongly
linked information and files needed for the proper working of the
application.

How to easily fix Oracle Error Ora-12571 Encountered error?

There are two (2) ways to fix Oracle Error Ora-12571 Encountered Error:

Advanced Computer User Solution (manual update):

1) Start your computer and log on as an administrator.

2) Click the Start button then select All Programs, Accessories, System Tools, and then click System Restore.

3) In the new window, select «Restore my computer to an earlier time» option and then click Next.

4) Select the most recent system restore point from the «On this list, click a restore point» list, and then click Next.

5) Click Next on the confirmation window.

6) Restarts the computer when the restoration is finished.

Novice Computer User Solution (completely automated):

1) Download (Oracle Error Ora-12571 Encountered) repair utility.

2) Install program and click Scan button.

3) Click the Fix Errors button when scan is completed.

4) Restart your computer.

How does it work?

This tool will scan and diagnose, then repairs, your PC with patent
pending technology that fix your windows operating system registry
structure.
basic features: (repairs system freezing and rebooting issues , start-up customization , browser helper object management , program removal management , live updates , windows structure repair.)

May 8, 2020

Hi,

Sometimes You can get “ORA-12571: TNS:packet writer failure ” error.

Details of error are as follows.

ORA-12571: TNS:packet writer failure

Cause: An error occurred during a data send.

Action: Not normally visible to the user. For further details, turn on tracing and reexecute the operation.

If error persists, contact Oracle Customer Support.

This error may be related with the NLS_NCHAR_CHARACTERSET option is set to AL16UTF16.

To solve this error, Change the NLS_NCHAR_CHARACTERSET to UTF8.

Or This error may be related with the Firewall settings.

To solve this error, Disable the firewall in Windows or Linux reading the following post.

https://ittutorial.org/oracle-linux-firewall-disable/

Do you want to learn more details about RMAN, then read the following articles.

https://ittutorial.org/rman-backup-restore-and-recovery-tutorials-for-beginners-in-the-oracle-database/

 2,130 views last month,  1 views today

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

    msm.ru

    Нравится ресурс?

    Помоги проекту!

    >
    ORA-12571:TNS:сбой программы записи в пакете

    • Подписаться на тему
    • Сообщить другу
    • Скачать/распечатать тему



    Сообщ.
    #1

    ,
    06.02.18, 08:53

      Junior

      *

      Рейтинг (т): 2

      Всем привет от пенсионера :D !
      У меня на локалке (отладка етс…) проблем нет. А вот у клиентов сервер через некоторое время выдаёт эту самую ошибку — ORA-12571:TNS:сбой программы записи в пакете.
      Конфигурация — Oracle 12 / Windows Server 2012 -> Oracle Client -> ODBC-источник данных -> Embarcadero C++ Builder 2010 -> ADO.
      Гуглил — причины от касперского етс… до кривой сети.
      Насчёт кривизны своих рук:
      SQLNET.ORA на сервере:

      ExpandedWrap disabled

        # sqlnet.ora Network Configuration File: C:Ora12homenetworkadminsqlnet.ora

        # Generated by Oracle configuration tools.

        # This file is actually generated by netca. But if customers choose to

        # install «Software Only», this file wont exist and without the native

        # authentication, they will not be able to connect to the database on NT.

        # SQLNET.AUTHENTICATION_SERVICES= (NTS) <- или тут явно прописать NONE, а не комментить???

        NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

        # добавлено 30.04.2015

        # попытка избавиться от ORA-03135 — connection lost contact

        SQLNET.INBOUND_CONNECT_TIMEOUT = 300

        SQLNET.SEND_TIMEOUT = 300

        SQLNET.RECV_TIMEOUT = 300

      Wizard

      Bas



      Сообщ.
      #2

      ,
      08.02.18, 16:19

        Цитата LMM @ 06.02.18, 08:53

        сем привет от пенсионера !

        Привет :D .

        Цитата LMM @ 06.02.18, 08:53

        ODBC-источник данных -> Embarcadero C++ Builder 2010 -> ADO.

        Круто замутил. Не проще ОDAС поставит? чем разбираться с гюками ODBC, ADO иEmbarcadero?
        ORA-12571 TNS packet writer failure

        Добавлено 08.02.18, 16:21
        Ask TOM


        LMM



        Сообщ.
        #3

        ,
        11.02.18, 13:58

          Junior

          *

          Рейтинг (т): 2

          Цитата Bas @ 08.02.18, 16:19

          Круто замутил.

          Стараюсь, Виктор :D ! Как когда-то с ODBC етс… началось, так и…
          Фишка в том, что раньше этой ошибки у клиентов НЕ было! А за ответы спасибо, пусть наши сетевики репы чешут!
          А на локальных Ораклах (на работе, дома и на дачном ноуте) проблем нет.


          LMM



          Сообщ.
          #4

          ,
          16.02.18, 22:03

            Junior

            *

            Рейтинг (т): 2

            Пока получается вот что:
            — в sqlnet.ora на сервере реально оставлена только строка

            ExpandedWrap disabled

              NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

            всё остальное закомментировано;
            — на клиентах ОТКЛЮЧЕН Касперский (не комментирую).

            0 пользователей читают эту тему (0 гостей и 0 скрытых пользователей)

            0 пользователей:

            • Предыдущая тема
            • Базы данных: Общие вопросы
            • Следующая тема

            Рейтинг@Mail.ru

            [ Script execution time: 0,0227 ]   [ 15 queries used ]   [ Generated: 9.02.23, 22:42 GMT ]  

            Понравилась статья? Поделить с друзьями:

            Читайте также:

          • Oracle error 12537
          • Oracle error 1017
          • Ora 12570 network session unexpected packet read error
          • Ora 12560 tns ошибка адаптера протокола как исправить
          • Ora 12560 tns protocol adapter error ошибка

          • 0 0 голоса
            Рейтинг статьи
            Подписаться
            Уведомить о
            guest

            0 комментариев
            Старые
            Новые Популярные
            Межтекстовые Отзывы
            Посмотреть все комментарии