Tool
Update: The iPrintInfo script has now been converted to a support config plugin. The benefits are endless. Now with support advisor your system can be automatically analyzed for iPrint specific issues.
iPrint Info has now been updated and is compatible with OES 11!
The iPrintInfo plugin gathers iPrint-related information to help in troubleshooting iPrint issues. The following information is obtained in the script executions process.
- Section #1 Rights and Permissions on Each File Installed by iPrint
- Section #2 Rights on Specific Directories.
/var/opt/novell/iprint /etc/opt/novell/iprint/conf/ /var/opt/novell/run/iprint /opt/novell/iprint/bin /etc/opt/novell/iprint/httpd/conf/ /var/opt/novell/iprint/mod_ipp/ /var/opt/novell/iprint/htdocs/ /var/opt/novell/iprint/[psm_name].psm /var/opt/novell/log/iprint/ /var/opt/novell/iprint/resdir/ rpm -V #If NSS Clustering is installed Show eDir rights on /var/opt/novell/log/iprint Show eDir rights on /var/opt/novell/iprint - Section #3 Content of Specific Files.
/etc/opt/novell/iprint/conf/idsd.conf /etc/opt/novell/iprint/conf/ipsmd.conf /etc/opt/novell/iprint/httpd/conf/iprint_g.conf /etc/opt/novell/iprint/httpd/conf/iprint_ssl.conf /etc/nam.conf /etc/novell-release /etc/SuSE-release /etc/hosts /etc/passwd (*The file is now sorted) /etc/group (*The file is now sorted) /etc/openwbem/openwbem.conf /etc/apache2/httpd.conf /etc/sysconfig/apache2 /etc/sysconfig/proxy /var/opt/novell/iprint/resdir/ /etc/permissions.d/iprint /opt/novell/iprint/bin/psmimport.xml /etc/permissions.d/iprint #If NSS Clustering is installed /var/opt/novell/ncs/[iPrint Resource.load] /var/opt/novell/ncs/[iPrint Resource.unload]
- Section #4 eDirectory and Certificate Related Commands.
ldapconfig get ndsstat -r ndsrepair -T ndsrepair -E ldapconfig get /etc/opt/novell/certs/ /etc/ssl/servercerts/ certtool -i --inder --infile /etc/opt/novell/certs/SSCert.der certtool -i --infile /etc/opt/novell/certs/SSCert.pem certtool -i --infile /etc/ssl/servercerts/servercert.pem openssl cert verification */opt/novell/eDirectory/bin/ldapsearch #If NSS Clustering is installed *rights -f /media/nss/<vol>/etc/opt/novell/iprint show *rights -f /media/nss/<vol>/var/opt/novell/iprint show *rights -f /media/nss/<vol>/var/opt/novell/log/iprint show
- Section #5 Miscellaneous Commands.
ps -eaf | grep iprint uname -a ifconfig | grep "inet addr" id admin id wwwrun id iprint netstat -atnp | grep 631|389 namuserlist -x namgrouplist -x mount | grep nssvol rcSuSEfirewall status ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10 rcowcimomd status ps -eaf | grep owcimomd id uptime netcat -zv netstat -atnp | grep httpd | grep -i listen rpm -qa --last | grep "openwbem\|iprint\|apache" free -k rccups status chkconfig -l cups *ping relevant DNS names
- Section #6 Log Files.
/var/opt/novell/log/iprint/idsd.log /var/opt/novell/log/iprint/ipsmd.log /var/log/messages /var/log/apache2/error_log /var/log/apache2/access_log /var/lib/novell-lum/nam.log /var/opt/novell/log/iprint/ipsmprov.log /var/opt/novell/log/iprint/iprintgw.log /var/opt/novell/log/iprint_nss_relocate.log /var/opt/novell/iprint/.psm/ndpsmmon.log /var/opt/novell/iprint/htdocs/iprint.ini
* Denotes changes from the previous version to the current version. Also, a couple of bugs were resolved in this version.
Step #1 - Install the latest version of the iPrintInfo plugin and Support Config utility
Option A: (Automated Install)
- Download iprintinfo-autoinstall-1.1.tbz
- Open a Terminal window and type “su”
- Enter root’s password
- Extract the script from the tarball
#tar –xjvf iprintinfo-autoinstall-1.1.tbz - Make the script executable.
#chmod 755 iPrintInfo-AutoInstall-1.1.sh - Run the iPrintInfo-AutoInstall-1.1.sh script
#./iPrintInfo-AutoInstall-1.1.sh
Option B: (Manual Install)
- Download both the supportutils and supportutils-plugin-iprint rpm from here
- Open a Terminal window and type “su”
- Enter root’s password
- Install the supportutils-X.XX-XX.XX.noarch.rpm
#rpm -Uvh supportutils-X.XX-XX.XX.noarch.rpm - Install the supportutils-plugin-iprint-X.X-X.X.norarch.rpm
#rpm -Uvh supportutils-plugin-iprint-X.X-X.X.norarch.rpm
Step #2 - Run the iPrintInfo gathering tool
Option A:
- On the terminal run iPrintInfo and attach the results automatically to the service request.
#iPrintInfo -r XXXXXXXXXXX <--This is your 11 digit service request number - This will create a file in the /var/log/ directory and will also be attached to the service request.
- To view the files created do the following:
#tar -xjvf /var/log/nts_hostname_101108_1451.tbz
#cd nts_hostname_101108_1451
# less plugin-iPrint.txt
-
Option B:
- On the terminal run iPrintInfo to create an iPrint output text file
#iPrintInfo -b - This will create a file in the current directory called iPrintInfo-2.1.3-[year]-[month][day]-[hour][minute].txt
- To view the file created do the following:
# less iPrintInfo-2.1.3-[year]-[month][day]-[hour][minute].txt
| Attachment | Size |
|---|---|
| iprintinfo-autoinstall-1.1.tbz | 2.22 KB |
Related Articles
User Comments
Supportconfig?
Submitted by mweiss2 on 15 September 2010 - 12:19am.
Could this be added to the supportconfig, please?
- Be the first to comment! To leave a comment you need to Login or Register
Support config plugin?
Submitted by jmeldrum on 28 September 2010 - 11:19am.
I am in the process of creating a plugin for this. It should be done in the next couple of weeks.
- Be the first to comment! To leave a comment you need to Login or Register
supportconfig plugin
Submitted by jmeldrum on 11 November 2010 - 9:33am.
This has now been changed to an support config iprint plugin.
- Be the first to comment! To leave a comment you need to Login or Register
Directory missing
Submitted by mcowden on 11 November 2010 - 1:56pm.
The tool gathers much good information, but there seems to be a directory missing. We had a problem where the ipsmd would not start, and the problem was that the ownership on the /var/opt/novell/run/iprint directory was incorrect. Changing the ownership fixed the issue, but that directory does not show up in the report generated by this tool. You may want to consider including it in a future release. Thanks for providing this tool. I suspect we will find it very helpful and time saving for migrating from NW to OES2 iPrint services.
- Be the first to comment! To leave a comment you need to Login or Register
Directory is already included...
Submitted by jmeldrum on 11 November 2010 - 11:17pm.
Thanks for giving me feedback. This directory was included recently in the output file. It can be found under section #3. I just double checked.
- Be the first to comment! To leave a comment you need to Login or Register
Tip from the author
Submitted by jmeldrum on 11 November 2010 - 11:21pm.
One of the many ways I use this tool is by running it on a server that is in an error state and then running it on a iprint server that is in a good state and comparing them using a tool called beyond compare. Without knowing a lot about iPrint or even Linux you can solve many issues that way.
- Be the first to comment! To leave a comment you need to Login or Register
supportconfig/iprintinfo
Submitted by randomnoise on 26 April 2013 - 1:00pm.
iprintinfo-autoinstall-1.1.tbz has a typo in line 77. RPMS should be RPMs.
- Be the first to comment! To leave a comment you need to Login or Register


7