printer/tcp: bind: Address already in use

K Anderson freebsduser at comcast.net
Mon Nov 17 18:01:17 PST 2003



Bill Campbell wrote:
> On Mon, Nov 17, 2003, Garance A Drosihn wrote:
> 
>>At 4:47 PM -0800 11/17/03, K Anderson wrote:
>>
>>>Hey there all.
>>>
>>>For quite some time I've been noticing messages on the primary
>>>console as well as the message log.
>>>
>>>  inetd[630]: printer/tcp: bind: Address already in use
>>>
>>>I have cups installed and happen to notice something in the 
>>>/usr/local/etc/rc.d director called lprng.sh. I have, as the
>>>file says, lpd_enabled/lpd_enable equal to NO inside quotes
>>>(yep, inside rc.conf) and the darn thing still starts up.
>>>
>>>Any ideas on fixing?
>>
>>Are things "working", other than the annoying message?
>>
>>Are all the messages from the same process?  And is that
>>process really 'inetd'?  If so, what kind of entries do
>>you have in /etc/inetd.conf?
> 
> 
> You can use ``lsof -i'' to find which process has the port.
> 
> Bill
> --
> INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
> UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
> FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
> URL: http://www.celestial.com/
> 
> ``Now if there is one thing that we do worse than any other nation, it is
> try and manage somebody else's affairs.''
>     Will Rogers
> 
Don't have lsof.
But sockstat would say it was lpd from /usr/local/sbin on the same 
address as *:515

Thanks for the response.



More information about the freebsd-questions mailing list