Print Manager fails to load using 'rcnovell-ipsmd start'

  • 7018496
  • 18-Jan-2017
  • 26-Jan-2017

Environment

Open Enterprise Server 2015 Support Pack 1

Situation

When using the rcnovell-ipsmd start command from server console, the Print Manager (ipsmd) loads for a few second and then unloads.
Using iManager to start ipsmd works fine. The Print Manager loads with no errors.

The Driver Store (idsd) follows the same pattern.

Resolution

Set the nds variable path correctly using this command as root (no sudo):
. /opt/novell/eDirectory/bin/ndspath
Notice the dot, space, and then /opt/novell/eDirectory/bin/ndspath

Cause

nds path for root was wrong after server upgrade.

Additional Information

The /var/opt/novell/log/iprint/ipsmd.log shows the following:

[DATE] INFO iPrint Manager 'iprint manager name' has started loading.
[DATE] INFO Starting print manager process with pid: 31742
[DATE] INFO Starting print manager monitor process with pid: 31741
[DATE] INFO BindWithTypelessContext:trying ds server name for 1 time
[DATE] INFO BindWithTypelessContext:trying ds server name for 2 time
[DATE] INFO BindWithTypelessContext:trying ds server name for 3 time
[DATE] WARNING The iPrint Manager failed to establish a context handle with DS server 'ds server name' (Error=FFFFE8A0).
[DATE] WARNING The iPrint Manager was not able to create an eDir typeless context handle with ds server name. Will try with other configured DSServer/DSServers
[DATE] WARNING DSServer2 entry in the configuration file does not contain a value.
[DATE] WARNING DSServer3 entry in the configuration file does not contain a value.
[DATE] INFO BindWithTypelessContext:trying 127.0.0.1 for 1 time
[DATE] WARNING The iPrint Manager failed to establish a context handle with DS server '127.0.0.1' (Error=FFFFE8A0).
[DATE] WARNING The iPrint Manager was not able to create an eDir typeless context handle with 127.0.0.1. Will try with other configured DSServer/DSServers
[DATE] FATAL The iPrint Manager was not able to create an eDir typeless context handle using all configured DSServer/DSServers.
[DATE] WARNING The iPrint Manager was unable to update its status in eDir, Error: -1.
[DATE] INFO The iPrint Manager has unloaded successfully.

Also, the following ldapconfig command -
Syntax:
ldapconfig get -p localhost -a admin.[ORGANIZATION]

Example:
ldapconfig get -p localhost -a admin.mycompany
- returns the following error:
Loader Failed:for /opt/novell/eDirectory/lib/libspmclnt.so,error /opt/novell/eDirectory/lib/libspmclnt.so: wrong ELF class: ELFCLASS32,errno 2
NLDAP server configuration utility for Novell eDirectory 8.8 SP7 v20705.00