LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-02-2006, 02:20 PM   #1
Provogeek
LQ Newbie
 
Registered: Apr 2004
Location: Denver, CO
Distribution: Undecided
Posts: 11

Rep: Reputation: 0
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
 
Old 02-02-2006, 03:21 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
It is /etc/cups/printers.conf in my system.
CUPS has also web interface, point your browser to http://localhost:631
 
Old 02-04-2006, 07:25 AM   #3
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
maybe this helps :? ~> Fileserver with Samba and Printserver with CUPS Howto from linuxforums.org
 
Old 02-06-2006, 09:31 PM   #4
Provogeek
LQ Newbie
 
Registered: Apr 2004
Location: Denver, CO
Distribution: Undecided
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 02-07-2006, 06:53 AM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
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.
 
Old 02-07-2006, 01:14 PM   #6
Provogeek
LQ Newbie
 
Registered: Apr 2004
Location: Denver, CO
Distribution: Undecided
Posts: 11

Original Poster
Rep: Reputation: 0
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;

Code:
 
** (gnome-cups-manager:24565): WARNING **: connect = 'ipp://192.168.129.92:631/ipp'
 
** (gnome-cups-manager:24565): WARNING **: method       :'ipp'
user    :''
host    :'192.168.129.92'
port    :631
resource        :'/ipp'
 
Old 02-07-2006, 03:37 PM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
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.
 
Old 02-08-2006, 11:44 AM   #8
Provogeek
LQ Newbie
 
Registered: Apr 2004
Location: Denver, CO
Distribution: Undecided
Posts: 11

Original Poster
Rep: Reputation: 0
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;

Code:
localhost - - [08/Feb/2006:09:31:51 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:31:51 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:31:51 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:31:51 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:31:51 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:31:51 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:31:51 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:31:51 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:31:51 -0800] "POST / HTTP/1.1" 200 120
localhost - - [08/Feb/2006:09:31:51 -0800] "POST / HTTP/1.1" 200 354
localhost - - [08/Feb/2006:09:31:51 -0800] "POST / HTTP/1.1" 200 133
localhost - - [08/Feb/2006:09:31:52 -0800] "POST / HTTP/1.1" 200 367
localhost - - [08/Feb/2006:09:31:52 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:31:52 -0800] "POST / HTTP/1.1" 200 369
localhost - - [08/Feb/2006:09:31:52 -0800] "POST / HTTP/1.1" 200 120
localhost - - [08/Feb/2006:09:31:52 -0800] "POST / HTTP/1.1" 200 354
localhost - - [08/Feb/2006:09:31:56 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:31:56 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:31:56 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:31:56 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:31:56 -0800] "POST / HTTP/1.1" 200 354
localhost - - [08/Feb/2006:09:31:57 -0800] "POST / HTTP/1.1" 200 369
localhost - - [08/Feb/2006:09:31:57 -0800] "POST / HTTP/1.1" 200 367
localhost - - [08/Feb/2006:09:31:57 -0800] "POST / HTTP/1.1" 200 354
localhost - - [08/Feb/2006:09:32:01 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:01 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:01 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:32:01 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:32:01 -0800] "POST / HTTP/1.1" 200 354
localhost - - [08/Feb/2006:09:32:02 -0800] "POST / HTTP/1.1" 200 369
localhost - - [08/Feb/2006:09:32:02 -0800] "POST / HTTP/1.1" 200 367
localhost - - [08/Feb/2006:09:32:02 -0800] "POST / HTTP/1.1" 200 354
localhost - - [08/Feb/2006:09:32:03 -0800] "POST / HTTP/1.1" 200 212
localhost - - [08/Feb/2006:09:32:03 -0800] "GET /ppd/LaserJet-5-series.ppd HTTP/1.1" 200 14825
localhost - - [08/Feb/2006:09:32:03 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:03 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:03 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:32:08 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:08 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:08 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:32:08 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:32:09 -0800] "POST / HTTP/1.1" 200 133
localhost - - [08/Feb/2006:09:32:09 -0800] "POST / HTTP/1.1" 200 367
localhost - - [08/Feb/2006:09:32:09 -0800] "POST / HTTP/1.1" 200 212
localhost - - [08/Feb/2006:09:32:09 -0800] "GET /ppd/LaserJet-5-series.ppd HTTP/1.1" 200 14825
localhost - - [08/Feb/2006:09:32:09 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:09 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:09 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:32:09 -0800] "POST / HTTP/1.1" 200 212
localhost - - [08/Feb/2006:09:32:09 -0800] "GET /ppd/LaserJet-5-series.ppd HTTP/1.1" 200 14825
localhost - - [08/Feb/2006:09:32:09 -0800] "POST / HTTP/1.1" 200 145
localhost - - [08/Feb/2006:09:32:10 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:32:14 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:14 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:14 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:32:14 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:32:14 -0800] "POST / HTTP/1.1" 200 367
localhost - - [08/Feb/2006:09:32:19 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:19 -0800] "POST / HTTP/1.1" 200 135
localhost - - [08/Feb/2006:09:32:19 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:32:19 -0800] "POST / HTTP/1.1" 200 75
localhost - - [08/Feb/2006:09:32:19 -0800] "POST / HTTP/1.1" 200 367
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)!
and this in the access_log;

