Hello
I'm in trouble upgrading samba from 3.4.3 to 3.5.2
with Debian Lenny (AMD64)
I use compiled (without error) version if samba with such options
Any info welcome , thanks !
--prefix=/usr/local/samba-3.5.2' '--with-fhs'
'--enable-shared'
'--enable-static' '--disable-pie'
'--with-pammodulesdir=/lib/security'
'--with-pam' '--with-syslog' '--with-ut
mp' '--with-readline' '--with-pam_smbpass'
'--with-libsmbclient'
'--with-winbind' '--with-shared-modules=idmap_rid,idmap_ad'
'--with-automount' '--with-ldap' '--with-cifsmount'
'--with-acl-sup
port' '--with-quotas' '--enable-cups'
'--enable-iprint' '--with-ads'
'--with-sys-quotas' '--with-libtalloc'
'--enable-nss-wrapper'\"
When I start 3.5.2 I get into smb.log.smbd file :
[2010/04/16 10:05:06.796428, 1] passdb/pdb_ldap.c:6676(pdb_init_ldapsam)
pdb_init_ldapsam: Resetting SID for domain ESIEE-1 based on pdb_ldap
results
S-48-0-19-2-16927232-0-8-0-344144352-32717-7245141-0-15740224-0-15722040-0-1-0-341166680-32717-1025-83886080-21-2377439779-4134127133-939838390-0-0-0-0-0-0-0-0-0-0-0-0-16935024-0-16889664-0-15740368-0-15740376-0-15740224-0-15722040-0-7110647-0-15733808-0-0-0-0-0-15736800-0-1-0-7111092-0-15736800-0-1-0-1-0-7121837-0-15733808-0-10616619-0
-> S-1-5-21-2377439779-4134127133-939838390
[2010/04/16 10:05:06.800569, 1] passdb/pdb_ldap.c:6682(pdb_init_ldapsam)
New global sam SID: S-1-5-21-2377439779-4134127133-939838390
[2010/04/16 10:05:06.855109, 0] lib/fault.c:46(fault_report)
==============================================================[2010/04/16
10:05:06.855186, 0] lib/fault.c:47(fault_report)
INTERNAL ERROR: Signal 6 in pid 31709 (3.5.2)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2010/04/16 10:05:06.855236, 0] lib/fault.c:49(fault_report)
From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2010/04/16 10:05:06.855289, 0] lib/fault.c:50(fault_report)
==============================================================[2010/04/16
10:05:06.855322, 0] lib/util.c:1465(smb_panic)
PANIC (pid 31709): internal error
[2010/04/16 10:05:06.925006, 0] lib/util.c:1569(log_stack_trace)
BACKTRACE: 18 stack frames:
#0 /usr/local/samba/sbin/smbd(log_stack_trace+0x1c) [0x71e035]
#1 /usr/local/samba/sbin/smbd(smb_panic+0x55) [0x71e137]
#2 /usr/local/samba/sbin/smbd [0x70ec21]
#3 /lib/libc.so.6 [0x7fcd14516f60]
#4 /lib/libc.so.6(gsignal+0x35) [0x7fcd14516ed5]
#5 /lib/libc.so.6(abort+0x183) [0x7fcd145183f3]
#6 /usr/lib/libtalloc.so.1(talloc_free+0x1f1) [0x7fcd13335bb1]
#7 /usr/lib/libwbclient.so.0(wbcSidToString+0xe6) [0x7fcd14a52ad0]
#8 /usr/lib/libwbclient.so.0(wbcSidToGid+0x62) [0x7fcd14a52258]
#9 /usr/local/samba/sbin/smbd(winbind_sid_to_gid+0x5f) [0x6eb3ec]
#10 /usr/local/samba/sbin/smbd(sid_to_gid+0x115) [0x6cbe77]
#11 /usr/local/samba/sbin/smbd(create_local_nt_token+0x1f9) [0x76f5fe]
#12 /usr/local/samba/sbin/smbd(get_root_nt_token+0x11d) [0x76faea]
#13 /usr/local/samba/sbin/smbd(svcctl_init_keys+0x26) [0x63d756]
#14 /usr/local/samba/sbin/smbd(registry_init_full+0x5e) [0x9f444e]
#15 /usr/local/samba/sbin/smbd(main+0x9df) [0xa2002a]
#16 /lib/libc.so.6(__libc_start_main+0xe6) [0x7fcd145031a6]
#17 /usr/local/samba/sbin/smbd [0x4b28f9]
[2010/04/16 10:05:06.925516, 0] lib/fault.c:312(dump_core)
Can not dump core: corepath not set up
On Fri, Apr 16, 2010 at 10:14:46AM +0200, Frank Bonnet wrote:> I'm in trouble upgrading samba from 3.4.3 to 3.5.2 > with Debian Lenny (AMD64) > > I use compiled (without error) version if samba with such optionsPlease replace the existing libwbclient in /lib with the one you just compiled. Volker
teh library file libwbclient.so.1 is present in the source tree but is not installed by make install I think Do you know which parameter I need to pass to the configure script to enable it ? thanks On 04/16/10 11:30, Volker Lendecke wrote:> On Fri, Apr 16, 2010 at 11:04:11AM +0200, Frank Bonnet wrote: >> There is actually no libwbclient in /lib ... not elsewhere too it seems > > Sorry, I was not precise: The file is called libwbclient.so, > libwbclient.so.1 or another number at the end. You might try > to issue a > > find / -name libwbclient\* > > to find the location of the existing libwbclient. If there > is none, your old Samba installation is just incomplete and > can not have worked. libwbclient is an important component > of the Samba software suite since version 3.2. > > Volker
On 04/16/10 11:30, Volker Lendecke wrote:> find / -name libwbclient\*Or maybe I just have to simply copy it to the /lib directory ?
On Fri, Apr 16, 2010 at 03:48:13PM +0200, Frank Bonnet wrote:> On 04/16/10 11:30, Volker Lendecke wrote: > >find / -name libwbclient\* > > Or maybe I just have to simply copy it to the /lib directory ?Yes. And after that call ldconfig. Volker
On 04/16/10 15:49, Volker Lendecke wrote:> On Fri, Apr 16, 2010 at 03:48:13PM +0200, Frank Bonnet wrote: >> On 04/16/10 11:30, Volker Lendecke wrote: >>> find / -name libwbclient\* >> >> Or maybe I just have to simply copy it to the /lib directory ? > > Yes. And after that call ldconfig. > > VolkerOK thanks a lot for your help :-) Frank
On 04/16/10 15:49, Volker Lendecke wrote:> On Fri, Apr 16, 2010 at 03:48:13PM +0200, Frank Bonnet wrote: >> On 04/16/10 11:30, Volker Lendecke wrote: >>> find / -name libwbclient\* >> >> Or maybe I just have to simply copy it to the /lib directory ? > > Yes. And after that call ldconfig. > > Volkermmh it seems to be present in /usr/local/samba/lib and in the global LD_PRELOAD variable
On 04/16/10 16:03, Frank Bonnet wrote:> On 04/16/10 15:49, Volker Lendecke wrote: >> On Fri, Apr 16, 2010 at 03:48:13PM +0200, Frank Bonnet wrote: >>> On 04/16/10 11:30, Volker Lendecke wrote: >>>> find / -name libwbclient\* >>> >>> Or maybe I just have to simply copy it to the /lib directory ? >> >> Yes. And after that call ldconfig. >> >> Volker > > mmh it seems to be present in /usr/local/samba/lib > and in the global LD_PRELOAD variable > >would it be possible that the old library stay mapped in memory after I stop samba I upgrade samba I restart samba ?
Hello I finally do the following ( at Debian lenny ) create a a file /etc/ld.so.conf.d/samba.conf containing /usr/local/samba/lib reboot the server It works :-) Thanks Volker On 04/16/10 15:49, Volker Lendecke wrote:> On Fri, Apr 16, 2010 at 03:48:13PM +0200, Frank Bonnet wrote: >> On 04/16/10 11:30, Volker Lendecke wrote: >>> find / -name libwbclient\* >> >> Or maybe I just have to simply copy it to the /lib directory ? > > Yes. And after that call ldconfig. > > Volker