Document toolboxDocument toolbox

Bamboo Agent produces chcp or -107374 errors

Problem

Atlassian Bamboo Remote Agents running on Windows (before Bamboo v6.10) may produce a couple of errors:

  • 'chcp' is not recognized as an internal or external command, operable program or batch file.

  • the Return Code -1073741515

If you encounter these symptoms you may need to implement the workaround described below. This Bamboo defect is documented here and the status of the Atlassian fix is described here.

If you need to run the MettleCI dm-ccmigrate-plugin via a Remote agent you will need to use the following workaround

Solution

Follow these steps to work around this Bamboo bug:

  1. Configure Bamboo Remote Agent to run as an application user (via Windows Services)

  2. Add the following 2 paths to the application user path (not the system path!)

    • %SystemRoot%\system32

    • <DataStage Client Installation Path>\ASBNode\apps\proxy\cpp\vc60\MT_dll\bin

If another, similar error code appears (e.g. -1073741819) we recommend you copy the value of the system PATH environment variable and append it to the local user PATH environment variable that is configured to run the Bamboo remote agent service.

 

© 2015-2023 Data Migrators Pty Ltd.