From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 21:41:34 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 7C3EF37B401 for ; Fri, 11 Apr 2003 21:41:34 -0700 (PDT) Received: from charibdes.isomedia.com (charibdes.isomedia.com [207.115.64.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D972D43F85 for ; Fri, 11 Apr 2003 21:41:33 -0700 (PDT) (envelope-from xam@isomedia.com) Received: from Wolf (pia150-171.pioneernet.net [66.114.150.171] (may be forged)) (authenticated) by charibdes.isomedia.com (8.11.6/8.11.6) with ESMTP id h3C4fFY22302 for ; Fri, 11 Apr 2003 21:41:15 -0700 From: "Max Guernsey" To: Date: Fri, 11 Apr 2003 21:40:38 -0700 Message-ID: <000001c300ad$adcb4d30$6601a8c0@Wolf> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal In-Reply-To: <20030412040350.DA46E37B404@hub.freebsd.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: RE: freebsd-questions Digest, Vol 3, Issue 23 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: Sat, 12 Apr 2003 04:41:34 -0000 > Message: 15 > Date: Sat, 12 Apr 2003 01:47:23 +0100 > From: Daniel Bye > Subject: Re: Newbie needs help. > To: freebsd-questions@freebsd.org > Message-ID: <20030412004723.GC21606@catflap.home.slightlystrange.org> > Content-Type: text/plain; charset=us-ascii > > On Fri, Apr 11, 2003 at 05:13:58PM -0700, Max Guernsey wrote: > > I've installed FreeBSD 5.0 and when the system reboots I > keep getting > > > > ... inetd[488]: cannot execute /usr/local/sbin/nmbd: No > such file or > > directory ... Inetd[489]: cannot execute > /usr/local/sbin/nmbd: No such > > file or directory > > ... Inetd[490]: cannot execute /usr/local/sbin/nmbd: No such file or > > directory > > > > > > And so on. > > > > I tried to comment out the start of inetd, line 741 of /etc/rc but > > that just caused some other service to choke on > /usr/local/sbin/nmbd. > > Any idea, what's wrong or what I can do to fix the problem? > > Yow! Don't edit /etc/rc! It controls system startup, and as > you found, editing it can break stuff unpredictably. > > Instead, look in /etc/inetd.conf - this controls what > services are available through inetd. Look for the line that > starts nmbd, and simply comment it out, then restart inetd > with something like > > # kill -HUP `cat /var/run/inetd.pid` > > If you have installed Samba (of which nmbd is a constituent > element), you should check that the install was clean, and > edit the path in inetd.conf to point to the correct location, > so that when inetd receives an nmbd request, it can start the > program properly. (Although if you are using Samba, you > should really start smbd and nmbd in standalone mode to help > reduce startup times for each new request.) > > HTH > > Dan > > -- > Daniel Bye > > PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc > PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC > _ > ASCII ribbon > campaign ( ) > - against HTML, vCards and X > - proprietary attachments in > e-mail / \ Dan, Thanks for responding. Is there a way that I can turn off the messages from inetd? You get two or three messages and then there is a 5 or 10 second pause. I hardly have time to do anything. Editing a file is haphazard at best. As the messages keep coming and destroy the the display of the file. How do I check to see if the Samba install was clean?? What do you mean by starting smbd and nmbd in standalone mode? Thanks, Max --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.467 / Virus Database: 266 - Release Date: 4/1/2003