deployer_daemon.sh syntax error at line ...

Document ID : KB000071737
Last Modified Date : 25/09/2018
Show Technical Document Details
Issue:

While trying to stop, start, or check the status of the Nolio agent it returns the following error:
./deployer_daemon.sh: syntax error at line 1087: `(' unexpected

The error, depending on the operating system (SunOS above) will vary in the line number it mentions. AIX has been seen to have this error reflecting line 520.

Environment:
CA Release Automation Agent 6.3 and above.
Cause:

The problem stems from the deployer_daemon.sh script using #!/bin/bash while bash is not available on the system.

Resolution:
If the error message and cause are true for you then the following can be done to resolve the issue until it is officially resolved via the product:
  1. Change the deployer_daemon.sh first instruction from #!/bin/bash to #!/bin/sh 
  2. Search for and comment out the vercomp function.