From owner-freebsd-questions@FreeBSD.ORG Wed Mar 22 15:45:57 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 DAA3F16A401 for ; Wed, 22 Mar 2006 15:45:56 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D94343D46 for ; Wed, 22 Mar 2006 15:45:56 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp1.utdallas.edu (Postfix) with ESMTP id 14575388F12 for ; Wed, 22 Mar 2006 09:45:56 -0600 (CST) Date: Wed, 22 Mar 2006 09:45:42 -0600 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: In-Reply-To: <20060322141139.58131.qmail@web31104.mail.mud.yahoo.com> References: <20060322141139.58131.qmail@web31104.mail.mud.yahoo.com> X-Mailer: Mulberry/4.0.0b4 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========18EE754E71D82073DF56==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: smb startup 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: Wed, 22 Mar 2006 15:45:57 -0000 --==========18EE754E71D82073DF56========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On Wednesday, March 22, 2006 06:11:39 -0800 spen =20 wrote: > > thank you very much for the suggestion. > I checked my dmesg -a and I came up with these errors concerning samba: > ------------------------------------------------------------------------- > ------------------ Starting SAMBA: removing stale tdbs : > Starting nmbd. > /libexec/ld-elf.so.1: > Shared object "libintl.so.6" not found, required by "libpopt.so.0" > > Starting smbd. > /libexec/ld-elf.so.1: > Shared object "libintl.so.6" not found, required by "libpopt.so.0" > > ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib > a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout > ------------------------------------------------------------------------- > ------------------ > > so I acted : > > avid# locate libintl.so.6 > /usr/local/lib/libintl.so.6 > avid# cp /usr/local/lib/libintl.so.6 /usr/lib/libintl.so.6 > avid# reboot > > and smb started normally... > so I guess --read the errors--!! > but, why didn't it find the "/usr/local/lib/libintl.so.6" and had to be > copied to "/usr/lib" ?? > > (I found a similar situation here --> > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2004-12/1060.ht > ml) > > Ken Stevenson wrote: > The only thing you need in rc.conf is samba_enable=3D"YES". > > If you do a dmesg -a, do you see any Samba related startup errors? If > not, how about the log files in /var/log/samba? > > It sounds like Samba is failing at startup because it requires > something that's not available yet (like DNS). After your machine is > finished booting, it has the environment it requires. That is odd, because the rc script requires ldconfig before starting.=20 Does ldconfig run before the script tries to start samba? Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========18EE754E71D82073DF56==========--