Gentoo Archives: gentoo-user

From: Francesco Talamona <ti.liame@×××××.it>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools
Date: Fri, 07 Jul 2006 23:18:39
Message-Id: 200607080041.27366.ti.liame@email.it
In Reply to: [gentoo-user] Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools by Kevin O'Gorman
1 On Saturday 08 July 2006 00:08, Kevin O'Gorman wrote:
2 > Yesterday, I emerged cups 1.2.1-r2. Now I cannot print at all.
3 >
4 > I use KDE, and the configuration tools cannot make a connection.
5 > Even bare-bones init stuff doesn't work right:
6 > /etc/init.d/cupsd stop
7 > says it stopped the server, but
8 > /etc/init.d/cupsd start
9 > WARNING: "cupsd" has already been started
10 >
11 > but 'ps' show that it has NOT been started.
12 >
13 > lpstat -t
14 > shows confusing info about my printer:
15 >
16 >
17 > treat init.d # lpstat -t
18 > scheduler is running
19 > system default destination: lp0
20 > device for lp0: parallel:/dev/lp0
21 > device for lp0: /dev/null
22 > lp0 not accepting requests since Fri Jul 7 14:23:34 2006 -
23 > Paused
24 > lp0 accepting requests since Fri Jul 7 14:15:50 2006
25 > printer lp0 disabled since Fri Jul 7 14:23:34 2006 -
26 > Paused
27 > printer lp0 is idle. enabled since Fri Jul 7 14:15:50 2006
28 > lp0-2458 root 14336 Fri Jul 7 14:21:24
29 > 2006 lp0-2459 root 14336 Fri Jul 7
30 > 14:55:25 2006 treat init.d #
31 >
32 > SO: is it enabled or not?
33 Really strange, it seem a cupsd process is responding some way
34
35 Is it there something listenting on port 631?
36
37 cribrum ~ # /etc/init.d/cupsd stop
38 * Stopping cupsd ...
39 [ ok ]
40 cribrum ~ # lpstat -t
41 lpstat: Unable to connect to server
42
43 > I guess I'll submit a bug, but I'd like to know if it's best to go
44 > back to cups-1.1.23-r7,
45 > which I had before, and for which I have a binary package.
46 Side notes:
47 1) I had to generate /etc/cups/ssl/server.crt
48 and /etc/cups/ssl/server.key by hand to connect via https web
49 interface.
50
51 2) did you follow ewarn hints?
52 [...]
53 *
54 * The configuration changed with cups-1.2, you may want to save the old
55 * one and start from scratch:
56 * # mv /etc/cups /etc/cups.orig; emerge -va1 cups
57 *
58 * You need to rebuild kdelibs for kdeprinter to work with cups-1.2
59 *
60 * /usr/lib/cups exists - You need to remerge every ebuild that
61 * installed into /usr/lib/cups and /etc/cups, qfile is in
62 portage-utils:
63 * # FEATURES=-collision-protect emerge -va1
64 $(qfile -qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::")
65 *
66 [...]
67
68 ciao
69 Francesco
70 --
71 Linux Version 2.6.17-gentoo-r1, Compiled #1 PREEMPT Mon Jul 3 22:29:51
72 CEST 2006
73 One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4410.66 Bogomips Total
74 aemaeth
75 --
76 gentoo-user@g.o mailing list

Replies