Product Documentation

FairCom DB V12 Updates

Previous Topic

Next Topic

ctsrvr.cfg Moved to New config Folder

The ctsrvr.cfg file has been moved from the working directory (where faircom.exe is located) to the new config directory. This move centralizes all configuration files within a single directory for easier management. The server tries to load ctsrvr.cfg from the following directories:

<faircom>/config/ctsrvr.cfg

falling back to:
<faircom>/server/config/ctsrvr.cfg

and finally to:
<faircom>/server/ctsrvr.cfg

The configuration file can be placed in a directory of your choosing by using any of these procedures:

  • Passing a command-line parameter, e.g.:
    ctsrvr CTSRVR_CFG my_path/my_config_filename
  • Setting the CTSRVR_CFG environment variable
  • Calling ctdbSetConfigurationFile() before calling ctThrdInit() for embedded server models (not supported on c-treeRTG)

TOCIndex