All transactions are set to pending and nothing runs. How can I check whether the OnApp daemon is running and restart it correctly?


Any OnApp version


To check and restart the OnApp daemon:

  1. SSH to the Control Panel server. If there are no the backups and transactions when running the command below, it means that the OnApp daemon is not running:

    ps aux | grep onapp
  2. If the OnApp daemon is not running, stop onapp:

    service onapp stop
  3. CD to the directory below:

    cd /onapp/interface/tmp/pids/
  4. Look for If you can see it and the PID # is zero, the daemon is not running. Kill it and restart it:

    rm -rf
  5. Start onapp:

    service onapp start

    You should see similar output as in the example below:

    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..
  6. Ls -l the /onapp/interface/tmp/pids/ directory. If the output is the same as below, it means that the deamon is backed up and running correctly:

    ls -l
    total 16
    -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
    -rw-r--r-- 1 onapp onapp 5 Feb  8 11:35
    -rw-r--r-- 1 root  root  6 Feb  8 11:35
    -rw-r--r-- 1 root  root  6 Feb  8 11:35