Code:
localhost - - [08/Feb/2006:09:43:32 -0800] "GET /printers HTTP/1.1" 200 0
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /cups.css HTTP/1.1" 200 87
localhost - - [08/Feb/2006:09:43:34 -0800] "POST / HTTP/1.1" 200 138
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /images/navbar.gif HTTP/1.1" 200 2869
localhost - - [08/Feb/2006:09:43:34 -0800] "POST / HTTP/1.1" 200 814
localhost - - [08/Feb/2006:09:43:32 -0800] "GET /printers HTTP/1.1" 200 7568
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /images/left.gif HTTP/1.1" 200 110
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /images/right.gif HTTP/1.1" 200 145
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /images/printer-idle.gif HTTP/1.1" 200 706
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /images/print-test-page.gif HTTP/1.1" 200 288
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /images/stop-printer.gif HTTP/1.1" 200 252
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /images/reject-jobs.gif HTTP/1.1" 200 252
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /images/config-printer.gif HTTP/1.1" 200 296
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /images/modify-printer.gif HTTP/1.1" 200 277
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /images/delete-printer.gif HTTP/1.1" 200 267
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /images/add-printer.gif HTTP/1.1" 200 252
localhost - - [08/Feb/2006:09:43:34 -0800] "GET /favicon.ico HTTP/1.1" 404 0
localhost - - [08/Feb/2006:09:43:36 -0800] "GET /admin HTTP/1.1" 401 0
localhost - root [08/Feb/2006:09:43:53 -0800] "GET /admin HTTP/1.1" 401 0
localhost - - [08/Feb/2006:09:43:55 -0800] "GET /favicon.ico HTTP/1.1" 404 0

In checking Yast I have the following pam modules installed;

pam 0.77-221.2
pam_krb5 1.3-201.12
pam_ldap 169-28.4
pam-modules 9-18.10
yast2-pam 2.9.14-0.4

The modules I have avilable but not installed are;

opie 2.4-544.2
pam-devel 0.77-221.2
pam-laus 0.77-4.4
pam-laus-devel 0.77-4.4
pam_radius 1.3.16-65.2
pam_smb 2.0.0rc5-38.4

In the file /etc/pam.d/cups I find
Code:
auth	required	pam_unix2.so nullok
account	required	pam_unix2.so

Last edited by Provogeek; 02-08-2006 at 12:00 PM.
 
Old 02-08-2006, 12:43 PM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I have never used Novell iPrint, probably it modified security settings in your cupsd.conf. This may be also reason why Gnome manager fails.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Printer / CUPS-PDF Printer Issue in SuSE 10 jlstratton42 SUSE / openSUSE 0 12-21-2005 11:04 AM
Konqueror crashes with mp3 properties Schmurff Mandriva 1 04-11-2005 08:24 PM
parrellel printer in CUPS? No parellel printer option... servnov Linux - General 3 10-31-2004 02:08 PM
Editing properties of your terminal/shell ? fredgt Linux - Software 3 10-03-2004 10:30 AM
Can't select Parellel printer with Cups Admin or KDE Print Manager EnigmaX Linux - Newbie 6 08-16-2004 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration