search cancel

CA RA Agent not started automatically after reboot


Article ID: 7759


Updated On:


CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)


After installing the CA Release Automation Agent on my RHEL 7 server the agent is not restarting when the server is rebooted.


Release Automation 6.2Red Hat Enterprise Linux Server release 7.x


Check to see if these files are present:

1. /etc/rc.d/init.d/nolioagent 

2. /etc/systemd/system/nolioagent.service 


If not then this confirms that the agent is not installed as a service. The agent needs to be installed as a service for it to restart after a reboot.


Here is a link to the documentation that explains how to normally install the agent as a service:


You only need to pay attention to the section "Install Unix / Linux Agent to Run as Non-Root User", not "Run Processes Under Different Users – Unix/Linux".


However, the instructions in that document will only get you part way because you are using version 6.2 of the agent and RHEL 7.2 and above. RHEL version 7.x and above introduced a change to how it starts services. It now uses the systemd service and the RA 6.2 agent does not properly setup services for systemd. The agent version 6.3 and above does properly setup systemd services. Based on this you will need to do the following to install the agent as a service:


1. Modify the /opt/CDM/conf/ Uncomment the RUN_AS_USER field and add the nonroot user, that you want the agent to start as after a reboot, as its value.

2. As root, or with sudo permissions, from /opt/CMD run: ./ remove

3. As root, or with sudo permissions, from /opt/CMD run: ./ install

4. Make sure that the /etc/rc.d/init.d/nolioagent file is now available.

5. Then create the file /etc/systemd/service/nolioagent.service and add the following to it:


Description=Nolio Deployer Agent Service




ExecStart=/etc/init.d/nolioagent start

ExecStop=/etc/init.d/nolioagent stop






6. As root, or with sudo permissions, run the command: systemctl daemon-reload

The command in step 6 should create a symbolic link in the directory /etc/systemd/system/ pointing to /etc/systemd/system/nolioagent.service



7. Steps complete. You'll need to wait for a reboot to confirm all works as expected.

Additional Information

Once you upgrade to 6.3 and above you can upgrade your agents through ASAP. The upgrade will not try to install the service. But it will also not remove the service that you manually installed. If you had not installed the service using the steps above and just upgraded to 6.3 or above then upgrade the agents. After upgrading the agents you can use the steps outlined in the product documentation to completely install the service without the extra steps outlined above.