From owner-freebsd-questions@FreeBSD.ORG Mon Nov 17 18:00:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8713F16A4CE for ; Mon, 17 Nov 2003 18:00:47 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF1F643F85 for ; Mon, 17 Nov 2003 18:00:46 -0800 (PST) (envelope-from freebsduser@comcast.net) Received: from comcast.net (12-225-143-41.client.attbi.com[12.225.143.41]) by comcast.net (rwcrmhc13) with SMTP id <20031118020046015000slage> (Authid: animotions); Tue, 18 Nov 2003 02:00:46 +0000 Message-ID: <3FB97DC0.5080707@comcast.net> Date: Mon, 17 Nov 2003 18:02:40 -0800 From: K Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <3FB96C0A.60006@comcast.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD-questions Subject: Re: printer/tcp: bind: Address already in use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 02:00:47 -0000 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? > Woa, thanks for the quick response. Yep things are "working" just have the annoying messages (well I haven't had a need to print at this time). When inetd checks its configuration against what is currently running for a given port outside of inetd. Yes, the process is really inetd. Since in the inetd.conf there is the following entry: printer 515/tcp spooler printer 515/udp spooler And the lprng.sh wants to load lpd from /usr/local/sbin. I do have cups-lpr installed but I don't recall this issue arising from it. I killed the lpd process and the renamed lprng.sh to something like lprng.sh.runthisandyoudie. Now inetd doesn't complain. Of course I don't understand what application put it there. I'm sure I checked cups and it appears to not come from that. Renaming it is just like going in to msconfig on Windows and telling not to do it. And since lprng.sh says put in LPD_ENABL="NO" I would expect it to work. But nope. Since I'm not printing at this time I'll just yank out cups and clean it up and reinstall to get it to print to a Windows share.