iprntman printer rename fails to rename printer on OES 2015

  • 7017271
  • 18-Feb-2016
  • 18-Feb-2016

Environment

Open Enterprise Server 2015

Situation

When renaming a Printer Agent using iprintman printer PAname -n NewPAname on an OES 2015 server, the following error is returned:

SEVERE: IPPException caught during renaming the Printer, throwing

iPrintException
 Request (SERVER_ERROR) - bad status code (0x500)
        at com.novell.service.iPrint.ipp.IPPAttributeSet.readAttributes(Unknown Source)
        at com.novell.service.iPrint.ipp.IPPService.renamePrinter(Unknown Source)
        at com.novell.service.iPrint.iprntman.Printer.rename(Unknown Source)
        at com.novell.service.iPrint.cli.CLIprinterHelper.processCommand(Unknown Source)
        at com.novell.service.iPrint.cli.IPrintManCLI.main(Unknown Source)
<DATE and TIME>  com.novell.service.iPrint.iprntman.Printer rename
WARNING: IPPException found during the printer rename operation. Reverting the eDirectory printer object rename.
<DATE and TIME> com.novell.service.iPrint.iprntman.Printer rename


After the error, the Printer Agent on within the Print Manager database (psmdb.dat) is renamed to the new name, but the eDir Printer Agent object maintains the original name.  This creates inconsistency in the Printer Agent name.

Resolution

This issue has been reported to engineering.

Cause

The cause is unknown.  However, this issue is seen when the DDServer1 entry in the /etc/opt/novell/iprint/conf/ipsmd.conf is pointing to a remote server instead of the local server.

Status

Reported to Engineering

Additional Information

 When this happens as a workaround  rename the printer agent in eDirectory to the new name and change the attributes "iPrintPrinterIPPURI" and "iPrintPrinterPAName" manually:
Then stop and start the printer agent.