From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Fz66j-0002UA-8k for garchives@archives.gentoo.org; Sat, 08 Jul 2006 06:16:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k686EXmt019935; Sat, 8 Jul 2006 06:14:33 GMT Received: from aa003msr.fastwebnet.it (aa003msr.fastwebnet.it [85.18.95.66]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6868PNw030253 for ; Sat, 8 Jul 2006 06:08:25 GMT Received: from [1.36.68.34] (1.36.68.34) by aa003msr.fastwebnet.it (7.2.070.1) id 44A8F36D0035286D for gentoo-user@lists.gentoo.org; Sat, 8 Jul 2006 08:08:25 +0200 From: Francesco Talamona To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools Date: Sat, 8 Jul 2006 08:08:23 +0200 User-Agent: KMail/1.9.3 References: <9acccfe50607071508k5331c3ben538a94186210d3fe@mail.gmail.com> <9acccfe50607071904n4ce534bco21eb08a80bcfa841@mail.gmail.com> <9acccfe50607072112y663e35fev35a5e7c6638f9587@mail.gmail.com> In-Reply-To: <9acccfe50607072112y663e35fev35a5e7c6638f9587@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607080808.24392.ti.liame@email.it> X-Archives-Salt: 4dc19d0f-6047-469f-8d5c-932919abf0c2 X-Archives-Hash: 57d1d64f82c35d04d4a74b42989a650b 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 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 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. 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.* 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