===== [V7] FAQ: How to start AhsayCBS in debug mode? ===== Article ID : 5211
Reviewed : 2016-10-26

Product Version:
AhsayCBS: 7.3.0.0 to 7.x
OS: All platforms ATTENTION 1st January, 2022: v7 officially End-of-Life [details] ===== 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 service.

    Note: For AhsayCBS version 7.9.0.0 or above, restart the AhsayCBS NFS service as well.
===== Keywords ===== obs, rebuild, debug, troubleshoot, troubleshooting, cbs