SUSE Conversations


CUPS Information Gathering Tool



By:

June 18, 2008 5:11 pm

Reads:545

Comments:1

Score:Unrated

Print/PDF

License:
GPLv2

Download cupsInfo.tgz

The cupsInfo script gathers CUPS-related information to help in troubleshooting CUPS issues. The following information is obtained in the script execution process:

1. Rights and permissions on each file installed by cups
2. Rights on specific directories.
/etc/cups
/var/log/cups/
/dev/tty
3. Content of specific files.
/etc/cups/cupsd.conf
/etc/cups/client.conf
/etc/cups/printers.conf
4. Miscellaneous commands.
lstat –v
lsof -i TCP:631
lsusb
rpm -qa | egrep ‘^cups|^foomatic|^ghostscript|^hplip’|sort –d
tail -n 100 /var/log/cups/error_log

Installation Instructions

1. Download cupsInfo.tgz

2. Open a Terminal window and type “su”

3. Enter root’s password

4. Extract the script from the tarball

#tar –xzvf cupsInfo.tgz

5. Make the script executable.

#chmod 755 cupsInfo.sh

6. Run the cupsInfo.sh script

#./cupsInfo.sh
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 cupsInfo.txt.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...


Categories: Free Tools, Technical Solutions

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

1 Comment

  1. By:jmeldrum76

    Hi,

    Thanks for the great script it have been very helpful in troubleshooting CUPS issues.

    Regards,

    J.

Comment

RSS