Installing a DirectConnect server as a Windows service

ECDA Option for Oracle installation does not automatically create the DirectConnect server as a Windows service. This section describes how to add, start, stop, and remove the DirectConnect server as a Windows service.

NoteIf you set up the DirectConnect server as a Windows service using ServiceWrapper, you must remove the Windows service using the ServiceWrapper utility. The InstallShield Uninstall process does not remove the Windows service.

Adding the DirectConnect server as a Windows service

To add the DirectConnect server as a Windows service use the ServiceWrapper utility.

StepsTo add the DirectConnect server as a Windows service

  1. Go to the installation directory where the ServiceWrapper is located:

    C:\<install_dir>\DCO-15_0\bin 
    
  2. Execute the ServiceWrapper utility:

    ServiceWrapper.exe --install <service_name> --user=<userid> 
    --password<password> C:\<install_dir>\DCO-15_0\INSTALL \RUN_<DCO_NAME>.cmd
    

    where:

    For example:

    ServiceWrapper.exe
    --install dcw2ksrv
    --password=password
    C:\<install_dir>\DCO-15_0\INSTALL\RUN_dcw2ksrvd.cmd
    

Starting the DirectConnect server as a Windows service

NoteStarting and stopping the DirectConnect server as a Windows service on Windows XP and Windows 2000 may generate the following in the Windows Event Log:

“The description for Event ID (11) in Source ( ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: DC_150.”

StepsTo start DirectConnect server as a Windows service

  1. Select Start | Settings | Control Panel | Administrative Tools | Services.

  2. Select the name of the Windows service you installed, right click, and select Properties.

  3. Select the Log On tab and verify “This Account” is selected and that the user name is the same as you specified while adding the Windows service.

  4. If the service fails, use the Recovery tab to specify any actions.

  5. Select the General tab to provide a description of the Windows service and to specify whether the Windows service is to start automatically or manually.Click Start to start the Windows service.

Stopping DirectConnect server as a Windows service

StepsTo stop the DirectConnect server as a Windows service

  1. Select Start | Settings | Control Panel | Administrative Tools | Services.

  2. Select the name of the Windows service you want to stop and select Stop the Windows service.

Removing the DirectConnect server as a Windows service

StepsTo remove the DirectConnect server as a Windows service

NoteSybase recommends that you stop the Windows service before you execute the utility to remove it.

  1. Go to the installation directory where the ServiceWrapper is located:

    C:\<install_dir>\DCO-15_0\bin 
    
  2. Execute the ServiceWrapper utility:

    C:\<install_dir>\DCO-15_0\ServiceWrapper.exe --uninstall <service_name>
    

    where service_name is the Windows service name.