Re: smb startup
To quote from Kevin Kinsey original post: So, you installed from source, or from the ports/packages system? It reads like you installed from source, to me. I did install samba from the ports... At least it's working now, right? Good catch of the problem! It's working without problems, yes :) If I can help you about this in any other way I would be glad to :) --spen-- - New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: smb startup
spen 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" ?? To quote from your original post: "I have recently setted up fBSD 6.0 stable and installed + configured samba 3, which works fine...up to the point of a restart." So, you installed from source, or from the ports/packages system? It reads like you installed from source, to me. If you installed from source, I would expect that you forgot to tell the configure script where the libraries were, or it was too dumb to find them; if you had used ports/packages, it would have been handled automagically for you (which is the reason to use said system in the first place). If you did indeed install from ports/packages, it would be good to know, because something *might* be broken. But, I *strongly* suspect that it's simply a misconfiguration, unfortunately, on your part --- you installed from source and missed setting the proper location for libs, which, on FreeBSD, is /usr/local/lib for this internationalization lib... At least it's working now, right? Good catch of the problem! Kevin Kinsey -- WARNING TO ALL PERSONNEL: Firings will continue until morale improves. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: smb startup
--On Wednesday, March 22, 2006 06:11:39 -0800 spen <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: smb startup
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.html) Ken Stevenson <[EMAIL PROTECTED]> 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. -- Ken Stevenson Allen-Myland Inc. --spen-- - Yahoo! Mail Use Photomail to share photos without annoying attachments. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: smb startup
spen wrote: Thank you for you answer but unfortunately this didn't work either... if I ps -auwx |grep mbd I get nothing running If I manually start the script : avid# /usr/local/etc/rc.d/samba.sh start Starting SAMBA: removing stale tdbs : Starting nmbd. Starting smbd. avid# avid# avid# ps -auwx | grep mbd root558 0.0 1.1 4828 2712 ?? Ss1:25PM 0:00.01 /usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf root562 0.0 1.8 7492 4500 ?? Ss1:25PM 0:00.01 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf root564 0.0 1.8 7492 4488 ?? S 1:25PM 0:00.00 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf ##my rc.conf## avid# cat /etc/rc.conf # -- sysinstall generated deltas -- # Thu Mar 16 18:21:31 2006 # Created: Thu Mar 16 18:21:31 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter="10.10.10.1" hostname="avid.e-global.gr" ifconfig_xl0="inet 10.10.10.10 netmask 255.255.255.240" sshd_enable="YES" usbd_enable="YES" ###samba start### smbd_enable="YES" nmbd_enable="YES" Riemer Palstra <[EMAIL PROTECTED]> wrote: On Wed, Mar 22, 2006 at 02:10:00AM -0800, spen wrote: ###samba start### samba_enable="YES" should I be adding something else to my rc.conf? Try these instead: smbd_enable="YES" nmbd_enable="YES" 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. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: smb startup
Thank you for you answer but unfortunately this didn't work either... if I ps -auwx |grep mbd I get nothing running If I manually start the script : avid# /usr/local/etc/rc.d/samba.sh start Starting SAMBA: removing stale tdbs : Starting nmbd. Starting smbd. avid# avid# avid# ps -auwx | grep mbd root558 0.0 1.1 4828 2712 ?? Ss1:25PM 0:00.01 /usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf root562 0.0 1.8 7492 4500 ?? Ss1:25PM 0:00.01 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf root564 0.0 1.8 7492 4488 ?? S 1:25PM 0:00.00 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf ##my rc.conf## avid# cat /etc/rc.conf # -- sysinstall generated deltas -- # Thu Mar 16 18:21:31 2006 # Created: Thu Mar 16 18:21:31 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter="10.10.10.1" hostname="avid.e-global.gr" ifconfig_xl0="inet 10.10.10.10 netmask 255.255.255.240" sshd_enable="YES" usbd_enable="YES" ###samba start### smbd_enable="YES" nmbd_enable="YES" Riemer Palstra <[EMAIL PROTECTED]> wrote: On Wed, Mar 22, 2006 at 02:10:00AM -0800, spen wrote: > ###samba start### > samba_enable="YES" > > should I be adding something else to my rc.conf? Try these instead: smbd_enable="YES" nmbd_enable="YES" -- Riemer Palstra Amsterdam, The Netherlands [EMAIL PROTECTED] http://www.palstra.com/ --spen-- - Yahoo! Mail Use Photomail to share photos without annoying attachments. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: smb startup
On Wed, Mar 22, 2006 at 02:10:00AM -0800, spen wrote: > ###samba start### > samba_enable="YES" > > should I be adding something else to my rc.conf? Try these instead: smbd_enable="YES" nmbd_enable="YES" -- Riemer PalstraAmsterdam, The Netherlands [EMAIL PROTECTED]http://www.palstra.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"