|We moved this page to our Documentation Portal. You can find the latest updates here.|
All transactions are set to pending and nothing will run. How can I check to see if the onapp daemon is running and restart it correctly?
Any OnApp version
First, SSH to the CP server.
You should see the backups and transaction going when running the following command below. If you don't, then the OnApp daemon is not running.
ps aux | grep onapp
If you see that the OnApp daemon isn't running, you will need to stop OnApp first with the command below:
service onapp stop
Now, CD to the directory below:
Look for the onapp_daemon.rb.pid. If you see it and the PID # is zero, then the daemon is not running, so we will kill it and then restart it with the commands below:
rm -rf onapp_daemon.rb.pid
Now, start onapp:
service onapp start
You should see something like the following:
Starting SSH Key Server...
Agent pid 27822
Identity added: /onapp/interface/config/keys/private (/onapp/interface/config/keys/private)
Starting All Runners (Schedules, Transactions, Backups and Hypervisor, Cluster Monitor) ...
Starting Hypervisor Data Receiver...
Starting VNC Proxy..
Now ls -l the /onapp/interface/tmp/pids/ directory and you should see all of the following below now. That means that the deamon is back up and running correctly.
-rw-r--r-- 1 onapp onapp 0 Feb 6 09:16 0.852188522247947.14689
-rw-r--r-- 1 onapp onapp 6 Feb 8 11:35 onapp_daemon.rb.pid
-rw-r--r-- 1 onapp onapp 5 Feb 8 11:35 receiver.pid
-rw-r--r-- 1 root root 6 Feb 8 11:35 ssh-agent.pid
-rw-r--r-- 1 root root 6 Feb 8 11:35 vnc_proxy.pid