From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 17:47: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 AE7A937B401 for ; Fri, 11 Apr 2003 17:47:31 -0700 (PDT) Received: from catflap.home.slightlystrange.org (pc1-cmbg1-4-cust43.cmbg.cable.ntl.com [62.253.133.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id D956143FB1 for ; Fri, 11 Apr 2003 17:47:30 -0700 (PDT) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 1949Ay-0005ip-00 for freebsd-questions@freebsd.org; Sat, 12 Apr 2003 01:47:24 +0100 Date: Sat, 12 Apr 2003 01:47:23 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20030412004723.GC21606@catflap.home.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <000301c30088$6cdfbba0$6601a8c0@Wolf> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000301c30088$6cdfbba0$6601a8c0@Wolf> User-Agent: Mutt/1.4i X-Scanner: exiscan *1949Ay-0005ip-00*D1oMgn67x8U* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) Subject: Re: Newbie needs help. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dan@slightlystrange.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2003 00:47:33 -0000 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 / \