Nbsp can be upgraded easily. The first thing is to install the nbspadm package for your OS. That package contains the program nbspupdate which is used as follows.
without arguments, will check the version of the installed Nbsp package against the latest one available, and if the latter is newer than the former it will download it. The Nbsp package can then be upgraded manually as usual. Alternatively, executing
will do the upgrade automatically after downloading the package as above. Passing the -F option as well, i.e.,
nbspupdate -u -F
nbspupdate will do as above, even if the installed version is the same as the latest one, or if Nbsp had not been installed before. nbspupdate can also upgrade npemwin and nbspadm itself, by passing any of those names as an argument; i.e.,
nbspupdate -u npemwin
will download and upgrade Npemwin if the latest version is different than the installed one.
Starting with version 2.0.r2, nbspd and npemwind run as the user noaaport, and therefore the directories where the daemons write must be owned by that user:
chown -R noaaport:noaaport /var/noaaport chown -R noaaport:noaaport /var/log/noaaport chown -R noaaport:noaaport /var/log/nbsp chown -R noaaport:noaaport /var/run/nbsp
During a fresh install, the package installer will create the directories with the appropriate ownership, but not during an upgrade. If you are upgrading from an older version, those commands must be executed manually.
The corresponding commands for Npemwin are
chown -R noaaport:noaaport /var/npemwin chown -R noaaport:noaaport /var/log/npemwin chown -R noaaport:noaaport /var/run/npemwin