CUPS Manager crashes editing the printer properties.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
CUPS Manager crashes editing the printer properties.
I am using gnome-cups-manager 0.28-2.2 on NLD9sp2. I need to be able to edit the name/description/location of each printer I create.
When ever I make an edit to those fields and click close, the app will crash and the edit will not be saved.
Being new to Linux, I am trying to find the text file the manager reads so I can just enter this info in manually (and just hope future updates through the channel will fix this).
Can anyone direct me to were I can find this file and what it's name would be?
Thank you Emerson, a manual edit did what I was trying to do.
Wasn't aware of a web interface for CUPS. I've just been having problems authenticating to the admin portal, just doesn't seem to like the root password. I do have the Novell iPrint client installed and I see it does make changes to the cupsd.conf file.
Based on the info in the link muha provided, I changed this section:
Code:
<Location /admin>
# Edited by Novell-iPrint: 20060125
#
# Security setting: high
# Original configuration backed up to /etc/cups/cupsd.conf.bak.20060125.1692
#
AuthType BasicDigest
AuthClass Group
AuthGroupName sys
## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
#Encryption Required
</Location>
to this
Code:
<Location /admin>
# Edited by Novell-iPrint: 20060125
#
# Security setting: high
# Original configuration backed up to /etc/cups/cupsd.conf.bak.20060125.1692
#
## AuthType BasicDigest
## AuthClass Group
## AuthGroupName sys
AuthType Basic
AuthClass System
## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
#Encryption Required
</Location>
and
and removed the # that was infront of ServerAdmin so it would look like ServerAdmin root@Provogeek
but this still does not help after restarting cups.
I think web interface not working and Gnome CUPS manager unable to save are caused by same problem. I'd probably start Gnome manager from a terminal window to see if it gives some error messages when save fails.
used the command sudo gnome-cups-manager -p "LaserJet-5-series" to start the manager, right off the bat I get;
Code:
** (gnome-cups-manager:23837): WARNING **: Two ppds have driver == 'Standard'
->manufacturer-PPDs/hp/hp_color_laserjet_5m.ppd.gz (HP Color LaserJet 5/5M v2015.104[0]) and
->manufacturer-PPDs/hp/hp_color_laserjet_5.ppd.gz (HP Color LaserJet 5/5M v2015.104)[0]
** (gnome-cups-manager:23837): WARNING **: Two ppds have driver == 'Standard'
->manufacturer-PPDs/hp/hp_laserjet_4m.ppd.gz (HP LaserJet 4/4M PostScript 600DPI[0]) and
->manufacturer-PPDs/hp/hp_laserjet_4.ppd.gz (HP LaserJet 4/4M PostScript 600DPI)[0]
** (gnome-cups-manager:23837): WARNING **: Two ppds have driver == 'Standard'
->manufacturer-PPDs/hp/hp_laserjet_4v.ppd.gz (HP LaserJet 4V/4MV PostScript[0]) and
->manufacturer-PPDs/hp/hp_laserjet_4mv.ppd.gz (HP LaserJet 4V/4MV PostScript)[0]
** (gnome-cups-manager:23837): WARNING **: Two ppds have driver == 'Standard'
->manufacturer-PPDs/hp/hp_laserjet_6p.ppd.gz (HP LaserJet 6P/6MP - PostScript[0]) and
->manufacturer-PPDs/hp/hp_laserjet_6mp.ppd.gz (HP LaserJet 6P/6MP - PostScript)[0]
** (gnome-cups-manager:23837): WARNING **: Two ppds have driver == 'Standard'
->manufacturer-PPDs/hp/hp_laserjet_3030.ppd.gz (HP LaserJet 3020 3030[0]) and
->manufacturer-PPDs/hp/hp_laserjet_3020.ppd.gz (HP LaserJet 3020 3030)[0]
** (gnome-cups-manager:23837): WARNING **: Two ppds have driver == 'Standard'
->manufacturer-PPDs/hp/hp_laserjet_9065_mfp.ppd.gz (HP LaserJet 9055 9065 MFP[0]) and
->manufacturer-PPDs/hp/hp_laserjet_9055.ppd.gz (HP LaserJet 9055 9065 MFP)[0]
** (gnome-cups-manager:23837): WARNING **: model named 'Oc\x82 VarioPrint 2090 PS3' doesn't have a recognized structure
** (gnome-cups-manager:23837): WARNING **: Two ppds have driver == 'Foomatic + md50Mono (Japanese version, needs cupsomatic)'
->manufacturer-PPDs/TurbolinuxJapanesePPDs/Okidata-DP_5000-md5k-ppd.ppd.gz (Okidata DP 5000, Foomatic + md50Mono (Japanese version, needs cupsomatic)[0]) and
->manufacturer-PPDs/TurbolinuxJapanesePPDs/Okidata-DP_5000-md50Mono-ppd.ppd.gz (Okidata DP 5000, Foomatic + md50Mono (Japanese version, needs cupsomatic))[0]
Selected ppd file = HP/2000C-gimp-print.ppd.gz
Selected ppd file = stp/pcl-5.ppd.gz
** (gnome-cups-manager:23837): WARNING **: connect = 'socket://192.168.129.92:9100/'
** (gnome-cups-manager:23837): WARNING **: method :'socket'
user :''
host :'192.168.129.92'
port :9100
resource :'/'
** (gnome-cups-manager:23837): WARNING **: connect = 'socket://192.168.129.92:9100/'
** (gnome-cups-manager:23837): WARNING **: method :'socket'
user :''
host :'192.168.129.92'
port :9100
resource :'/'
Now I am setting my printers up as HP JetDirect printers, I also tried setting it up as an IPP printer and get the same results with the exception of the last few lines that read;
You wrote Gnome manager crashes when saving. I do not see anything crash-related here. You really can't fix it if you cannot get error messages.
OK, let's try otherwise. You wrote web interface does not accept your password. I'd recommend investigating CUPS logs, in my system they are in /var/log/cups. Hopefully you can extract something useful from there.
There just isn't any out put in the console when I click the close button with in the manager. When I try, all I do is change the printer name, click close, get the window pop up that says "The Application "gnome-cups-manager" has quit unexpectedly. You can inform the developers of what happened to help them fix it. Or you can restart the application right now."
When I choose to restart, it restarts normally returing the console to a bash prompt. And when I choose to just close, the console just returns to a bash prompt.
When trying to edit the printer in the gnome manager, I do not get any entry in the error_log log file, I do get this in the access_log file;
Using the web manager I get this in the error_log;
Code:
I [08/Feb/2006:09:43:32 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13834)
E [08/Feb/2006:09:43:53 -0800] IsAuthorized: pam_authenticate() returned 7 (Authentication failure)!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.