Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools
Date: Sat, 08 Jul 2006 02:14:25
Message-Id: 9acccfe50607071904n4ce534bco21eb08a80bcfa841@mail.gmail.com
In Reply to: [gentoo-user] Re: Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools by Francesco Talamona
1 This looks like a helpful reply. Too bad I'm so clueless. I seem to
2 keep finding that there's more homework to do about gentoo, and
3 I never seem to have the time. So I'm in continual crisis mode.
4
5 Details (questions) below:
6
7 On 7/7/06, Francesco Talamona <ti.liame@×××××.it> wrote:
8 > On Saturday 08 July 2006 00:08, Kevin O'Gorman wrote:
9 > > Yesterday, I emerged cups 1.2.1-r2. Now I cannot print at all.
10 > >
11 > > I use KDE, and the configuration tools cannot make a connection.
12 > > Even bare-bones init stuff doesn't work right:
13 > > /etc/init.d/cupsd stop
14 > > says it stopped the server, but
15 > > /etc/init.d/cupsd start
16 > > WARNING: "cupsd" has already been started
17 > >
18 > > but 'ps' show that it has NOT been started.
19 > >
20 > > lpstat -t
21 > > shows confusing info about my printer:
22 > >
23 > >
24 > > treat init.d # lpstat -t
25 > > scheduler is running
26 > > system default destination: lp0
27 > > device for lp0: parallel:/dev/lp0
28 > > device for lp0: /dev/null
29 > > lp0 not accepting requests since Fri Jul 7 14:23:34 2006 -
30 > > Paused
31 > > lp0 accepting requests since Fri Jul 7 14:15:50 2006
32 > > printer lp0 disabled since Fri Jul 7 14:23:34 2006 -
33 > > Paused
34 > > printer lp0 is idle. enabled since Fri Jul 7 14:15:50 2006
35 > > lp0-2458 root 14336 Fri Jul 7 14:21:24
36 > > 2006 lp0-2459 root 14336 Fri Jul 7
37 > > 14:55:25 2006 treat init.d #
38 > >
39 > > SO: is it enabled or not?
40 > Really strange, it seem a cupsd process is responding some way
41 >
42 > Is it there something listenting on port 631?
43
44 I have no idea. I want it to listen on 515 which is the printer
45 spooler port that
46 WinXP has been using up until now.
47
48 >
49 > cribrum ~ # /etc/init.d/cupsd stop
50 > * Stopping cupsd ...
51 > [ ok ]
52 > cribrum ~ # lpstat -t
53 > lpstat: Unable to connect to server
54 >
55 > > I guess I'll submit a bug, but I'd like to know if it's best to go
56 > > back to cups-1.1.23-r7,
57 > > which I had before, and for which I have a binary package.
58 > Side notes:
59 > 1) I had to generate /etc/cups/ssl/server.crt
60 > and /etc/cups/ssl/server.key by hand to connect via https web
61 > interface.
62
63 I don't know anything about that. Up until now, I've been doing my admin
64 either from the command line, or with the minimal KDE tools. Someone
65 would have to point me at docs for creating such a key and how to
66 use it.
67
68 >
69 > 2) did you follow ewarn hints?
70
71 Where would I find ewarn hints? I know emerge winds up saying some things
72 on the console that scroll off too fast to read. I always thought that was so
73 verbose that I'd never have time to look through a normal capture
74 file. Is there
75 someplace where the good stuff is distilled?
76
77 > [...]
78 > *
79 > * The configuration changed with cups-1.2, you may want to save the old
80 > * one and start from scratch:
81 > * # mv /etc/cups /etc/cups.orig; emerge -va1 cups
82 > *
83 > * You need to rebuild kdelibs for kdeprinter to work with cups-1.2
84
85 I can certainly try that.
86
87 > *
88 > * /usr/lib/cups exists - You need to remerge every ebuild that
89 > * installed into /usr/lib/cups and /etc/cups, qfile is in
90 > portage-utils:
91 > * # FEATURES=-collision-protect emerge -va1
92 > $(qfile -qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::")
93 > *
94
95 Is that one thought or two? Anyway, I need to ask:
96 1) how do I tell what has "installed into /usr/lib/cups and /etc/cups"
97 2) What's this qfile thingy?
98
99 > [...]
100 >
101 > ciao
102 > Francesco
103 > --
104 > Linux Version 2.6.17-gentoo-r1, Compiled #1 PREEMPT Mon Jul 3 22:29:51
105 > CEST 2006
106 > One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4410.66 Bogomips Total
107 > aemaeth
108 > --
109 > gentoo-user@g.o mailing list
110 >
111 >
112
113
114 --
115 Kevin O'Gorman, PhD
116 --
117 gentoo-user@g.o mailing list

Replies