smb startup

Paul Schmehl pauls at utdallas.edu
Wed Mar 22 15:45:57 UTC 2006


--On Wednesday, March 22, 2006 06:11:39 -0800 spen <renas13 at 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 at 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 at utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


More information about the freebsd-questions mailing list