From owner-freebsd-questions@FreeBSD.ORG Sun Jan 15 19:07:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 2677A16A41F for ; Sun, 15 Jan 2006 19:07:39 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: from lmail.bathnetworks.co.uk (mail.bathnetworks.com [84.92.24.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32AB643D45 for ; Sun, 15 Jan 2006 19:07:37 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: (qmail 23392 invoked by uid 510); 15 Jan 2006 19:07:36 +0000 Received: from 84.92.24.252 by lmail.bathnetworks.co.uk (envelope-from , uid 508) with qmail-scanner-1.24-st-qms (clamdscan: 0.87/1146. spamassassin: 3.0.2. perlscan: 1.24-st-qms. Clear:RC:0(84.92.24.252):SA:0(-3.8/5.0):. Processed in 6.318278 secs); 15 Jan 2006 19:07:36 -0000 X-Spam-Status: No, hits=-3.8 required=5.0 X-Antivirus-MYDOMAIN-Mail-From: bsd@bathnetworks.com via lmail.bathnetworks.co.uk X-Antivirus-MYDOMAIN: 1.24-st-qms (Clear:RC:0(84.92.24.252):SA:0(-3.8/5.0):. Processed in 6.318278 secs Process 23385) Received: from mail.bathnetworks.com (HELO ?84.92.24.252?) (bsd@bathnetworks.com@84.92.24.252) by lmail.bathnetworks.co.uk with SMTP; 15 Jan 2006 19:07:30 +0000 From: Robert Slade To: je killen In-Reply-To: <40cbe55e9104b460fbf612695894e6e0@prodigy.net> References: <40cbe55e9104b460fbf612695894e6e0@prodigy.net> Content-Type: text/plain Message-Id: <1137352049.22420.12.camel@lmail.bathnetworks.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sun, 15 Jan 2006 19:07:30 +0000 Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: message appears at prompt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2006 19:07:39 -0000 On Sun, 2006-01-15 at 18:50, je killen wrote: > The following messages are appearing at my terminal on a frequent basis: > > (Jan 15 09:23:05 e-mach login: ROOT LOGIN (root) ON ttyv0 > Jan 15 09:25:43 e-mach login: ROOT LOGIN (root) ON ttyv0 ....preceeding > from /var/log/messages) > (these are the messages of concern:) > Jan 15 09:32:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use > Jan 15 09:42:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use > Jan 15 09:52:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use > The question is: > What is going on here? > It appears to be a conflict as one process is trying to bind to an > address that is being used by another process > However, I don't know if that is what 'bind' is in this context. If it > doesn't mean DNS BIND then that eliminates > that possibility. > Please excuse my newbe question but I hope it doesn't mean that > someone's script has snuck onto my > machine from the network and beyond. These messages are appearing when > the proxy/router machine > is not even turned on. > I would chase this down myself and not use the list but I don't know > enough of where to look. > The only clue I have is that sshd starts on boot and is also enabled in > inetd.conf. Could this > be the conflict? > Thanks so much > JK > Hi JK, You have probably got sshd enabled twice, once in rc.conf and once in inetd. What is happening is that the 2nd copy of sshd enabled in inetd is trying to bind to the adresses already in use by the 1st copy enabled in /etc/rc.conf. One of the things is that BSD tends to use is the rc.d route to start apps whereas linux tends to use the inetd route. Note there is no run levels as such in bsd. Once you get used to it it quite simple to pop a script into /usr/local/etc/rc.d and call it from /etc/rc.conf with a something_enable="YES" Rob Rob