We are unable to execute a simple command on PAM agent installed on Linux machine. The command fails with error=2, No such file or directory.

Document ID : KB000033179
Last Modified Date : 14/02/2018
Show Technical Document Details

     Question:

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?

Answer:


     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.