WA System Agent not started with systemctl
search cancel

WA System Agent not started with systemctl

book

Article ID: 238446

calendar_today

Updated On:

Products

Autosys Workload Automation CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation DE - System Agent (dSeries) Workload Automation Agent

Issue/Introduction

WA Agent R12 does not start as a service or at the system restart on Linux 8 servers. The following error appears upon the manual start :

Starting waae_agent-AGENT_I11 (via systemctl):  Job for waae_agent-AGENT_I11.service failed because the control process exited with error code.
See "systemctl status waae_agent-AGENT_I11.service" and "journalctl -xe" for details.
                                                           [FAILED]
Executed waae_agent-AGENT_I11 start..............................FAIL 1

waae_agent-AGENT_I11.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- The unit waae_agent-AGENT_I11.service has entered the 'failed' state with result 'exit-code'.
Mar 28 00:00:00 linux-agent-server systemd[1]: Failed to start LSB: Workload Automation System Agent.
-- Subject: Unit waae_agent-AGENT_I11.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- Unit waae_agent-AGENT_I11.service has failed.
-- The result is failed.
Mar 28 00:00:00 linux-agent-server assrvc[12906]: Executed waae_agent-AGENT_I11 start..............................FAIL 1

The cybAgent command can start and stop the agent service.

Environment

Release : 12.0

Component : Workload Automation System Agent

Cause

This error may occur if SELinux policies are not created for the Workload Automation Agent to run as a system service.

Resolution

The encountered problem is due to the  Linux server configuration.

Verify if the “SELinux” status by running “sestatus” command and the configuration setting in the file /etc/selinux/config. It is enabled if the SELINUX property in the file is set to "enforcing"

The linux system admin can create/install policies to allow the system agent to run as a service.

Alternatively, the SELINUX configuration can be changed to "permissive" or "disabled"  in the file /etc/selinux/config ( This is a system wide setting and may effect all the services running on the server)

Retry “unicntrl start waae_agent-AGENT_I11” 

Additional Information

For complete information on SELinux, consult the system administrator or linux distribution support.

Below is the link to Redhat Linux 9 documentation -

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/using_selinux/getting-started-with-selinux_using-selinux#doc-wrapper