ipsmd and idsd services will not load after a server reboot when running on a cluster

  • 7023705
  • 08-Feb-2019
  • 11-Jul-2019

Environment

Micro Focus iPrint 2018
Micro Focus iPrint for OES 2018 SP1

Situation

After server reboot, ipsmd and idsd will fail to load if running on a cluster. The ipsmd status within a terminal view will show:

oes2018-simple-nss:~ # systemctl status novell-ipsmd.service
● novell-ipsmd.service - Print Manager Daemon
   Loaded: loaded (/usr/lib/systemd/system/novell-ipsmd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2018-01-03 10:32:26 CET; 19min ago
  Process: 797 ExecStart=/opt/novell/iprint/init.d/novell-ipsmd start (code=exited, status=6)
Jan 03 10:32:26 oes2018-simple-nss systemd[1]: Starting Print Manager Daemon...
Jan 03 10:32:26 oes2018-simple-nss novell-ipsmd[797]: Setting NDS environment.Starting Novell iPrint Manager: ... service not co...kipped
Jan 03 10:32:26 oes2018-simple-nss systemd[1]: novell-ipsmd.service: Control process exited, code=exited status=6
Jan 03 10:32:26 oes2018-simple-nss systemd[1]: Failed to start Print Manager Daemon.
Jan 03 10:32:26 oes2018-simple-nss systemd[1]: novell-ipsmd.service: Unit entered failed state.
Jan 03 10:32:26 oes2018-simple-nss systemd[1]: novell-ipsmd.service: Failed with result 'exit-code'.

Resolution

Workaround:

1. Manually restart idsd and ipsmd services after reboot:
rcnovell-idsd restart;rcnovell-ipsmd restart

2. Apply OES 2018 SP 1 or OES 2018 May patch
After applying the update, the /opt/novell/iprint/bin/iprint_nss_relocate script needs to be run. Use the same switches on that script which were used when originally preparing the cluster for iPrint.

Note: the fix is available in the novell-iprint-server-6.19.0-52.10.x86_64.rpm, which ships with OES 2018 SP1 or novell-iprint-server-6.18.0-65.1.x86_64.rpm shipped with oes 2018 May patch

Cause

The idsd and ipsmd services are loading before eDir can mount the NSS volume.

Additional Information

The boot log files shows the timing issue:

linux-veqo:~ # /usr/bin/journalctl --no-pager --boot 0 | head -n 10000 |grep ipsmd
Feb 07 13:19:39 linux-veqo novell-ipsmd[781]: Setting NDS environment.Starting Novell iPrint Manager: ... service not configured..skipped
Feb 07 13:19:39 linux-veqo systemd[1]: novell-ipsmd.service: Control process exited, code=exited status=6
Feb 07 13:19:39 linux-veqo systemd[1]: novell-ipsmd.service: Unit entered failed state.
Feb 07 13:19:39 linux-veqo systemd[1]: novell-ipsmd.service: Failed with result 'exit-code'.
Feb 07 13:30:29 linux-veqo novell-ipsmd[3433]: Setting NDS environment.Starting Novell iPrint Manager:..done
Feb 07 13:30:29 linux-veqo systemd[1]: novell-ipsmd.service: Failed to read PID from file /var/opt/novell/run/iprint/ipsmd.pid: Invalid a
rgument
linux-veqo:~ # /usr/bin/journalctl --no-pager --boot 0 | head -n 10000 |grep ndsd
Feb 07 13:19:43 linux-veqo ndsd[1274]: [Info]ChangeVolumeStatus: volume SYS mounted, status = 0x3
Feb 07 13:19:46 linux-veqo post_ndsd_start_factory[1294]: NetIQ eDirectory LDAP Server is listening on the TCP port.
Feb 07 13:19:46 linux-veqo post_ndsd_start_factory[1294]: NetIQ eDirectory LDAP Server is listening on the TLS port.
Feb 07 13:19:58 linux-veqo ndsd[1274]: [Info]InsertVolume: Volume _ADMIN is mounted and added to volume table
Feb 07 13:19:58 linux-veqo ndsd[1274]: [Info]InsertVolume: Volume IPRINT is mounted and added to volume table