From owner-freebsd-questions@FreeBSD.ORG Mon Nov 17 19:28:00 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 48C4416A4D0 for ; Mon, 17 Nov 2003 19:28:00 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82F3B43F85 for ; Mon, 17 Nov 2003 19:27:58 -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 <2003111803275701500pgtoje> (Authid: animotions); Tue, 18 Nov 2003 03:27:58 +0000 Message-ID: <3FB99234.4020208@comcast.net> Date: Mon, 17 Nov 2003 19:29:56 -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> <3FB97DC0.5080707@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 03:28:00 -0000 Garance A Drosihn wrote: > At 6:02 PM -0800 11/17/03, K Anderson wrote: > >> Garance A Drosihn wrote: >> >>> >>> 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. > > > Just a matter of luck... :-) > >> >> Yes, the process is really inetd. Since in the inetd.conf >> there is the following entry: >> printer 515/tcp spooler >> printer 515/udp spooler > > > Are those lines really in your /etc/inetd.conf file? Those > look more like lines from /etc/services. > Oh, right. Sorry. inetd.conf says.... printer stream tcp nowait daemon /usr/local/libexec/cups/daemon/cups-lpd cups-lpd >> 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 have no experience with cups-lpr or lprng, so I'm not sure > what would be causing the problems you described. But anything > named /usr/local/etc/rc.d/blah.sh will be executed at startup. > (well, if it is marked as executable). I don't think inetd > enters into that. But maybe the script launches another copy > of inetd with a different config file. > >> 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. > > > Try: > > pkg_info -W /usr/local/etc/rc.d/lprng.sh > or > pkg_which /usr/local/etc/rc.d/lprng.sh > > (pkg_which is under /usr/local/sbin, if you've installed > the portupgrade port). You might have to move the file > back to it's original name for those commands to work... > Had to do with something called LPRng. I don't recall how it was put there. So I uninstalled it and it didn't complain about any dependencies. So now the offender is removed. Such confusion. hehehe.