Installing the platform daemon

To reinstall the platform daemon on a Linux AxSupervisor for a particular version of NiagaraAX you will have to execute the script 'install_service', found in the Niagara "install" directory. It is not necessary to execute this script after a successful NiagaraAX installation, as that process will automatically install the platform daemon.


Prerequisites:

You need to be acting as root to accomplish this task.

The main reasons you would execute this file are either:

  • You have accidentally broken your Niagara environment and you want to repair it.
  • You have two versions of Niagara installed on your platform, and you want to change which platform daemon is started/controlled by '/usr/bin/niagaradctl’.


Perform the following steps:
  1. To change to the target release’s install directory, type the following:
    root@<host>:/usr/bin# cd <targetNiagaraReleaseDirectory>/install
  2. To issue the “install_service.sh” command, type the following:
    root@<host>:/opt/Niagara/Niagara-n.n.nn/install# bash install_service.sh

The platform daemon (service) is installed, but not started. See “Starting the platform daemon”.