search cancel

Panic: Can't find temp dir for perlapp

book

Article ID: 213750

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

We are getting this error after installing a new agent. Most of the ITPAM functions appear to be working but one operator runs a .exe on the Windows 2016 server and is getting the following error.

mkdir("C:\Windows\system32\config\systemprofile\AppData\Local\Temp\pdk-SYSTEM\") failed, errno=2
Panic: Can't find temp dir for perlapp

 

When we run the same .exe on the local server it works fine so it is just the execution from from ITPAM that is the issue.

 

Cause

The executable is trying to access a directory that the Process Automation Agent does not have access to. This may happen if the Process Automation Agent service is starting as "Local System" 

Environment

Release : 4.3

Component : PROC AUTO SIM AND BMC REM POWER PACK

Resolution

To resolve this issue you will need to:

  1. Stop the agent.
  2. Configure the agent service to start as an account that has the necessary permissions. 
  3. Start the agent.