Unable to start AutoSys services using unisrvcntr

book

Article ID: 226072

calendar_today

Updated On:

Products

CA Workload Automation AE - Scheduler (AutoSys)

Issue/Introduction

The AutoSys 12.0 services fail to start using the unisrvcntr or systemctl commands on Linux. When running a 'systemctl status' on one of the services with the -l argument, it shows permission errors...

systemctl status waae_server.ACE.service -l
‚óŹ waae_server.ACE.service - LSB: AutoSys Workload Automation Application Server
   Loaded: loaded (/etc/rc.d/init.d/waae_server.ACE; generated)
   Active: failed (Result: exit-code) since Mon 2021-10-11 06:26:30 EDT; 9s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 104010 ExecStart=/etc/rc.d/init.d/waae_server.ACE start (code=exited, status=1/FAILURE)

Oct 11 06:26:25 hostname[1]: Starting LSB: AutoSys Workload Automation Application Server...
Oct 11 06:26:25 hostname[104010]: /opt/CA/SharedComponents/Csam/SockAdapter/scripts/csamsetlibpath.sh: line 2: /opt/CA/SharedComponents/Csam/SockAdapter/scripts/csamgetarch: Permissio>
Oct 11 06:26:25 hostname[104010]: WAAE Application Server (LAB) /etc/rc.d/init.d/waae_server.LAB: line 125: /opt/CA/WorkloadAutomationAE/autosys/bin/as_server: Permission denied
Oct 11 06:26:25 hostname waae_server.ACE[104010]: /etc/rc.d/init.d/waae_server.LAB: line 125: exec: /opt/CA/WorkloadAutomationAE/autosys/bin/as_server: cannot execute: Permission denied
Oct 11 06:26:30 hostname waae_server.ACE[104010]: [FAILED]
Oct 11 06:26:30 hostname systemd[1]: waae_server.ACE.service: Control process exited, code=exited status=1
Oct 11 06:26:30 hostname systemd[1]: waae_server.ACE.service: Failed with result 'exit-code'.
Oct 11 06:26:30 hostname systemd[1]: Failed to start LSB: AutoSys Workload Automation Application Server.

The files listed in the permission errors all have world read and execute permissions set. Also, it is verified that these can be executed directly.

Environment

Release : 12.0/12.0.01

Component : CA Workload Automation AE (AutoSys)

O/S: Linux

Resolution

Disable SELinux as it is blocking systemd from executing the necessary files.