Failed to start CCNET-Server when libnssutil3 is moved on Centos 8

Hi

To use LDAPS i had to move the libnssutil3.so in Centos 7 (see LDAPS fails to contact server (LDAP works)). However, after moving the Seafile installation to a Centos 8 OS, Seafile/ccnet-server fails to start when libnssutil3.so is moved:

failed to run “ccnet-server -t”
ccnet-server: error while loading shared libraries: libnssutil3.so: cannot open shared object file: No such file

When libnssutil3.so is not moved, Seafile starts sucessfully but LDAPS does not work (same issue as in referenced forum thread). The installation is identical (ver. 7.1.3) on both Centos 7 & 8.

The systemd startup config is also identical on both OS versions:

[Unit]
Description=SeaFile server
After=syslog.target
After=network.target
After=mariadb.service

[Service]
Type=forking
User=seafile
ExecStart=/home/seafile/seafile-server-latest/seafile.sh start
ExecReload=/home/seafile/seafile-server-latest/seafile.sh restart
ExecStop=/home/seafile/seafile-server-latest/seafile.sh stop
TimeoutSec=300

One thing to note: The Installation was migrated with this guide: https://download.seafile.com/published/seafile-manual/maintain/backup_recovery.md

With the difference, that the full server installation was copied instead of just the data.

Solved:

NSS was missing:

yum install nss

Maybe it would be good to add that to the documentation?