Errors with unisrvcntr stop|start|status commands
search cancel

Errors with unisrvcntr stop|start|status commands

book

Article ID: 191573

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Workload Automation AE

Issue/Introduction

Job for waae_agent-WA_AGENT.service failed because the control process exited with error code. See
              │ "systemctl status waae_agent-WA_AGENT.service" and "journalctl -xe" for details.
              │ [FAILED]
              │ Starting waae_server.ACE (via systemctl):  Warning: waae_server.ACE.service changed on disk. Run
              │ 'systemctl daemon-reload' to reload units.
              │ Job for waae_server.ACE.service failed because the control process exited with error code. See
              │ "systemctl status waae_server.ACE.service" and "journalctl -xe" for details.
              │ [FAILED]

Environment

Release : 11.3.6

Component : CA Workload Automation AE (AutoSys)

Resolution

This issue is related to Oracle client libraries not being in the expected location.

Have a look at the autosys profiles located in the $AUTOUSER directory of your AutoSys servers. You'll see section of code that points to $ORACLE_HOME/lib:

aslibs=$aslibs:$ORACLE_HOME/lib

It is likely that the $ORACLE_HOME\lib directory does not exist on your server. If it does not exist, then you can create a symbolic link to fake the directory being there.
Note: DO NOT simply create the directory and move the library files into the directory!!

Instead, create the symbolic link by entering ln -s $ORACLE_HOME $ORACLE_HOME/lib from the command line of you terminal session.

After doing so, I shutdown the services using the init.d scripts.

Check the status of the services by using ustat command to ensure services are down.

You'll need to execute the systemctl daemon-reload command before starting the services.

Now, start the services using the unisrvcntr start <service_name> command.