search cancel

OneClick not restarting when updating the OneClick memory

book

Article ID: 257406

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

After updating the memory in the OneClick Web Server Memory web page, when you click on the "Save and Reconfigure" button, the following message is displayed:

Reconfiguring will be complete after the OneClick server has been restarted. SPC-OCA-10100: Configuring and restarting OneClick server...

However, tomcat is not restarted as expected.

Environment

Release : Any release running Linux

Component: OneClick

Cause

OneClick uses the "at" command to run the restart.sh script to restart tomcat when the "Save and Reconfigure" button. The following is the command run:

at -m -f /app/spectrum/tomcat/webapps/spectrum/restart.sh now

As a test, run the above command from the command line to see if you get the following error:

Can't open /var/run/atd.pid to signal atd. No atd running?

Resolution

If the above error is seen when running the at command from the command line, run the following two commands as the root user:

systemctl start atd

systemctl enable atd