Tool

iPrint Information Gathering Tool

Author Info

2 July 2008 - 11:53am
Submitted by: jmeldrum

tool
Reads:

5102

Score:
3.25
3.3
4
 
Comments:

0

license: 
GPLv2

The iPrintInfo script gathers iPrint-related information to help in troubleshooting iPrint issues. The following information is obtained in the script executions process.

  1. Rights and permissions on each file installed by iPrint
  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
    	
            #If NSS Clustering is installed
    	Show eDir rights on /var/opt/novell/log/iprint
    	Show eDir rights on /var/opt/novell/iprint
    
    
  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
    	/etc/group
    	/etc/openwbem/openwbem.conf
    	/etc/apache2/httpd.conf
    	/etc/sysconfig/apache2
    	*/etc/sysconfig/proxy
    	*/var/opt/novell/iprint/resdir/
    
    	#If NSS Clustering is installed
    	/var/opt/novell/ncs/[iPrint Resource.load]
    	/var/opt/novell/ncs/[iPrint Resource.unload]
    	
    
  4. Miscellaneous commands.
    	ps -eaf | grep iprint
    	uname -a
    	ifconfig | grep "inet addr"
    	id admin
    	id wwwrun
    	id iprint
    	netstat -atnp | grep 631
    	namuserlist -x 
    	namgrouplist -x
    	mount | grep nssvol
    
  5. 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
    
    

* Denotes changes from version 1.3 to 1.5

Installation Instructions

  1. Download iPrintInfo-1.5.tgz
  2. Open a Terminal window and type “su”
  3. Enter root’s password
  4. Extract the script from the tarball
    #tar –xzvf iPrintInfo-1.5.tgz
  5. Make the script executable.
    #chmod 755 iPrintInfo.sh
  6. Run the iPrinInfo-1.5.sh script
    #./iPrintInfo.sh -c o=MyOrganization

    Note: Using a –h will display other parameter options if desired.
  7. Default execution of this script will create a file in the current directory called iPrintInfo-1.5-[year]-[month][day]-[hour][minute].txt
AttachmentSize
iPrintInfo-1.5.tgz3.54 KB

Author Info

2 July 2008 - 11:53am
Submitted by: jmeldrum




User Comments

© 2009 Novell, Inc. All Rights Reserved.