Previous Topic

Next Topic

Stopping the c-treeACE Service

The c-treeACE service can be stopped by using either the c-treeACE Server SCP or the Windows Services Control Panel applet.

  • Stop the c-treeACE Server Service using the c-treeACE Server SCP by running ctntinst with the -stop option. ctntinst signals the c-treeACE Server Service to stop, but does not wait for the service to terminate before exiting. Use the -status option to verify the service stopped. For example:
C:\FairCom\V9.0.0\win32\bin\ace\sql>ctntinst -stop ctreesql.exe
Stopping the c-tree Server service...Service Status for ctreesql.exe
Current State:     STOP IS PENDING
Controls Accepted: STOP  SHUTDOWN
Win32 Exit:        0
Service Exit:      0
Checkpoint:        1
WaitHint:          3600000
  • Stop the c-treeACE service using the Windows Services Control Panel applet by opening the Control Panel. Select the Services applet. Select the c-treeACE service. Click “Stop”. To verify you want to stop the service, click “Yes”.
  • If the c-treeACE service is configured to allow user interaction, clicking the close gadget stops the Service.
  • The service stops automatically when Windows signals the operating system itself is shutting down. A clean shutdown of Windows should result in a clean shutdown of the c-treeACE service. However, since Windows only allows a 20-second delay for service shutdown, FairCom recommends all files be maintained under transaction processing to allow automatic recovery if cache cannot be safely flushed to prevent data corruption. The default 20-second delay can be adjusted using the WaitToKillServiceTimeout registry key, found in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\, when present.