Browser crashes when installing an iPrint printer

  • 7007990
  • 24-Feb-2011
  • 26-Apr-2012

Environment

Novell iPrint for Linux

Situation

Browser crashes installing an iPrint printer.
iPrint printer won't install

Resolution

There is an errant character in the /var/opt/novell/iprint/htdocs/iprint.ini file.  Either extract the stock iprint.ini file from the novell-iprint-client rpm or copy it from a working server (and then modify it as necessary to 'match' the new server)

To extract from the rpm, follow these steps:

1. Make a backup of your previous iprint.ini file. 

 mv /var/opt/novell/iprint/htdocs/iprint.ini /home/<user>

2. Extract the original iprint.ini from the rpm: 

rpm2cpio novell-iprint-client-<version>.rpm |cpio -ivd

3. This will extract the contents of the rpm in your current working directory.  You only need one file here, so simply copy out the file you need.

cp /path/to/where/rpm/was/extracted/var/opt/novell/iprint/htdocs/iprint.ini /var/opt/novell/iprint/htdocs/iprint.ini

4. Modify the iprint.ini file to match whatever settings were previously set in the iprint.ini file you backed up previously.

5. Restart apache

rcapache2 restart