novell-nss not loading at bootup or manually

  • 7005577
  • 01-Apr-2010
  • 08-Nov-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux
Novell Storage Services (NSS)

Situation

When booting a Novell Open Enterprise Server 2 configured with NSS, novell-nss does not completely start, and the NSS Pools and Volumes are not activated, nor is it possible to launch the nss tools like nssmu.
 
During the bootup this error is seen in the boot screen and boot log:
FATAL: Error inserting nsscomn (/lib/modules/2.6.16.60-0.42.9-smp/weak-updates/nsscomn.ko): Operation not permitted
ERROR: Failed load of nsscomn
.......... ABORTING /etc/init.d/novell-nss ..........
mknod: missing operand after `0'
Try `mknod --help' for more information.
 
For each attempt to launch novell-nss /var/log/messages is updated with:
Mar 26 10:38:33 fs-oes2 kernel: nsscomn: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.42.9-smp
Mar 26 10:38:33 fs-oes2 kernel: COMN::/usr/src/packages/BUILD/nss/modules-build/comn/comnLKM.c[201]
Mar 26 10:38:33 fs-oes2 kernel: NSSLOG ==> [Error] pcmdline.c[533]
Mar 26 10:38:33 fs-oes2 kernel:      Mar 26, 2010  10:38:33 am  NSS<NSSLIB>-4.11b-210:
Mar 26 10:38:33 fs-oes2 kernel:      Option "nss" not available at this time, or
Mar 26 10:38:33 fs-oes2 kernel: may require other NSS modules to be loaded.
Mar 26 10:38:33 fs-oes2 kernel: NSSLOG ==> [Error] pcmdline.c[533]
Mar 26 10:38:33 fs-oes2 kernel:      Mar 26, 2010  10:38:33 am  NSS<NSSLIB>-4.11b-210:
Mar 26 10:38:33 fs-oes2 kernel:      Option "nss" not available at this time, or
Mar 26 10:38:33 fs-oes2 kernel: may require other NSS modules to be loaded.
Mar 26 10:38:33 fs-oes2 kernel: COMN::/usr/src/packages/BUILD/nss/modules-build/comn/comnLKM.c[204]

The NSS configuration file, /etc/opt/novell/nss/nssstart.cfg, was edited manually, two lines were added:
        nss /ListXattrNWMetadata
        nss /CtimeIsMetadataModTime

Resolution

The preceding nss, in front of the forward slash (/) caused the error, preventing the nsscomn.ko to load.
Removing the nss in front of the forward slash addressed the issue.
 
The correct entries to set the entries should look like:
        /ListXattrNWMetadata
        /CtimeIsMetadataModTime

Additional Information

On NetWare, when setting an nss option from the server prompt the command needs to be executed with a leading nss.
For Instance: nss /err=PoolActivate=DATA
 
However, when editing the /etc/opt/novell/nss/nssstart.cfg for linux or C:\NWSERVER\nssstart.cfg for NetWare all options that are set trough that file should be enterred with only the parameter from the forward slash on, no preceding nss is needed.