Date: Wed, 22 Mar 2006 09:45:42 -0600 From: Paul Schmehl <pauls@utdallas.edu> To: freebsd-questions@freebsd.org Subject: Re: smb startup Message-ID: <A6D9B06B569A14336DA760D9@utd59514.utdallas.edu> In-Reply-To: <20060322141139.58131.qmail@web31104.mail.mud.yahoo.com> References: <20060322141139.58131.qmail@web31104.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--On Wednesday, March 22, 2006 06:11:39 -0800 spen <renas13@yahoo.com> 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 <ken@allenmyland.com> wrote: > The only thing you need in rc.conf is samba_enable="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. 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A6D9B06B569A14336DA760D9>
