* [gentoo-user] Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools
@ 2006-07-07 22:08 Kevin O'Gorman
2006-07-07 22:41 ` [gentoo-user] " Francesco Talamona
2006-07-07 22:44 ` Kevin O'Gorman
0 siblings, 2 replies; 7+ messages in thread
From: Kevin O'Gorman @ 2006-07-07 22:08 UTC (permalink / raw
To: gentoo-user
Yesterday, I emerged cups 1.2.1-r2. Now I cannot print at all.
I use KDE, and the configuration tools cannot make a connection.
Even bare-bones init stuff doesn't work right:
/etc/init.d/cupsd stop
says it stopped the server, but
/etc/init.d/cupsd start
WARNING: "cupsd" has already been started
but 'ps' show that it has NOT been started.
lpstat -t
shows confusing info about my printer:
treat init.d # lpstat -t
scheduler is running
system default destination: lp0
device for lp0: parallel:/dev/lp0
device for lp0: /dev/null
lp0 not accepting requests since Fri Jul 7 14:23:34 2006 -
Paused
lp0 accepting requests since Fri Jul 7 14:15:50 2006
printer lp0 disabled since Fri Jul 7 14:23:34 2006 -
Paused
printer lp0 is idle. enabled since Fri Jul 7 14:15:50 2006
lp0-2458 root 14336 Fri Jul 7 14:21:24 2006
lp0-2459 root 14336 Fri Jul 7 14:55:25 2006
treat init.d #
SO: is it enabled or not?
I guess I'll submit a bug, but I'd like to know if it's best to go
back to cups-1.1.23-r7,
which I had before, and for which I have a binary package.
++ kevin
--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools
2006-07-07 22:08 [gentoo-user] Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools Kevin O'Gorman
@ 2006-07-07 22:41 ` Francesco Talamona
2006-07-08 2:04 ` Kevin O'Gorman
2006-07-07 22:44 ` Kevin O'Gorman
1 sibling, 1 reply; 7+ messages in thread
From: Francesco Talamona @ 2006-07-07 22:41 UTC (permalink / raw
To: gentoo-user
On Saturday 08 July 2006 00:08, Kevin O'Gorman wrote:
> Yesterday, I emerged cups 1.2.1-r2. Now I cannot print at all.
>
> I use KDE, and the configuration tools cannot make a connection.
> Even bare-bones init stuff doesn't work right:
> /etc/init.d/cupsd stop
> says it stopped the server, but
> /etc/init.d/cupsd start
> WARNING: "cupsd" has already been started
>
> but 'ps' show that it has NOT been started.
>
> lpstat -t
> shows confusing info about my printer:
>
>
> treat init.d # lpstat -t
> scheduler is running
> system default destination: lp0
> device for lp0: parallel:/dev/lp0
> device for lp0: /dev/null
> lp0 not accepting requests since Fri Jul 7 14:23:34 2006 -
> Paused
> lp0 accepting requests since Fri Jul 7 14:15:50 2006
> printer lp0 disabled since Fri Jul 7 14:23:34 2006 -
> Paused
> printer lp0 is idle. enabled since Fri Jul 7 14:15:50 2006
> lp0-2458 root 14336 Fri Jul 7 14:21:24
> 2006 lp0-2459 root 14336 Fri Jul 7
> 14:55:25 2006 treat init.d #
>
> SO: is it enabled or not?
Really strange, it seem a cupsd process is responding some way
Is it there something listenting on port 631?
cribrum ~ # /etc/init.d/cupsd stop
* Stopping cupsd ...
[ ok ]
cribrum ~ # lpstat -t
lpstat: Unable to connect to server
> I guess I'll submit a bug, but I'd like to know if it's best to go
> back to cups-1.1.23-r7,
> which I had before, and for which I have a binary package.
Side notes:
1) I had to generate /etc/cups/ssl/server.crt
and /etc/cups/ssl/server.key by hand to connect via https web
interface.
2) did you follow ewarn hints?
[...]
*
* The configuration changed with cups-1.2, you may want to save the old
* one and start from scratch:
* # mv /etc/cups /etc/cups.orig; emerge -va1 cups
*
* You need to rebuild kdelibs for kdeprinter to work with cups-1.2
*
* /usr/lib/cups exists - You need to remerge every ebuild that
* installed into /usr/lib/cups and /etc/cups, qfile is in
portage-utils:
* # FEATURES=-collision-protect emerge -va1
$(qfile -qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::")
*
[...]
ciao
Francesco
--
Linux Version 2.6.17-gentoo-r1, Compiled #1 PREEMPT Mon Jul 3 22:29:51
CEST 2006
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4410.66 Bogomips Total
aemaeth
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools
2006-07-07 22:08 [gentoo-user] Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools Kevin O'Gorman
2006-07-07 22:41 ` [gentoo-user] " Francesco Talamona
@ 2006-07-07 22:44 ` Kevin O'Gorman
1 sibling, 0 replies; 7+ messages in thread
From: Kevin O'Gorman @ 2006-07-07 22:44 UTC (permalink / raw
To: gentoo-user
On 7/7/06, Kevin O'Gorman <kogorman@gmail.com> wrote:
> Yesterday, I emerged cups 1.2.1-r2. Now I cannot print at all.
>
> I use KDE, and the configuration tools cannot make a connection.
> Even bare-bones init stuff doesn't work right:
> /etc/init.d/cupsd stop
> says it stopped the server, but
> /etc/init.d/cupsd start
> WARNING: "cupsd" has already been started
>
> but 'ps' show that it has NOT been started.
>
> lpstat -t
> shows confusing info about my printer:
>
>
> treat init.d # lpstat -t
> scheduler is running
> system default destination: lp0
> device for lp0: parallel:/dev/lp0
> device for lp0: /dev/null
> lp0 not accepting requests since Fri Jul 7 14:23:34 2006 -
> Paused
> lp0 accepting requests since Fri Jul 7 14:15:50 2006
> printer lp0 disabled since Fri Jul 7 14:23:34 2006 -
> Paused
> printer lp0 is idle. enabled since Fri Jul 7 14:15:50 2006
> lp0-2458 root 14336 Fri Jul 7 14:21:24 2006
> lp0-2459 root 14336 Fri Jul 7 14:55:25 2006
> treat init.d #
>
> SO: is it enabled or not?
>
> I guess I'll submit a bug, but I'd like to know if it's best to go
> back to cups-1.1.23-r7,
> which I had before, and for which I have a binary package.
>
> ++ kevin
I spoke too soon, it seems. I was able to get it printing, using the commands
cupsenable(8) and accept(8), and with some minimal tweaking of the printers
config file.
However, it still will not talk to the KDE admin tools, and I have not been able
to get it back to being my print server for my wife's WinXP box (using lpd
services, not samba).
Any help out there?
++ kevin
--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools
2006-07-07 22:41 ` [gentoo-user] " Francesco Talamona
@ 2006-07-08 2:04 ` Kevin O'Gorman
2006-07-08 4:12 ` Kevin O'Gorman
0 siblings, 1 reply; 7+ messages in thread
From: Kevin O'Gorman @ 2006-07-08 2:04 UTC (permalink / raw
To: gentoo-user
This looks like a helpful reply. Too bad I'm so clueless. I seem to
keep finding that there's more homework to do about gentoo, and
I never seem to have the time. So I'm in continual crisis mode.
Details (questions) below:
On 7/7/06, Francesco Talamona <ti.liame@email.it> wrote:
> On Saturday 08 July 2006 00:08, Kevin O'Gorman wrote:
> > Yesterday, I emerged cups 1.2.1-r2. Now I cannot print at all.
> >
> > I use KDE, and the configuration tools cannot make a connection.
> > Even bare-bones init stuff doesn't work right:
> > /etc/init.d/cupsd stop
> > says it stopped the server, but
> > /etc/init.d/cupsd start
> > WARNING: "cupsd" has already been started
> >
> > but 'ps' show that it has NOT been started.
> >
> > lpstat -t
> > shows confusing info about my printer:
> >
> >
> > treat init.d # lpstat -t
> > scheduler is running
> > system default destination: lp0
> > device for lp0: parallel:/dev/lp0
> > device for lp0: /dev/null
> > lp0 not accepting requests since Fri Jul 7 14:23:34 2006 -
> > Paused
> > lp0 accepting requests since Fri Jul 7 14:15:50 2006
> > printer lp0 disabled since Fri Jul 7 14:23:34 2006 -
> > Paused
> > printer lp0 is idle. enabled since Fri Jul 7 14:15:50 2006
> > lp0-2458 root 14336 Fri Jul 7 14:21:24
> > 2006 lp0-2459 root 14336 Fri Jul 7
> > 14:55:25 2006 treat init.d #
> >
> > SO: is it enabled or not?
> Really strange, it seem a cupsd process is responding some way
>
> Is it there something listenting on port 631?
I have no idea. I want it to listen on 515 which is the printer
spooler port that
WinXP has been using up until now.
>
> cribrum ~ # /etc/init.d/cupsd stop
> * Stopping cupsd ...
> [ ok ]
> cribrum ~ # lpstat -t
> lpstat: Unable to connect to server
>
> > I guess I'll submit a bug, but I'd like to know if it's best to go
> > back to cups-1.1.23-r7,
> > which I had before, and for which I have a binary package.
> Side notes:
> 1) I had to generate /etc/cups/ssl/server.crt
> and /etc/cups/ssl/server.key by hand to connect via https web
> interface.
I don't know anything about that. Up until now, I've been doing my admin
either from the command line, or with the minimal KDE tools. Someone
would have to point me at docs for creating such a key and how to
use it.
>
> 2) did you follow ewarn hints?
Where would I find ewarn hints? I know emerge winds up saying some things
on the console that scroll off too fast to read. I always thought that was so
verbose that I'd never have time to look through a normal capture
file. Is there
someplace where the good stuff is distilled?
> [...]
> *
> * The configuration changed with cups-1.2, you may want to save the old
> * one and start from scratch:
> * # mv /etc/cups /etc/cups.orig; emerge -va1 cups
> *
> * You need to rebuild kdelibs for kdeprinter to work with cups-1.2
I can certainly try that.
> *
> * /usr/lib/cups exists - You need to remerge every ebuild that
> * installed into /usr/lib/cups and /etc/cups, qfile is in
> portage-utils:
> * # FEATURES=-collision-protect emerge -va1
> $(qfile -qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::")
> *
Is that one thought or two? Anyway, I need to ask:
1) how do I tell what has "installed into /usr/lib/cups and /etc/cups"
2) What's this qfile thingy?
> [...]
>
> ciao
> Francesco
> --
> Linux Version 2.6.17-gentoo-r1, Compiled #1 PREEMPT Mon Jul 3 22:29:51
> CEST 2006
> One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4410.66 Bogomips Total
> aemaeth
> --
> gentoo-user@gentoo.org mailing list
>
>
--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools
2006-07-08 2:04 ` Kevin O'Gorman
@ 2006-07-08 4:12 ` Kevin O'Gorman
2006-07-08 6:08 ` Francesco Talamona
0 siblings, 1 reply; 7+ messages in thread
From: Kevin O'Gorman @ 2006-07-08 4:12 UTC (permalink / raw
To: gentoo-user
The light dawned... Gotcha! And thanks.
On 7/7/06, Kevin O'Gorman <kogorman@gmail.com> wrote:
> This looks like a helpful reply. Too bad I'm so clueless. I seem to
> keep finding that there's more homework to do about gentoo, and
> I never seem to have the time. So I'm in continual crisis mode.
>
> Details (questions) below:
>
> On 7/7/06, Francesco Talamona <ti.liame@email.it> wrote:
> > On Saturday 08 July 2006 00:08, Kevin O'Gorman wrote:
> > > Yesterday, I emerged cups 1.2.1-r2. Now I cannot print at all.
> > >
> > > I use KDE, and the configuration tools cannot make a connection.
> > > Even bare-bones init stuff doesn't work right:
> > > /etc/init.d/cupsd stop
> > > says it stopped the server, but
> > > /etc/init.d/cupsd start
> > > WARNING: "cupsd" has already been started
> > >
> > > but 'ps' show that it has NOT been started.
> > >
> > > lpstat -t
> > > shows confusing info about my printer:
> > >
> > >
> > > treat init.d # lpstat -t
> > > scheduler is running
> > > system default destination: lp0
> > > device for lp0: parallel:/dev/lp0
> > > device for lp0: /dev/null
> > > lp0 not accepting requests since Fri Jul 7 14:23:34 2006 -
> > > Paused
> > > lp0 accepting requests since Fri Jul 7 14:15:50 2006
> > > printer lp0 disabled since Fri Jul 7 14:23:34 2006 -
> > > Paused
> > > printer lp0 is idle. enabled since Fri Jul 7 14:15:50 2006
> > > lp0-2458 root 14336 Fri Jul 7 14:21:24
> > > 2006 lp0-2459 root 14336 Fri Jul 7
> > > 14:55:25 2006 treat init.d #
> > >
> > > SO: is it enabled or not?
> > Really strange, it seem a cupsd process is responding some way
> >
> > Is it there something listenting on port 631?
>
> I have no idea. I want it to listen on 515 which is the printer
> spooler port that
> WinXP has been using up until now.
>
> >
> > cribrum ~ # /etc/init.d/cupsd stop
> > * Stopping cupsd ...
> > [ ok ]
> > cribrum ~ # lpstat -t
> > lpstat: Unable to connect to server
> >
> > > I guess I'll submit a bug, but I'd like to know if it's best to go
> > > back to cups-1.1.23-r7,
> > > which I had before, and for which I have a binary package.
> > Side notes:
> > 1) I had to generate /etc/cups/ssl/server.crt
> > and /etc/cups/ssl/server.key by hand to connect via https web
> > interface.
>
> I don't know anything about that. Up until now, I've been doing my admin
> either from the command line, or with the minimal KDE tools. Someone
> would have to point me at docs for creating such a key and how to
> use it.
>
> >
> > 2) did you follow ewarn hints?
>
> Where would I find ewarn hints? I know emerge winds up saying some things
> on the console that scroll off too fast to read. I always thought that was so
> verbose that I'd never have time to look through a normal capture
> file. Is there
> someplace where the good stuff is distilled?
>
> > [...]
> > *
> > * The configuration changed with cups-1.2, you may want to save the old
> > * one and start from scratch:
> > * # mv /etc/cups /etc/cups.orig; emerge -va1 cups
> > *
> > * You need to rebuild kdelibs for kdeprinter to work with cups-1.2
>
> I can certainly try that.
>
> > *
> > * /usr/lib/cups exists - You need to remerge every ebuild that
> > * installed into /usr/lib/cups and /etc/cups, qfile is in
> > portage-utils:
> > * # FEATURES=-collision-protect emerge -va1
> > $(qfile -qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::")
> > *
>
> Is that one thought or two? Anyway, I need to ask:
> 1) how do I tell what has "installed into /usr/lib/cups and /etc/cups"
> 2) What's this qfile thingy?
Oops. Scratch that with my apologies. I uncrossed my eyes, and it
started to make sense.
-- I'll emerge portage-utils
-- I'll use qfile to find those pesky packages that plopped parts in cups.
RIght after the emerge of kdelibs, which is right now processing html files
for some reason.
>
> > [...]
> >
> > ciao
> > Francesco
> > --
> > Linux Version 2.6.17-gentoo-r1, Compiled #1 PREEMPT Mon Jul 3 22:29:51
> > CEST 2006
> > One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4410.66 Bogomips Total
> > aemaeth
> > --
> > gentoo-user@gentoo.org mailing list
--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools
2006-07-08 4:12 ` Kevin O'Gorman
@ 2006-07-08 6:08 ` Francesco Talamona
2006-07-08 16:41 ` Kevin O'Gorman
0 siblings, 1 reply; 7+ messages in thread
From: Francesco Talamona @ 2006-07-08 6:08 UTC (permalink / raw
To: gentoo-user
On Saturday 08 July 2006 06:12, Kevin O'Gorman wrote:
> The light dawned... Gotcha! And thanks.
Good!
> On 7/7/06, Kevin O'Gorman <kogorman@gmail.com> wrote:
> > This looks like a helpful reply. Too bad I'm so clueless. I seem
> > to keep finding that there's more homework to do about gentoo, and
> > I never seem to have the time. So I'm in continual crisis mode.
> >
> > Details (questions) below:
> >
> > On 7/7/06, Francesco Talamona <ti.liame@email.it> wrote:
> > > On Saturday 08 July 2006 00:08, Kevin O'Gorman wrote:
> > > > Yesterday, I emerged cups 1.2.1-r2. Now I cannot print at all.
> > > >
> > > > I use KDE, and the configuration tools cannot make a
> > > > connection. Even bare-bones init stuff doesn't work right:
> > > > /etc/init.d/cupsd stop
> > > > says it stopped the server, but
> > > > /etc/init.d/cupsd start
> > > > WARNING: "cupsd" has already been started
> > > >
> > > > but 'ps' show that it has NOT been started.
Try
ps fax | grep cups
ps without options don't show every process
> > > > lpstat -t
> > > > shows confusing info about my printer:
> > > >
> > > >
> > > > treat init.d # lpstat -t
> > > > scheduler is running
> > > > system default destination: lp0
> > > > device for lp0: parallel:/dev/lp0
> > > > device for lp0: /dev/null
> > > > lp0 not accepting requests since Fri Jul 7 14:23:34 2006 -
> > > > Paused
> > > > lp0 accepting requests since Fri Jul 7 14:15:50 2006
> > > > printer lp0 disabled since Fri Jul 7 14:23:34 2006 -
> > > > Paused
> > > > printer lp0 is idle. enabled since Fri Jul 7 14:15:50 2006
> > > > lp0-2458 root 14336 Fri Jul 7
> > > > 14:21:24 2006 lp0-2459 root 14336
> > > > Fri Jul 7 14:55:25 2006 treat init.d #
> > > >
> > > > SO: is it enabled or not?
> > >
> > > Really strange, it seem a cupsd process is responding some way
> > >
> > > Is it there something listenting on port 631?
> >
> > I have no idea. I want it to listen on 515 which is the printer
> > spooler port that
> > WinXP has been using up until now.
Try:
lsof | grep LIS
this command will list all open "files" containing "LIS" (uppercase) in
their name. All LIStening ports and estabLIShed connection will show
up.
> > > cribrum ~ # /etc/init.d/cupsd stop
> > > * Stopping cupsd ...
> > > [ ok ]
> > > cribrum ~ # lpstat -t
> > > lpstat: Unable to connect to server
> > >
> > > > I guess I'll submit a bug, but I'd like to know if it's best to
> > > > go back to cups-1.1.23-r7,
> > > > which I had before, and for which I have a binary package.
> > >
> > > Side notes:
> > > 1) I had to generate /etc/cups/ssl/server.crt
> > > and /etc/cups/ssl/server.key by hand to connect via https web
> > > interface.
> >
> > I don't know anything about that. Up until now, I've been doing my
> > admin either from the command line, or with the minimal KDE tools.
> > Someone would have to point me at docs for creating such a key and
> > how to use it.
<quote>
openssl req -new -x509 -keyout /etc/cups/ssl/server.key \
-out /etc/cups/ssl/server.crt -days 365 -nodes
chmod 600 /etc/cups/ssl/server.*
</quote>
Referrer:
http://www.opensource.apple.com/darwinsource/Current/cups-97.1/ENCRYPTION.txt
It's a bit dated, but works well.
[...]
> -- I'll emerge portage-utils
> -- I'll use qfile to find those pesky packages that plopped parts in
> cups.
>
> RIght after the emerge of kdelibs, which is right now processing html
> files for some reason.
I bet it's the "doc" USE flag.
Ciao
Francesco
--
Linux Version 2.6.17-gentoo-r1, Compiled #1 PREEMPT Mon Jul 3 22:29:51
CEST 2006
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4410.81 Bogomips Total
aemaeth
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools
2006-07-08 6:08 ` Francesco Talamona
@ 2006-07-08 16:41 ` Kevin O'Gorman
0 siblings, 0 replies; 7+ messages in thread
From: Kevin O'Gorman @ 2006-07-08 16:41 UTC (permalink / raw
To: gentoo-user
On 7/7/06, Francesco Talamona <ti.liame@email.it> wrote:
> On Saturday 08 July 2006 06:12, Kevin O'Gorman wrote:
> > The light dawned... Gotcha! And thanks.
> Good!
>
> > On 7/7/06, Kevin O'Gorman <kogorman@gmail.com> wrote:
> > > This looks like a helpful reply. Too bad I'm so clueless. I seem
> > > to keep finding that there's more homework to do about gentoo, and
> > > I never seem to have the time. So I'm in continual crisis mode.
> > >
> > > Details (questions) below:
> > >
> > > On 7/7/06, Francesco Talamona <ti.liame@email.it> wrote:
> > > > On Saturday 08 July 2006 00:08, Kevin O'Gorman wrote:
> > > > > Yesterday, I emerged cups 1.2.1-r2. Now I cannot print at all.
> > > > >
> > > > > I use KDE, and the configuration tools cannot make a
> > > > > connection. Even bare-bones init stuff doesn't work right:
> > > > > /etc/init.d/cupsd stop
> > > > > says it stopped the server, but
> > > > > /etc/init.d/cupsd start
> > > > > WARNING: "cupsd" has already been started
> > > > >
> > > > > but 'ps' show that it has NOT been started.
> Try
> ps fax | grep cups
> ps without options don't show every process
Actually, I usually use
ps axlw | grep cups
In any event, this part has settled down now, probably because of one or more
things that I rebuilt.
>
> > > > > lpstat -t
> > > > > shows confusing info about my printer:
> > > > >
> > > > >
> > > > > treat init.d # lpstat -t
> > > > > scheduler is running
> > > > > system default destination: lp0
> > > > > device for lp0: parallel:/dev/lp0
> > > > > device for lp0: /dev/null
> > > > > lp0 not accepting requests since Fri Jul 7 14:23:34 2006 -
> > > > > Paused
> > > > > lp0 accepting requests since Fri Jul 7 14:15:50 2006
> > > > > printer lp0 disabled since Fri Jul 7 14:23:34 2006 -
> > > > > Paused
> > > > > printer lp0 is idle. enabled since Fri Jul 7 14:15:50 2006
> > > > > lp0-2458 root 14336 Fri Jul 7
> > > > > 14:21:24 2006 lp0-2459 root 14336
> > > > > Fri Jul 7 14:55:25 2006 treat init.d #
> > > > >
> > > > > SO: is it enabled or not?
> > > >
> > > > Really strange, it seem a cupsd process is responding some way
> > > >
> > > > Is it there something listenting on port 631?
> > >
> > > I have no idea. I want it to listen on 515 which is the printer
> > > spooler port that
> > > WinXP has been using up until now.
>
> Try:
> lsof | grep LIS
> this command will list all open "files" containing "LIS" (uppercase) in
> their name. All LIStening ports and estabLIShed connection will show
> up.
This shows only
TCP localhost:ipp
UDP *:ipp
I fooled around with the config file a bit, and uncovered a misunderstanding.
I thought I could put a netmask on Listen lines in the config file.
Apparently,
I'm supposed to put just * or the IP of one of my interfaces. This opens things
up a bit. Nevertheless, cups is complaining a lot (in the error log) about
"address already in use" for cases where I cannot see that this is the case,
even when I wait 10 minutes to restart cups.
I'm going to keep trying things with this confi file. Right now, I've got it to
cupsd 19119 root 0u IPv4 1023028 TCP
*:ipp (LISTEN)
cupsd 19119 root 2u IPv4 1023030 TCP
localhost:printer (LISTEN)
cupsd 19119 root 3u IPv4 1023031 TCP
treat.kosmanor.com:printer (LISTEN)
cupsd 19119 root 4u IPv4 1023033 TCP
lan:printer (LISTEN)
I'm gonna keep working on this.
>
> > > > cribrum ~ # /etc/init.d/cupsd stop
> > > > * Stopping cupsd ...
> > > > [ ok ]
> > > > cribrum ~ # lpstat -t
> > > > lpstat: Unable to connect to server
> > > >
> > > > > I guess I'll submit a bug, but I'd like to know if it's best to
> > > > > go back to cups-1.1.23-r7,
> > > > > which I had before, and for which I have a binary package.
> > > >
> > > > Side notes:
> > > > 1) I had to generate /etc/cups/ssl/server.crt
> > > > and /etc/cups/ssl/server.key by hand to connect via https web
> > > > interface.
> > >
> > > I don't know anything about that. Up until now, I've been doing my
> > > admin either from the command line, or with the minimal KDE tools.
> > > Someone would have to point me at docs for creating such a key and
> > > how to use it.
> <quote>
> openssl req -new -x509 -keyout /etc/cups/ssl/server.key \
> -out /etc/cups/ssl/server.crt -days 365 -nodes
>
> chmod 600 /etc/cups/ssl/server.*
> </quote>
> Referrer:
> http://www.opensource.apple.com/darwinsource/Current/cups-97.1/ENCRYPTION.txt
>
> It's a bit dated, but works well.
>
> [...]
> > -- I'll emerge portage-utils
> > -- I'll use qfile to find those pesky packages that plopped parts in
> > cups.
> >
> > RIght after the emerge of kdelibs, which is right now processing html
> > files for some reason.
> I bet it's the "doc" USE flag.
Probably. I like to generate the stuff, even if the quantity is so great I know
I'll never read it all in my life.
>
> Ciao
> Francesco
> --
> Linux Version 2.6.17-gentoo-r1, Compiled #1 PREEMPT Mon Jul 3 22:29:51
> CEST 2006
> One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4410.81 Bogomips Total
> aemaeth
> --
> gentoo-user@gentoo.org mailing list
>
>
--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-07-08 16:56 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07 22:08 [gentoo-user] Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools Kevin O'Gorman
2006-07-07 22:41 ` [gentoo-user] " Francesco Talamona
2006-07-08 2:04 ` Kevin O'Gorman
2006-07-08 4:12 ` Kevin O'Gorman
2006-07-08 6:08 ` Francesco Talamona
2006-07-08 16:41 ` Kevin O'Gorman
2006-07-07 22:44 ` Kevin O'Gorman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox