iPrint IPP page fails to display after renaming the volume hosting print services.

  • 7004512
  • 24-Sep-2009
  • 26-Apr-2012

Environment

Novell iPrint for Linux

Situation

After renaming the NSS volume which hosts the print manager the iPrint IPP page (http://<ip-or-dns>/ipp) page will fail to display.  Renaming the NSS volume, the iPrint configuration will be lost.

Resolution

Run the iprint-nss-relocate script to re-configure iPrint to the new volume name.  For example:

cd /opt/novell/iprint/bin
iprint_nss_relocate -a cn=admin,o=novell -p novell -n /media/nss/NSSVOL1 -l cluster

Restart idsd (rcnovell-idsd start) and ipsmd (rcnovell-ipmsd start)

Status

Reported to Engineering

Additional Information

Changing the volume name breaks three symbolic links and an entry in the iprint_g.conf.  The iprint_nss_relocate script creates the following links: 

/var/opt/novell/iprint -> /media/nss/NSSVOL/var/opt/novell/iprint/
/etc/opt/novell/iprint/conf -> /media/nss/NSSVOL/etc/opt/novell/iprint/conf/
/var/opt/novell/log/iprint -> /media/nss/NSSVOL/var/opt/novell/log/iprint/

The same script also modifies this line within the iprint_g.conf:

Alias /ippdocs/ "/media/nss/NSSVOL/var/opt/novell/iprint/htdocs/
<Directory /media/nss/NSSVOL/var/opt/novell/iprint/htdocs>

Note:  for all of the above examples, NSSVOL should be replaced by the name of the volume hosting iPrint. 

If the volume name is changed, those links and the Alias directive in the iprint_g.conf will be invalid.  Re-running the iprint_nss_relocate script will update the two links and Alias line in the conf file.

The following steps are provided as an example of how to create the problem:

Notice:  Do not follow these steps, as they will result in the problem.

  1. Create a Print Manager, Driver Store, and Printer Agent to an OES Linux server.
  2. Create a pool and a volume.
  3. Run the iprint_nss_relocate script
  4. Go to nssmu and rename the volume/pool.