cups lpstat timing out
paul beard
paulbeard at mac.com
Mon Jan 26 10:59:08 PST 2004
I am trying to troubleshoot some CUPS printing issues (that have
nothing to do with FreeBSD: it prints just fine), and I notice that my
lpstat command doesn't seem to work.
Here's the tail-end of what truss tells me is going on:
fstat(3,0xbfbff4b0) = 0 (0x0)
read(0x3,0x8058000,0x2000) = 205 (0xcd)
read(0x3,0x8058000,0x2000) = 0 (0x0)
close(3) = 0 (0x0)
open("/etc/hosts",0x0,0666) = 3 (0x3)
fstat(3,0xbfbff890) = 0 (0x0)
read(0x3,0x8058000,0x2000) = 540 (0x21c)
close(3) = 0 (0x0)
gettimeofday(0xbfbffa78,0x0) = 0 (0x0)
socket(0x2,0x1,0x0) = 3 (0x3)
fcntl(0x3,0x2,0x1) = 0 (0x0)
setsockopt(0x3,0xffff,0x4,0xbfbffa6c,0x4) = 0 (0x0)
setsockopt(0x3,0xffff,0x200,0xbfbffa6c,0x4) = 0 (0x0)
setsockopt(0x3,0x6,0x1,0xbfbffa6c,0x4) = 0 (0x0)
connect(0x3,{ AF_INET 0.0.0.0:0 },16) ERR#60 'Operation
timed out'
close(3) = 0 (0x0)
lpstat: Unable to connect to server: Operation timed out
writev(0x2,0xbfbffaa0,0x4) = 57 (0x39)
exit(0x1) process exit, rval = 256
As far as I can tell, it is running:
[/usr/ports/print/cups-base]# /usr/local/etc/rc.d/cups.sh status
cups: scheduler is running.
And the http daemon works as well.
Not a big deal but thought you might want to know.
--
Paul Beard
<www.paulbeard.org/>
paulbeard [at] mac.com
More information about the freebsd-ports
mailing list