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=."
-
I am having the same issue.
I have done full uninstall and reinstall.0 -
Seems there is an issue with this version. There is another thread earlier with the same issue.
Upgrading to 5.1 works fine and no issue.Think I have lost my config and setup now so I will wait for the 5.0.0.X update instead of moving into the Beta version.
0 -
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.
0 -
After running the commands service still fails to start.
Will reinstall with 20.04 until support for newer versions is available.0 -
Thank you, Graham Walker, for your feedback.
Using 20.04 is definitely the best route to go.0 -
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=.4 -
Thanks, this worked for me! I didn't know Ubuntu 22 wasn't supported yet.
0 -
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: 53vcmu0 -
Hey Norman
Cheers for this but have since moved to 20.04 and having no issues at all.0 -
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
0 -
Hey Ben
You will need to manually update to 5.1 as it is a Beta update.
Or wait for the stable release.Hope that helps
0 -
Thanks!
Sorry, I'd got the impression 5.1 was released. I'll update when it is out of beta.
Kind regards,
Ben
0
Please sign in to leave a comment.
Comments
12 comments