Are you sure cups has started properly in the first place? Every now and then you might hit this bug: https://bugzilla.redhat.com/show_bug.cgi?id=103401 which is what the unable to bind messages may point towards.
-- David Kinzel | dakin...@suncor.com | 403-296-4526 -----Original Message----- From: owner-scientific-linux-us...@listserv.fnal.gov [mailto:owner-scientific-linux-us...@listserv.fnal.gov] On Behalf Of Troy Dawson Sent: Monday, September 21, 2009 12:27 PM To: g Cc: sl-users Subject: Re: cups: can not access cups - localhost:631 times out Hi, In reading through the various emails, one thing I don't see is you trying to run system-config-printer That is what I always use to setup my printers. After setting it up there, they just show up in the printers list for firefox and other places. Troy g wrote: > greetings > > after reading 'cups printing setup mini-howto', 2005, by till kamppeter, > i am still having problems getting cups to work. > > [system info, test, errors] > > uname -r = 2.6.18-128.7.1.el5 > > last updated; > yum.log:Jun 04 04:06:08 Updated: cups-libs - 1:1.3.7-8.el5_3.6.i386 > yum.log:Jun 04 04:06:39 Updated: cups - 1:1.3.7-8.el5_3.6.i386 > yum.log:Jun 04 04:06:40 Updated: cups-lpd - 1:1.3.7-8.el5_3.6.i386 > yum.log:Jun 04 04:06:41 Updated: cups-devel - 1:1.3.7-8.el5_3.6.i386 > > services - cupsd is running > > --- > from firefox; host://localhost:631 times out > from konqueror; host://localhost:631 times out > > --- > from v-term, print fails with; > > A print error occurred. Error message receiver from system: > > /usr/bin/lpr -P 'ml4500''-#1''/tmp/kde-geo/kdeprint_oNsom8bE': > execution failed with message: > > /usr/bin/lpr: Connection refused > > --- > from kwrite, print fails with; > > A print error occurred. Error message receiver from system: > > /usr/bin/lpr -P 'ml4500''-#1''/tmp/kde-geo/kdeprint_3KAMxRfY': > execution failed with message: > > /usr/bin/lpr: Connection refused > > --- > /etc/cups/cupsd.conf; > > LogLevel debug > > --- > from /var/log/cups/error, errors are; > > E [17/Sep/2009:12:42:43 +0000] Unable to bind socket for address \ > 127.0.0.1:631 - Cannot assign requested address. > X [17/Sep/2009:12:42:43 +0000] No Listen or Port lines were found to \ > allow access via localhost! > E [17/Sep/2009:13:08:04 +0000] File or directory for "ServerCertificate \ > /etc/cups/ssl/server.crt" on line 145 does not exist! > E [17/Sep/2009:13:08:04 +0000] File or directory for "ServerKey \ > /etc/cups/ssl/server.key" on line 156 does not exist! > > --- > running: > $ lpinfo -v > locks system, have to reset system to get back > > $ cat /proc/sys/dev/parport/parport*/autoprobe* > CLASS:PRINTER; > MODEL:ML-4500; > MANUFACTURER:Samsung; > COMMAND SET:GDI; > > $ ll /dev/lp* > crw-rw---- 1 root lp 6, 0 Sep 18 05:16 /dev/lp0 > > > any and all suggestions welcome. > > tia. > -- __________________________________________________ Troy Dawson daw...@fnal.gov (630)840-6468 Fermilab ComputingDivision/LCSI/CSI LMSS Group __________________________________________________ ----------------------------------- This email communication is intended as a private communication for the sole use of the primary addressee and those individuals listed for copies in the original message. The information contained in this email is private and confidential and if you are not an intended recipient you are hereby notified that copying, forwarding or other dissemination or distribution of this communication by any means is prohibited. If you are not specifically authorized to receive this email and if you believe that you received it in error please notify the original sender immediately. We honour similar requests relating to the privacy of email communications. UK Petro-Canada UK Limited, established under the laws of England and Wales having its registered office at 1 London Bridge, London, SE1 9BG and registered number 00972618. Germany Petro-Canada Germany GmbH is registered with the commercial register of the local court of Essen under HRB 16358, having its registered office at Theodor-Althoff-Str. 41, 45133 Essen, Germany and Managing Directors are Dr. Youssef Ghoniem and Paul Stheeman. Netherlands Petro-Canada Netherlands B.V., having its statutory seat in The Hague, its office address at Binckhorstlaan 410, 2516 BL The Hague, The Netherlands and registered with the Trade Register under number 27120679. Petro-Canada is a Suncor Energy business. ----------------------------------- Cette communication par courrier ?lectronique est une communication priv?e ? l'usage exclusif du destinataire principal ainsi que des personnes dont les noms figurent en copie. Les renseignements contenus dans ce courriel sont confidentiels et si vous n'?tes pas le destinataire pr?vu, vous ?tes avis? par les pr?sentes que toute reproduction, transfert ou autre forme de diffusion de cette communication par quelque moyen que ce soit est interdit. Si vous n'?tes pas sp?cifiquement autoris? ? recevoir ce courriel ou si vous croyez l'avoir re?u par erreur, veuillez en aviser l'exp?diteur original imm?diatement. Nous respectons les demandes similaires qui touchent la confidentialit? des communications par courrier ?lectronique. Royaume-Uni Petro-Canada UK Limited est ?tablie en vertu des lois d'Angleterre et du Pays de Galles, son si?ge social est situ? au 1, London Bridge, Londres, SE1 9BG et son num?ro d'enregistrement est 00972618. Allemagne Petro-Canada Germany GmbH est inscrite au registre du commerce au tribunal local d'Essen sous HRB 16358, son si?ge social est situ? au Theodor-Althoff-Str. 41, 45133 Essen, Allemagne et les administrateurs d?l?gu?s sont Dr. Youssef Ghoniem et Paul Stheeman. Pays-Bas Petro-Canada Netherlands B.V. a son si?ge statuaire ? La Haye, son adresse commerciale au Binckhorstlaan 410, 2516 BL La Haye, Pays-Bas et est inscrite au registre du commerce sous le num?ro 27120679. Petro-Canada est une entreprise de Suncor ?nergie.