You are not logged in.

#1 2006-07-26 19:31:03

slackhack
Member
Registered: 2004-06-30
Posts: 738

cups acting weird, won't print from apps

i have a network printer that still works from my slackware machine and 2 fedora computers, but stopped working on arch. it prints a test page from the cups browser interface, but when i try to print from an app it fails with an error dialog box. the error says:

CUPS_BackEnd: get-printers failed: client-error-not-found

when i launch the app from the command line without an &, it spits out this line after trying to print:

/usr/local/linuxprinter/bin/lpr: Could not initialize LPP printing system

my user is added to the lp entry in /etc/group, so i'm not sure why i'm getting that message. i can post full cups debug info if needed, first i was just wondering if there is some simple recent arch change i don't know about that is known to be causing problems. i searched the forum, but i didn't find anything recent on cups problems. dbus and hal seem to be giving me problems lately, too (not launching right, saying there's already a pid, etc.) and i wondered if that might have something to do with it, how to troubleshoot that to make sure it's running, etc. thanks


>>edit: from the wiki, i'm getting this error with lpq:

[12] root:/etc/cups # lpq
lpq: error - no default destination available.

?

the server name is specified in client.conf, as always. :?:


>>edit2 - i notice there's a new cupsd.conf.pacnew file. my old cupsd.conf only had the log level in it, with everything else commented out. but cups won't start with the new one unless the Listening option is set (which is weird, since i'm not running it as a server locally.) anyway, it's set for localhost:631 -- which i guess seems right to me since that's the port to the server, but if that's wrong, please LMK. (i also tried just localhost, didn't work.)

Offline

#2 2006-07-27 22:05:26

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: cups acting weird, won't print from apps

bump, here's the error.log.

I [27/Jul/2006:18:00:52 -0400] Listening to 127.0.0.1:631 (IPv4)
I [27/Jul/2006:18:00:52 -0400] Loaded configuration file "/etc/cups/cupsd.conf"
W [27/Jul/2006:18:00:52 -0400] Repairing ownership of "/var/cache/cups"
W [27/Jul/2006:18:00:52 -0400] Repairing ownership of "/var/run/cups"
W [27/Jul/2006:18:00:52 -0400] Repairing ownership of "/etc/cups"
W [27/Jul/2006:18:00:52 -0400] Repairing ownership of "/etc/cups/ppd"
W [27/Jul/2006:18:00:52 -0400] Repairing ownership of "/etc/cups/ssl"
W [27/Jul/2006:18:00:52 -0400] Repairing ownership of "/etc/cups/cupsd.conf"
W [27/Jul/2006:18:00:52 -0400] Repairing ownership of "/etc/cups/classes.conf"
W [27/Jul/2006:18:00:52 -0400] Repairing ownership of "/var/spool/cups"
W [27/Jul/2006:18:00:52 -0400] Repairing ownership of "/var/spool/cups/tmp"
I [27/Jul/2006:18:00:52 -0400] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [27/Jul/2006:18:00:52 -0400] Configured for up to 100 clients.
I [27/Jul/2006:18:00:52 -0400] Allowing up to 100 client connections per host.
I [27/Jul/2006:18:00:52 -0400] Using policy "default" as the default!
I [27/Jul/2006:18:00:52 -0400] Full reload is required.
I [27/Jul/2006:18:00:52 -0400] Loaded MIME database from '/etc/cups': 34 types, 39 filters...
I [27/Jul/2006:18:00:52 -0400] Loading job cache file "/var/cache/cups/job.cache"...
I [27/Jul/2006:18:00:52 -0400] Full reload complete.
I [27/Jul/2006:18:00:52 -0400] Listening to 127.0.0.1:631 on fd 2...
E [27/Jul/2006:18:00:52 -0400] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
D [27/Jul/2006:18:01:18 -0400] cupsdAcceptClient: 6 from localhost:631 (IPv4)
D [27/Jul/2006:18:01:18 -0400] cupsdReadClient: 6 POST / HTTP/1.1
D [27/Jul/2006:18:01:18 -0400] cupsdAuthorize: No authentication data provided.
D [27/Jul/2006:18:01:18 -0400] CUPS-Get-Printers
E [27/Jul/2006:18:01:18 -0400] CUPS-Get-Printers client-error-not-found: No destinations added.
D [27/Jul/2006:18:01:18 -0400] cupsdProcessIPPRequest: 6 status_code=406 (client-error-not-found)
D [27/Jul/2006:18:01:19 -0400] cupsdCloseClient: 6
D [27/Jul/2006:18:01:19 -0400] cupsdAcceptClient: 6 from localhost:631 (IPv4)
D [27/Jul/2006:18:01:19 -0400] cupsdReadClient: 6 POST / HTTP/1.1
D [27/Jul/2006:18:01:19 -0400] cupsdAuthorize: No authentication data provided.
D [27/Jul/2006:18:01:19 -0400] Get-Jobs ipp://localhost:631/jobs/
D [27/Jul/2006:18:01:19 -0400] cupsdProcessIPPRequest: 6 status_code=0 (successful-ok)
D [27/Jul/2006:18:01:19 -0400] cupsdAcceptClient: 8 from localhost:631 (IPv4)
D [27/Jul/2006:18:01:19 -0400] cupsdCloseClient: 6
D [27/Jul/2006:18:01:19 -0400] cupsdReadClient: 8 POST / HTTP/1.1
D [27/Jul/2006:18:01:19 -0400] cupsdAuthorize: No authentication data provided.
D [27/Jul/2006:18:01:19 -0400] CUPS-Get-Printers
E [27/Jul/2006:18:01:19 -0400] CUPS-Get-Printers client-error-not-found: No destinations added.
D [27/Jul/2006:18:01:19 -0400] cupsdProcessIPPRequest: 8 status_code=406 (client-error-not-found)
D [27/Jul/2006:18:01:19 -0400] cupsdAcceptClient: 6 from localhost:631 (IPv4)
D [27/Jul/2006:18:01:19 -0400] cupsdCloseClient: 8
D [27/Jul/2006:18:01:19 -0400] cupsdReadClient: 6 POST / HTTP/1.1
D [27/Jul/2006:18:01:19 -0400] cupsdAuthorize: No authentication data provided.
D [27/Jul/2006:18:01:19 -0400] Get-Jobs ipp://localhost:631/jobs/
D [27/Jul/2006:18:01:19 -0400] cupsdProcessIPPRequest: 6 status_code=0 (successful-ok)
D [27/Jul/2006:18:01:19 -0400] cupsdCloseClient: 6

unless it has something to do with needing a certificate (?) or the authentication data (?), i'm not getting much out of that except the same client-error-not-found message.

Offline

#3 2006-08-01 18:35:56

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: cups acting weird, won't print from apps

on a whim, i tried printing from a KDE app (kate), and  that worked fine. gnome/gtk2 apps don't work -- firefox, gedit, abiword, open office, leafpad, etc. i guess it's this freaking lame dbus crap.

anyway, i tried installing new drivers, but the samsung app failed. then i tried adding the printer again to the g-apps (gedit in this case) using the "add+" button, but it wouldn't let me. when i chose the correct printer driver, it says the driver is already installed. when i chose one from another model that's known to work with this printer, the gnome-cups-add thing totally locks up.

i'll just open a kde app to print, not a huge deal, but it just bugs me (no pun intended) that everything was working fine, and now it doesn't work right anymore, after updating a week or so ago. i've tried installing and uninstalling the samsung drivers so many times (as user, as root, different location, etc.) that i'm not even sure *what's* installed anymore.

some errors from the gnome-printer-add ("lost it???" tongue)

[5] sero:~ $ gedit

** (gnome-cups-add:1202): WARNING **: IPP request failed with status 1030

(gedit:1146): GnomePrint-WARNING **: lost it

** (gnome-cups-add:1276): WARNING **: IPP request failed with status 1030

Offline

#4 2006-08-05 13:53:59

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: cups acting weird, won't print from apps

looks like i made the cardinal error of providing too many details. next time i'll just do it like the newbies do: "help! my printer doesn't work. urgent!" those always seem to get the most responses. tongue

Offline

#5 2006-08-07 13:35:30

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: cups acting weird, won't print from apps

Have you seen this thread or the one it links to?

http://bbs.archlinux.org/viewtopic.php?t=23711


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#6 2006-08-07 19:48:38

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: cups acting weird, won't print from apps

i actually did not see that, thanks. i didn't search that far back because it just stopped working after an upgrade a couple weeks ago. installing libgnomeprint-cups fixed it. appreciate :thumbsup:

Offline

Board footer

Powered by FluxBB