iPrint migration fails with error: "Non-zero operation return code: 1"

  • 7006827
  • 09-Sep-2010
  • 26-Apr-2012

Environment

Novell iPrint for Linux Open Enterprise Server 2 Support Pack 2
Novell iPrint Migration Client

Situation

iPrint migration fails and the following error is seen in the iprint.log file:
 
Warning(68): Error uploading driver '<Driver Name>' for driver_windows-nt-5.1_x86-32_en to IDS on server <Server IP>: Repository: driver_windows-nt-5.1_x86-32_en, Driver Target: <Driver Name>
IPRINT:/opt/novell/bin/iprintmig: Error: General IPP Error
IPRINT:/opt/novell/bin/iprintmig:Error: Non-zero operation return code: 1

Resolution

Cause:
Proxy server is enabled. 
 
YaST -> Network Services -> Proxy -> is the "Enable Proxy" option checked?    If it is enabled, then Apache will intercept the request to copy drivers to the Driver Store's RESDIR directory.

Resolution:
Either a) turn off the proxy, or b) configure a proxy exception.
 
a). Turn off the proxy:
     YaST -> Network Services -> Proxy -> Uncheck the "Enable Proxy" option
     unset http_proxy
     rcapache2 restart

b). Configure a proxy exception
     If you desire to continue using the proxy settings, follow these steps to add the Driver Store as an exception to the proxy configuration.

     i.  Add a unique name to the /etc/hosts file for the server hosting the Driver Store and any server that may host iManager to manage the Driver Store object.

      Example Syntax:
      <ServerIPAddress>  <SomeUniqueDriverStoreName>

      Example usage:
      192.168.101.58   myidsname

      ii.  Bind the Driver Store to that name 
     Within the /etc/opt/novell/iprint/conf/idsd.conf, change the IDSHostAddress value to the unique name defined in step a.
 
      Example Usage:
      IDSHostAddress myidsname
  
      iii.  Restart the Driver Store 
      rcnovell-idsd restart


      iv.  Add that unique name to the Proxy exception list. 
      YaST -> Network Services -> Proxy -> No Proxy Domains -> add the unique name to this list. 
      The list will look something like this:


      localhost, 127.0.0.1, myidsname
      Replace myidsname with the unique decided in step a.
      Choose Finish to save these changes.

      v.  Restart the server for the change to take effect.