Knowledge Base > Automation Engine and Target Systems > UNIX > Return Codes for UNIX Jobs

Return Codes for UNIX Jobs

The agentA program that enables the de-centralized execution of processes (such as deployments) on target systems (computers or business solutions) or a service that provides connectivity to a target system (such as for databases or middleware). An agent is also an object type in the Automation Engine. [Formerly called "Executor."] See also: host logs all occurring errors in the jobAn Automation Engine object type for a process that runs on a target system.'s activation reportA report provides more detailed information about a task's execution or a component..

Depending on the job's execution, it also sets one of the following return codes:

Return code

Description

0

No error occurred.

1-200 OS error codes
201 setgid() - The agent does not have the required privilegesPrivileges in the Automation Engine refer to user rights to work with certain frontend and user interface functions. You grant privileges to users in the Automation Engine..
202 initgroup() - The agent does not have the required privileges.
203 setuid() - The agent does not have the required privileges.
205

chdir() - Change directory for job userIn the Automation Engine, a user is an instance of a User object, and generally the user is a specific person who works with Automic products. The User object is assigned a user ID and then a set of access rights to various parts of the Automation Engine system and product suite. These access rights come in the form of Automation Engine authorizations and privileges, Decision user roles and EventBase rights and ARA web application object rights. You can manage all these centrally in the ECC user management functions. See also, Unified user management. does not exist.

 

206 The job report file cannot be opened.
208 dup2(STDOUT) - Standard output cannot be assigned.
209 dup2(STDERR) - Standard error output cannot be assigned.
210 execle() error - Job file cannot be started.

You can define the return codeThe value that represents the result of tasks and script functions. as of which the job should abort in the Job objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task's Runtime tab.

 


Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support

Copyright © 2016 Automic Software GmbH