Issues updating NX Server on Ubuntu 22.04
AnsweredWe've got a few servers running 22.04 in error and have experienced an issue when NX Server has been updated to the latest version 5.0.0.36634 P.
After install completes the following message is displayed at the bottom of the terminal session.
"WARNING: Can't obtain Server UID despite 'systemctl start ...' finished with zero exit status and Server PID=. See Server logs: journalctl -u networkoptix-mediaserver
Started service with PID=, UID=."
-
Dear Cooper and Graham Walker,
We wanted to inform you that Ubuntu 22.04 LTS is a non-supported operating system and may cause issues. To ensure that we can provide you with the best support possible, we recommend using a supported OS as listed in THIS support article.
However, if you do choose to use 22.04 LTS or any other unsupported version of Ubuntu, I might have found a workaround for you which worked for at least one system. You can try using the following commands in the terminal to create symbolic links, which may resolve any issues:
ln -s liblber-2.5.so.0.1.9 liblber-2.4.so.2
ln -s libldap-2.5.so.0 libldap_r-2.4.so.2Once these commands have been executed, you can continue with the installation of the Nx Witness mediaserver application.
Thank you for your understanding, and please let us know if you have any further questions.
-
Thank you, Graham Walker, for your feedback.
Using 20.04 is definitely the best route to go. -
The example was lacking paths...
Try this - worked great for me on 22.04.2 LTS with Nx Witness 5.0.0.36634 P1
$ sudo ln -s /usr/lib/x86_64-linux-gnu/liblber-2.5.so.0 /opt/networkoptix/mediaserver/lib/liblber-2.4.so.2
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libldap-2.5.so.0 /opt/networkoptix/mediaserver/lib/libldap_r-2.4.so.2In addition, there's something wrong with the upgrade script [running upgrade from the admin tools within desktop client]. I saw this in "update.log":
WARNING: Multiple Server processes found despite 'systemctl start ...' finished with zero exit status. See Server logs: journalctl -u networkoptix-mediaserver
error: unsupported SysV option
Usage:
ps [options]
Try 'ps --help <simple|list|output|threads|misc|all>'
or 'ps --help <s|l|o|t|m|a>'
for additional help text.
For more details see ps(1).
WARNING: Can't obtain Server UID despite 'systemctl start ...' finished with zero exit status and Server PID=. See Server logs: journalctl -u networkoptix-mediaserver
Started service with PID=, UID=. -
Dear Cooper, Graham Walker, Rick Sayre, and Glenn van Es,
Please note we create an experimental build which includes a fix for Ubuntu 22.04 LTS.
You can use the following in-client update credentials to use this build:
Build Number: 36907
Password: 53vcmu -
Hi Norman,
I have a production server (about 60 cameras, high school) on 22.04 - my bad, as I hadn't realised it wasn't supported. It stopped working after an update, so I moved to the experimental build 36907 as you suggested.
Now I want to go back on to normal updates (to move to 5.1 now 22.04 is officially supported, and keep updated in future) but I see "The latest version is already installed":
Can you please advise how to move this system back on to standard updates?
Kind regards,
Ben
Please sign in to leave a comment.
Comments
12 comments