problem with lpr
Hello,
I'm running the lpd spooler with Debian Sarge. My kernel version is
2.6.8-4-686-smp (last stock kernel) and the Debian system is up to date.
My problem is with lpr/lpq. For example, sometimes lpq (or lpr) blocks
on connect(), sometimes not, it depends. When I run strace lpq :
bind(3, {sa_family=AF_INET, sin_port=htons(1019),
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
bind(3, {sa_family=AF_INET, sin_port=htons(1018),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
setresgid32(-1, 0, -1) = 0
setresuid32(-1, 0, -1) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(515),
sin_addr=inet_addr("192.168.35.220")}, 16
My host address is 192.168.33.1.
Any idea ?
Thanks for your help.
J-Yves
Reply to: