Print Manager and Driver Store won't load: nss_ldap and IDS IPC mechanism errors

  • 7007924
  • 16-Feb-2011
  • 26-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2
Novell iPrint for Linux

Situation

Unable to load driver store or print manager and the following errors appear in the log files mentioned below:
 
/var/opt/novell/log/iprint/idsd.log shows error:
FATAL Unable to initialize the IDS IPC mechanism: error 9  Shutting down!
 
/var/opt/novell/log/iprint/ipsmd.log shows errors:
INFO iPrint Manager 'PrintManager.Printers.Novell' has started loading.
FATAL The iPrint manager was unable to initialize its client interface.
WARNING The iPrint Manager was unable to update its status in eDir, Error: -1.
 
/var/log/messages shows errors:
idsd[6154]: nss_ldap: could not search LDAP server - Server is unavailable
ipsmd[6169]: snlcs22 ipsmd[6169]: nss_ldap: could not search LDAP server - Server is unavailable
openwbem: snlcs22 openwbem: nss_ldap: could not search LDAP server - DSA is unavailable
 
When configuring "Open Enterprise Services" the following error appears:
Failed to write the LDAP Server settings

Resolution

Do the following to resolve the issue:
  1. Open a terminal as root.

  2. Backup /etc/sysconfig/novell/ldap_servers
    #mkdir /tmp/ldap_server-backup
    #cp -Rvp /etc/sysconfig/novell/ldap_servers /tmp/ldap_server-backup/

  3. cd to /etc/sysconfig/novell/ldap_servers
    #cd /etc/sysconfig/novell/ldap_servers

  4. Remove every entry in the /etc/sysconfig/novell/ldap_servers
    #rm -rf $(ls /etc/sysconfig/novell/ldap_servers/* | grep -i template --invert-match)

  5. From a terminal open up the "LDAP configuration for Open Enterprise Services" section and configure and add valid LDAP servers.
    #yast2 oes-ldap
    Click Next and then Finish.

  6. From a terminal open up the "Linux User Management" section and configure it.
    #yast2 novell-lum
    Click Next and then Finish.

  7. Confirm that the configuration is working, test to see if the following users resolve.
    #id iprint
    #id wwwrun
    Note: Both users should have their uid above 600.

  8. Restart the Driver Store
    #rcnovell-idsd restart

  9. Restart the print manager
    #rcnovell-ipsmd restart


Additional Information

An actual log message will look like this:
 
/var/log/messages
Feb 14 18:43:17 MyServer idsd[6154]: nss_ldap: could not search LDAP server - Server is unavailable
Feb 14 18:43:17 MyServer idsd[6154]: Unable to initialize the IDS IPC mechanism: error 9  Shutting down!
Feb 14 18:43:22 MyServer ipsmd[6169]: iPrint Manager 'Print Manager.Printers.Novell has started loading.
Feb 14 18:43:22 MyServer ipsmd[6169]: nss_ldap: could not search LDAP server - Server is unavailable
Feb 14 18:43:22 MyServer ipsmd[6169]: The iPrint manager was unable to initialize its client interface.
Feb 14 18:43:22 MyServer ipsmd[6169]: The iPrint Manager was unable to update its status in eDir, Error: -1.
Feb 14 18:43:22 MyServer ipsmd[6169]: The iPrint Manager has unloaded successfully.
 
Feb 14 18:45:53 snlcs22 openwbem: nss_ldap: could not search LDAP server - DSA is unavailable.