Easysoft ODBC-ODBC Bridge

Why do I get error "Failed to receive packet header"?

Last Reviewed:
7th July 2008

If you get the following error after making repeated connections to the Windows ODBC-ODBC Bridge (OOB) Server running in multi-process mode:

[S1000][unixODBC][Easysoft ODBC (Client)]Failed to receive packet header, recv()=-1 - Connection reset by peer (errno=104)
[08001][unixODBC][Easysoft ODBC (Client)]Client unable to establish connection
[ISQL]ERROR: Could not SQLConnect
  1. Turn on OOB Server tracing in the OOB web administrator. To do this, in a web browser, go to http://OOB_server_machine:8890. In the Configuration page, change Logging from 0 to 0xffffff and click Submit.
  2. Try connecting again. If you get the same error, open the OOB Server log file esoobstart.log. This file is located in the directory specified by LogDir. The default location is:

    drive:\%ProgramFiles%\Easysoft\Easysoft ODBC-ODBC Bridge\Logs

    For example:

    C:\Program Files\Easysoft\Easysoft ODBC-ODBC Bridge\Logs

  3. Search esoobstart.log file for an entry similar to:
    Thread/Process no longer active - exit code -1073741502

    This entry usually means that no more memory is available to the OOB Server Windows Service. As a consequence, the OOB will be unable to start any new processes.

  4. Turn logging off by changing the Logging attribute value from 0xffffff to 0.
  5. In Registry Editor (either regedit.exe or regedit32.exe), locate this key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems
  6. In the right pane of the Registry Editor window, double-click the Windows value.

    The Windows value sets a number of parameters, including Windows SharedSection. For example:

    Windows SharedSection=1024,3072,512

    The numeric values following "SharedSection=" control how memory heap is allocated. These values are specified in kilobytes. Increasing the third number in the comma separated list results in a larger memory heap being allocated to services such as the OOB Server. This increases the number of processes that the OOB Server can run. Note that a reboot is required before any changes you make to this setting take effect.

    For more information about the Windows SharedSection parameter, see Microsoft KB 184802 User32.dll or Kernel32.dll fails to initialize and Microsoft Advanced Windows Debugging and Troubleshooting : Desktop Heap Overview.

    Caution Back up the registry before modifying it. For information about how to do this, see Microsoft KB 322756 How to back up and restore the registry in Windows.

Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)

Oracle is a registered trademark of Oracle Corporation and/or its affiliates.