Start the Service / daemon

If you installed the Client Console, use one of the following procedures to start the service (Windows) or daemon (UNIX).

To start the service (Windows)

  1. From the Start menu, choose Settings > Control Panel > Administrative Tools > Services.
  2. In the Services window, double-click Attachmate DATABridge 6.2 Client Service, and then click the Start button.

    If the service doesn't start, the specified port may be in use. Check the service log file in Documents and Settings\All Users\Application Data\Attachmate\DATABridge\6.2\logs.

  3. To stop the service, select Attachmate DATABridge Client 6.2 Service, and click Stop.
  4. (Optional) On the recover tab, specify that the service is restarted after the first or second failures. (Do not set more than two failures; if the service fails more than that, you'll want a service failure to inform you of the problem.)
  5. Start the Client Console and follow the instructions to add the service.

To start the daemon (UNIX)

  1. Log in using the user ID you specified for the daemon in step 7 of the installation instructions or as a user with root privileges. If you start the daemon from the root (for example, by typing su), the daemon automatically assumes the specified user ID.
  2. Make sure that you specified the appropriate environment variables in the dbdaemon script. If you use Oracle, add the Oracle bin directory to the PATH. Failing to do this causes the bulk loader scripts to not find the sqlldr program. Also, add the Oracle lib directory to the LD_LIBRARY_PATH environment variable (64-bit systems) or the program will be unable to find the shared libraries and will not start. For more information, see Install the DATABridge Client on UNIX.
  3. Start the daemon by doing one of the following.
    • On Linux and Solaris systems, type:

    /etc/init.d/dbdaemon start

    • On HP_UX systems, type:

    /sbin/init.d

    The daemon automatically creates the config and logs subdirectories for the data source working directory, and then places a binary configuration file (dbcontrol.cfg) in the config subdirectory. This configuration file is updated each time you add a new data source in the Client Console.

    Note: You can start or stop the daemon anytime by manually running the script with the appropriate options (start or stop).

  4. If you're using the Client Console, see Start the Client Console.