[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem with lpr


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("")}, 16) = -1 EADDRINUSE (Address already in use) bind(3, {sa_family=AF_INET, sin_port=htons(1018), sin_addr=inet_addr("")}, 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("")}, 16

My host address is

Any idea ?

Thanks for your help.


Reply to: