unisrvcntr restart ALL (or stop/start) only restarts the agent as Unix user autosys, but restarts every thing fine as root
search cancel

unisrvcntr restart ALL (or stop/start) only restarts the agent as Unix user autosys, but restarts every thing fine as root

book

Article ID: 420699

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

unisrvcntr restart ALL  (or stop/start) works only for root user.  But for Unix user autosys, it only restarts the agent as Unix user autosys.

Environment

AutoSys Workload Automation on Unix/Linux

Cause

  • Unix account autosys did not have RX permissions on /etc/init.d/CA-WAAE script
  • In addition, the contents of the file, /etc/init.d/CA-WAAE  had references to:  waae_server.DEV  waae_sched.DEV, however the instance name of AutoSys on this server is UAT.  These references in  /etc/init.d/CA-WAAE   should have been waae_server.UAT   waae_sched.UAT.
  • It is possible this file was copied from a different server.  

Resolution

  • Fix the permissions on  /etc/init.d/CA-WAAE to allow unix account autosys to be able to read/execute
  • Fix the contents in   /etc/init.d/CA-WAAE to have correct autosys instance name in it