1 |
On Saturday 08 July 2006 06:12, Kevin O'Gorman wrote: |
2 |
> The light dawned... Gotcha! And thanks. |
3 |
Good! |
4 |
|
5 |
> On 7/7/06, Kevin O'Gorman <kogorman@×××××.com> wrote: |
6 |
> > This looks like a helpful reply. Too bad I'm so clueless. I seem |
7 |
> > to keep finding that there's more homework to do about gentoo, and |
8 |
> > I never seem to have the time. So I'm in continual crisis mode. |
9 |
> > |
10 |
> > Details (questions) below: |
11 |
> > |
12 |
> > On 7/7/06, Francesco Talamona <ti.liame@×××××.it> wrote: |
13 |
> > > On Saturday 08 July 2006 00:08, Kevin O'Gorman wrote: |
14 |
> > > > Yesterday, I emerged cups 1.2.1-r2. Now I cannot print at all. |
15 |
> > > > |
16 |
> > > > I use KDE, and the configuration tools cannot make a |
17 |
> > > > connection. Even bare-bones init stuff doesn't work right: |
18 |
> > > > /etc/init.d/cupsd stop |
19 |
> > > > says it stopped the server, but |
20 |
> > > > /etc/init.d/cupsd start |
21 |
> > > > WARNING: "cupsd" has already been started |
22 |
> > > > |
23 |
> > > > but 'ps' show that it has NOT been started. |
24 |
Try |
25 |
ps fax | grep cups |
26 |
ps without options don't show every process |
27 |
|
28 |
> > > > lpstat -t |
29 |
> > > > shows confusing info about my printer: |
30 |
> > > > |
31 |
> > > > |
32 |
> > > > treat init.d # lpstat -t |
33 |
> > > > scheduler is running |
34 |
> > > > system default destination: lp0 |
35 |
> > > > device for lp0: parallel:/dev/lp0 |
36 |
> > > > device for lp0: /dev/null |
37 |
> > > > lp0 not accepting requests since Fri Jul 7 14:23:34 2006 - |
38 |
> > > > Paused |
39 |
> > > > lp0 accepting requests since Fri Jul 7 14:15:50 2006 |
40 |
> > > > printer lp0 disabled since Fri Jul 7 14:23:34 2006 - |
41 |
> > > > Paused |
42 |
> > > > printer lp0 is idle. enabled since Fri Jul 7 14:15:50 2006 |
43 |
> > > > lp0-2458 root 14336 Fri Jul 7 |
44 |
> > > > 14:21:24 2006 lp0-2459 root 14336 |
45 |
> > > > Fri Jul 7 14:55:25 2006 treat init.d # |
46 |
> > > > |
47 |
> > > > SO: is it enabled or not? |
48 |
> > > |
49 |
> > > Really strange, it seem a cupsd process is responding some way |
50 |
> > > |
51 |
> > > Is it there something listenting on port 631? |
52 |
> > |
53 |
> > I have no idea. I want it to listen on 515 which is the printer |
54 |
> > spooler port that |
55 |
> > WinXP has been using up until now. |
56 |
|
57 |
Try: |
58 |
lsof | grep LIS |
59 |
this command will list all open "files" containing "LIS" (uppercase) in |
60 |
their name. All LIStening ports and estabLIShed connection will show |
61 |
up. |
62 |
|
63 |
> > > cribrum ~ # /etc/init.d/cupsd stop |
64 |
> > > * Stopping cupsd ... |
65 |
> > > [ ok ] |
66 |
> > > cribrum ~ # lpstat -t |
67 |
> > > lpstat: Unable to connect to server |
68 |
> > > |
69 |
> > > > I guess I'll submit a bug, but I'd like to know if it's best to |
70 |
> > > > go back to cups-1.1.23-r7, |
71 |
> > > > which I had before, and for which I have a binary package. |
72 |
> > > |
73 |
> > > Side notes: |
74 |
> > > 1) I had to generate /etc/cups/ssl/server.crt |
75 |
> > > and /etc/cups/ssl/server.key by hand to connect via https web |
76 |
> > > interface. |
77 |
> > |
78 |
> > I don't know anything about that. Up until now, I've been doing my |
79 |
> > admin either from the command line, or with the minimal KDE tools. |
80 |
> > Someone would have to point me at docs for creating such a key and |
81 |
> > how to use it. |
82 |
<quote> |
83 |
openssl req -new -x509 -keyout /etc/cups/ssl/server.key \ |
84 |
-out /etc/cups/ssl/server.crt -days 365 -nodes |
85 |
|
86 |
chmod 600 /etc/cups/ssl/server.* |
87 |
</quote> |
88 |
Referrer: |
89 |
http://www.opensource.apple.com/darwinsource/Current/cups-97.1/ENCRYPTION.txt |
90 |
|
91 |
It's a bit dated, but works well. |
92 |
|
93 |
[...] |
94 |
> -- I'll emerge portage-utils |
95 |
> -- I'll use qfile to find those pesky packages that plopped parts in |
96 |
> cups. |
97 |
> |
98 |
> RIght after the emerge of kdelibs, which is right now processing html |
99 |
> files for some reason. |
100 |
I bet it's the "doc" USE flag. |
101 |
|
102 |
Ciao |
103 |
Francesco |
104 |
-- |
105 |
Linux Version 2.6.17-gentoo-r1, Compiled #1 PREEMPT Mon Jul 3 22:29:51 |
106 |
CEST 2006 |
107 |
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4410.81 Bogomips Total |
108 |
aemaeth |
109 |
-- |
110 |
gentoo-user@g.o mailing list |