Reinstalling the platform daemon

To reinstall the platform daemon on a Linux N4Supervisor for a particular version of Niagara 4 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 Niagara 4 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 for executing this file are:

  • 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-4.n.nn/install# bash install_service.sh

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

 NOTE: After installation is complete, you must log off of the Linux operating system and then log on again. Only then will the shortcut to launch Workbench work.