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

> > > > 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

Reply via email to