When trying to debug ${BOKS_lib}/perl/ with bdebug, you get the following error message:

program "adsync" not known

The perl script does have debug capabilities, but the bdebug script does not support it in BoKS 6.6.x and BoKS 6.7. This issue has been corrected in BoKS 7.0, so one can use bdebug to debug adsync with that version.

Resolution / Workaround

Since the script has the debugging capabilities included, you can manually edit the ${BOKS_etc}/ENV file and add the following lines to enable debug:


Where "debug level" is an integer between 0 and 9 inclusive (with 0 meaning no debugging), and the path and file name are the file to gather the debug information. The next time the adsync runs, it will automatically write debug messages to the file. There is no need to restart BoKS to reread the file in this case.

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: June 28, 2019