iPrint Migration from NetWare Cluster to Linux server fails with "PSMInfo.xml files does not exist"

  • 7002836
  • 26-Mar-2009
  • 26-Apr-2012


Novell iPrint for Linux


iPrint migration from a NetWare cluster to a Linux server fails with the following message in the /var/opt/novell/log/migration/iprintmig.log.

FATAL - IPRINT:/opt/novell/bin/iprintmig:Fatal(2): PSMInfo.xml file does not exists on the Target Server
ERROR - IPRINT:iprintmig:iprintmig command failed!


The iPrint migration tool assumes the iprint.ini is located on the cluster resource.  However, the iprint.ini resides on the node (sys:\apache2\htdocs\ippdocs\iprint.ini)

Manually copy the iprint.ini to the Linux server and instruct the iPrint migration tool to not attempt to copy the iprint.ini.

1.  Copy sys:\apache2\htdocs\ippdocs\iprint.ini to /var/opt/novell/iprint/htdocs/
2.  Edit /opt/novell/bin/iprintmig

Approximately at line 2330 find and comment out these lines by adding a # at the beginning of each line.

$retval=NCPShell(undef, '--get', "--src=@{[_IPRINTINI_PATH_NW_65]}/@{[_IPRINT_INI]}", "--dst=@{[_IPRINTINI_PATH_L]}/@{[_IPRINT_INI.'_'.$opts{'src'}]}");
if ( $retval == 35228 )
      $retval=NCPShell(undef, '--get', "--src=@{[_IPRINTINI_PATH_NW_51]}/@{[_IPRINT_INI]}", "--dst=@{[_IPRINTINI_PATH_L]}/@{[_IPRINT_INI.'_'.$opts{'src'}]}");
      if ( $retval == 35228 )
             MigError->new(_ERROR_GETTING_INI_DATA, "iprint.ini does not existing at SYS:/apache2/htdocs/ippdocs or sys:/login/ippdocs/ on the Source Server", MigError::ERROR)->handle();

This section is duplicated 10 lines later.  Comment out each line in the duplicated section as well.

3.  Save the changes.
4.  Run the migration again.