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.
If 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.
To add the DirectConnect server as a Windows service use the ServiceWrapper utility.
To add the DirectConnect server as a Windows service
Go to the installation directory where the ServiceWrapper is located:
C:\<install_dir>\DCO-15_0\bin
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:
service_name is the Windows service name
userid is the user name for the service that will run
password is the password for the userid
DCO_NAME is the name of the DirectConnect server
For example:
ServiceWrapper.exe --install dcw2ksrv --password=password C:\<install_dir>\DCO-15_0\INSTALL\RUN_dcw2ksrvd.cmd
Starting 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.”
To start DirectConnect server as a Windows service
Select Start | Settings | Control Panel | Administrative Tools | Services.
Select the name of the Windows service you installed, right click, and select Properties.
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.
If the service fails, use the Recovery tab to specify any actions.
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.
To stop the DirectConnect server as a Windows service
Select Start | Settings | Control Panel | Administrative Tools | Services.
Select the name of the Windows service you want to stop and select Stop the Windows service.
To remove the DirectConnect server as a Windows service
Sybase recommends that you stop the Windows service before you execute the utility to remove it.
Go to the installation directory where the ServiceWrapper is located:
C:\<install_dir>\DCO-15_0\bin
Execute the ServiceWrapper utility:
C:\<install_dir>\DCO-15_0\ServiceWrapper.exe --uninstall <service_name>
where service_name is the Windows service name.