Print Manager on non-NSS Cluster fails to load - Error 506D0201

  • 7004433
  • 11-Sep-2009
  • 26-Apr-2012

Environment

Novell iPrint for Linux

Situation

iPrint configured on a traditional Linux filesystem (ext3, reiserfs, etc) cluster fails to load.  The /var/opt/novell/iprint/[PrintManagerName].[OU].[OU].[O].psm directory is not created and the psmdb.dat within that directory is not created.

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

INFO iPrint Manager 'PrintManagerName.OU.OU.O' has started loading.
FATAL Error (506D0201) occurred while creating the iPrint Manager database.
INFO The iPrint Manager has unloaded successfully.
WARNING The iPrint Manager has just experienced a segfault or fatal error. It will be restarted by its monitor process.
           << FATAL, INFO, WARNING messages repeated 4 more times >>>
INFO The iPrint Manager has unloaded successfully.
FATAL The iPrint Manager has segfaulted or had a fatal error and has been auto-restarted 5 times within the last hour. There appears to be a repetitive problem occurring. The iPrint Manager is exiting.

Resolution

Workaround:
 
1.  Find the following 3 lines within the /opt/novell/iprint/bin/iprint_relocate script:

/bin/chown -R root:iprint "${NEW_ROOT}/var/opt/novell/log/iprint"
if [ $? != 0 ] ; then
   echo "Setting Ownerships Failed: chown -R root:iprint /var/opt/novell/log/iprint" | tee -a "${ERR_LOG}"

2.  Paste the following 4 lines prior to the section found in step 1:

/bin/chmod g+w "${NEW_ROOT}/var/opt/novell/iprint"
if [ $? != 0 ] ; then
   echo "Setting Permissions Failed: chmod g+w /var/opt/novell/iprint" | tee -a "${ERR_LOG}"
   exit -1

3.  Paste the following 5 lines after the section found in step 1:

   exit -1
fi
/bin/chmod g+ws "${NEW_ROOT}/var/opt/novell/log/iprint"
if [ $? != 0 ] ; then
   echo "Setting Permissions Failed: chmod g+ws /var/opt/novell/log/iprint" | tee -a "${ERR_LOG}"

4.  Save the changes.
5.  Offline an Online the iPrint Cluster Resource.

Status

Reported to Engineering

Additional Information

The /opt/novell/iprint/bin/iprint_relocate script is run each time the iPrint cluster resource is loaded.  The iprint_relocate script omits commands to give proper rights to allow the /var/opt/novell/iprint/[PrintManagerName].[OU].[OU].[O].psm directory and psmdb.dat file to be created.