Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 21:40:38 -0700
From:      "Max Guernsey" <xam@isomedia.com>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: freebsd-questions Digest, Vol 3, Issue 23
Message-ID:  <000001c300ad$adcb4d30$6601a8c0@Wolf>
In-Reply-To: <20030412040350.DA46E37B404@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Message: 15
> Date: Sat, 12 Apr 2003 01:47:23 +0100
> From: Daniel Bye <dan@slightlystrange.org>
> 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c300ad$adcb4d30$6601a8c0>