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:
Restart idsd (rcnovell-idsd start) and ipsmd (rcnovell-ipmsd start)
cd /opt/novell/iprint/bin
iprint_nss_relocate -a cn=admin,o=novell -p novell -n /media/nss/NSSVOL1 -l cluster
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 EngineeringAdditional 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>
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:
/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.
- Create a Print Manager, Driver Store, and Printer Agent to an OES Linux server.
- Create a pool and a volume.
- Run the iprint_nss_relocate script
- Go to nssmu and rename the volume/pool.