From owner-freebsd-questions@FreeBSD.ORG Mon Nov 17 18:26:33 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 4D1C816A4CE for ; Mon, 17 Nov 2003 18:26:33 -0800 (PST) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 490C343FBF for ; Mon, 17 Nov 2003 18:26:32 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.12.10/8.12.9) with ESMTP id hAI2QU7P017184; Mon, 17 Nov 2003 21:26:31 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <3FB97DC0.5080707@comcast.net> References: <3FB96C0A.60006@comcast.net> <3FB97DC0.5080707@comcast.net> Date: Mon, 17 Nov 2003 21:26:29 -0500 To: K Anderson From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) 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:26:33 -0000 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. >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... -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu