ipsmd crashes shortly after load, or iprintgw process never loads

  • 7000532
  • 30-May-2008
  • 26-Apr-2012

Environment

Novell iPrint for Linux

Situation

The title is worded in a vague manner because the symptoms are varied. The consistent symptom is that the ipsmd pid and uds files are created with the wrong ownership. For example, when iPrint is running well, ipsmd creates the following files in /var/opt/novell/run/iprint :

srw-rw---- iprint iprint ipsmd_gw.uds
srw-rw---- iprint www ipsmd_ipp.uds
-rw-rw-r-- iprint iprint ipsmd.pid
srw-rw---- iprint www ipsmd_wbem.uds

However, when the problem exists, the pid and uds files are created with the wrong ownerships at load time. For example:

srw-rw---- root root ipsmd_ipp.uds
-rw-rw-r-- iprint iprint ipsmd.pid
srw-rw---- root root ipsmd_wbem.uds

The end result is that the gateway process (iprintgw) never loads and/or the ipsmd process loads and shortly later auto unloads.

Resolution

Follow these steps:

- Make a backup copy of the server's /etc/group file
- Determine if the iprint and www system groups exist on that server
- YaST
- Security and Users
- Group Management
- Set Filter -> System Groups
- Look for the groups name iprint and www.
- Make note of which group(s) is missing.
- Search the /etc/group file for iprint or www. Remove the lines that contain those group names.
- Save the changes.
- Create the www and iprint groups using YaST
- YaST
- Security and Users
- Group Management
- Set Filter -> System Groups
- Add the group(s) that is missing
- If the www group is missing, add the group www with a Group Member of wwwrun
- If the iprint group is missing, add the group iprint with a Group Member of iprint
- Accept -> Finish -> Quit
- Reboot the server.