I'm slowly moving stuff over from my old laptop (running a RHEL5.0
equivalent) to the new pixilla one (running RHEL5.4 equiv.) .  I
copied over my /etc/cups directory, and was having problems with
the lpr family of tools:
  
-> lpq
-  lpq: Unable to connect to server

BTW, lpq connects through a few softlinks to /usr/bin/lpq.cups.  
This ain't your grampa's port 515, Bunky!

Without any error log messages anywhere that I could find.  Sigh.
It turns out that it is trying to connect to /var/run/cups/cups.sock
which the older machine did not use ( it only used localhost:631 ).

After much frobbing, wailing, and gnashing of teeth, the fix turned
out to be to add these lines to the file  /etc/cups/cups.conf :

- # Only listen for connections from the local machine.
- Listen localhost:631
- Listen /var/run/cups/cups.sock

All the above is for the record, so that others with this problem
can find a possible solution by googling,  and so the writers of
the cups code can find new ways to make life difficult.

Keith

-- 
Keith Lofstrom          [email protected]         Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to