On 7/7/06, Francesco Talamona <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
--
[email protected] mailing list
--
Kevin O'Gorman, PhD
--
[email protected] mailing list