ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Linux Agent is running but can't launch a job 'getpwnam error code '1 - Operation not permitted'

book

Article ID: 186770

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic Workload Automation - Automation Engine

Issue/Introduction


We installed a new agent on our Linux server. The Linux agent12.3 is correctly running but we have an error when we want to launch the job.

The agent is started by the service manager using the login jde910.

This a screenshot of the error.

 

 

Cause

The  getpwnam is a system call to get information about user with a given name.

getpwnam(jde910)' hence it is trying to get the information about the user jde910.

The agent was running as the user jde910  and hence did not have the necessary permission

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

The agent needs to be started as the root user. The other workaround is to make root the owner of the file and then use SETUID so that it always runs with root privileges.

 Please follow the instructions below.

  • chown root ucxjlx6
  • chgrp admin ucxjlx6
  • chmod 4550

For more details refer to the following documentation.

Installing the Agent for UNIX