While installing an agent on the HP-UX server the below mentioned problems are faced during execution of action "Run Command line" and "RUN Command line" with impersonation.
Release Automation - All versions
The HP-UX have some specific OS level configuration you need to have in order to execute the action "RUN command line" in impersonated mode please find solution below for specific problem listed above.
Troubleshooting steps
ERROR:
0m/home/impersonateduser~ cd "/CARA/CA/ReleaseAutomationAgent"
INFO | jvm 1 | 2019/09/11 16:08:53.697 | ksh: /CARA/CA/ReleaseAutomationAgent: permission denied
VALIDATION:
Login to system as impersonateduser
Check the present working directory it should be same as shown in logs i.e. /home/impersonateduser
Try to run the command cd "/CARA/CA/ReleaseAutomationAgent" . You will get same error i.e. permission denied
CORRECTION:
The impersonateduser is not having correct permission on NolioAgetInstallDir. Please run solution 2 command 2
Problem 2 solution: