===== [V9] FAQ: How to start AhsayCBS in debug mode? ===== Article ID : 9310
Reviewed : 2022-01-06

Product Version:
AhsayCBS: 9.1 to 9.x
OS: All platforms ===== Description ===== This article contains instructions on how to start AhsayCBS in debug mode. ===== Steps ===== Refer to the following steps to start AhsayCBS in debug mode.
  1. Edit the 'cbs.opt' file, located in the installation home and installation home conf folder:

    ${Install-Home}\conf

    Value of ${Install-Home} for various operating system:

    • (Windows) C:\Program Files\AhsayCBS
    • (Linux/Unix) /usr/local/cbs

  2. Open the 'cbs.opt' file with a text editor:

    cbs.opt
    ...
    #
    # OBS debug options
    # Verify backup data (hashed path, client path, size, block sequence, crc, etc.) during upload
    com.ahsay.obs.core.bfs.append.debug=
    #
    # Verify rebuild operation
    com.ahsay.obs.core.bfs.Rebuild.debug=
    com.ahsay.obs.core.bfs.debug=
    #
    ...
    Note: There are multiple debug options that are available in the 'cbs.opt' file.

    Consult with Ahsay support representatives if you are unsure which debug mode should you enable (e.g. to troubleshoot on your server issue).

  3. Edit the debug option parameters by adding the value 'true' to the end of the corresponding line, similar to the example as follow:

    cbs.opt (Updated)
    ...
    #
    # OBS debug options
    # Verify backup data (hashed path, client path, size, block sequence, crc, etc.) during upload
    com.ahsay.obs.core.bfs.append.debug=
    #
    # Verify rebuild operation
    com.ahsay.obs.core.bfs.Rebuild.debug=
    com.ahsay.obs.core.bfs.debug= true
    #
    ...
    Note: There are multiple debug options that are available in the 'cbs.opt' file.

    Consult with Ahsay support representatives if you are unsure which debug mode should you enable (e.g. to troubleshoot on your server issue).

  4. Save the changes to the 'cbs.opt' file afterward, then restart the AhsayCBS and AhsayCBS NFS service.

===== Keywords ===== obs, rebuild, debug, troubleshoot, troubleshooting, cbs