command fails with error=2, No such file or directory. Unable to execute command on agent on Linux machine.

book

Article ID: 33179

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

I want to run a simple command on PAM agent installed on Linux.

The command fails with error:
Failed to start process: "/tmp/.c2otmp/3bbdc725-933a-44d7-b773-d1b4e6692c00/c2ouscript.bat" - reason: Cannot run program
"/usr/local/CA/Poodle-PAMAgent/PAMAgent/wrappers/c2ojagtw.sh" (in directory "/tmp/.c2otmp/3bbdc725-933a-44d7-b773-d1b4e6692c00"): error=2, No such file or directory

      Are there any specific requirements to enable command execution?

 

Environment

Release: ITPASA99000-4.3-Process Automation-Add On License for-CA Server Automation
Component:

Resolution

     PAM requires Korn Shell to be installed on the Linux agents so that commands can be executed.
     Above error is usually seen when Korn shell is missing on the server.

     To install Korn Shell please run following command on Linux server.

      yum install ksh

Note: For more information related Korn Shell check the information specific to Linux distribution used.