This file documents how to uninstall the Easysoft ODBC-ODBC Bridge
(OOB).

Windows
-------

To uninstall the OOB in Windows run add/remove programs from the start
menu -> control panel. Select the Easysoft ODBC-ODBC Bridge and click
on OK. You may be prompted for further advice on the removal of shared
DLLs. Generally speaking it is safer to say no to the removal of
shared DLLs but if you are confident the DLL is not used by any other
products on your machine you can select YES.  The OOB installs
esrpc.dll, essupp.dll, esoobclient.dll, esoobsetup.dll and escrypt.dll
although all but esoobclient.dll and esoobsetup.dll are shared by
other Easysoft products.

Please note that any licenses you obtained for OOB and other Easysoft
products are held in the registry and these are not removed when OOB
is uninstalled. If you want to, you can manually remove these entries from

HKEY_LOCAL_MACHINE\
SOFTWARE\
Easysoft\
Info\
Products\

The key for standard OOB is 2002nnnnnnnnnnnn and for Enterprise OOB is
2110nnnnnnnnnnnn. You can delete this key if you nolonger want to use
OOB. Do not delete this key if you plan to reinstall OOB or you will
have to re-license.

UNIX
----

There is no automated method of removal of the OOB in this
release. However, removal is quite simple. Follow the instructions
below:

To remove the client side of the OOB:

[1] Change directory to INSTALLPATH/easysoft/oob and delete the
    directory tree "client" (where INSTALLPATH is what was specified
    at install time).

[2] If you had to add the above path to the dynamic linker search
    paths (e.g. /etc/ld.so.conf in Linux) remove this entry. You may
    have to run a linker command such as /sbin/ldconfig to get the
    dynamic linker to reread the configuration file. This step can
    generally only be performed by the root user.

[3] If you were using unixODBC the OOB Client ODBC Driver entry needs
    to be removed from the odbcinst.ini file. To check whether OOB is
    configured under unixODBC use odbcinst -q -d. If this outputs OOB
    and/or OOB_r you should uninstall those drivers from unixODBC using

    odbcinst -u -d -n OOB
    odbcinst -u -d -n OOB_r

    If a message is displayed saying reduced usage count repeat, these
    commands until odbcinst states the driver is removed.

[4] If you created any OOB data sources under unixODBC you may want to
    delete these. You need to use odbcinst -j to locate user and
    system odbc.ini files and then check those files for DSNs having
    the driver attribute set to OOB or OOB_r.

To remove the server side of the OOB:

[1] You need to be the root user to accomplish this task.

[2] Change directory to INSTALLPATH/easysoft/oob and delete the
    directory tree "server" (where INSTALLPATH is what was specified
    at install time).

[3] If there are no other Easysoft products installed at INSTALLPATH
    then you should be able to delete the entire directory tree "easysoft".
    However, if there are other Easysoft products installed this is
    inadvisable.

[4] Remove the esoobserver (the default, you may have specified a different
    name during installation) entry from the /etc/services file. It will
    look something like this:

    esoobserver      8888/tcp                # Easysoft ODBC-ODBC Bridge

    and be towards the end of the file.

[5] Remove the {x}inetd configuration

    If you are running inetd:

    o Remove the esoobserver (the default, you may have specified a
      different name during installation but in any case use the same
      name as in step [4]) entry from the /etc/inetd.conf file. It
      will look something like this:

      esoobserver      stream  tcp     nowait  root    /bin/sh /bin/sh /usr/local/easysoft/oob/server/SERVER

    o Tell inetd to re-read its configuration files by sending the
      inetd process a SIGHUP. You can use ps to get the inetd process
      ID and then kill -HUP PID to tell inetd to re-read the
      configuration files.

    If you are running xinetd:

    o Locate the xinetd configuration directory (usually
      /etc/xinetd.d).  In that directory there will be an esoobserver
      file - delete it.

    o Tell xinetd to re-read its configuration files. Consult the
      xinetd man page for this the signal for doing this has
      changed in different xinetd releases.

[6] Remove oob_install.info from the /usr/local/easysoft directory.
