Hervé Hénoch
2012-Jun-29 12:07 UTC
[Samba] Error with samba-tool when upgrading from 3 to 4 / NT_STATUS_IO_TIMEOUT
Hello, I'm upgrading samba3 to samba4 and i've the following error :> /usr/local/samba/bin/samba-tool domain samba3upgrade --dbdir=/root/samba4/samba/ --realm=sc.isc84.org /root/samba4/samba/smb.confno talloc stackframe around, leaking memory Reading smb.conf Provisioning Exporting account policy Exporting groups *Severe DB error, sambaSamAccount can't miss the samba SIDattribute* Ignoring group 'Domain Users' S-1-5-21-1031258178-388409940-3248586695-513 listed but then not found: Unable to enumerate group members, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION) Ignoring group 'Administrators' S-1-5-32-544 listed but then not found: Unable to enumerate members for alias, (-1073741487,NT_STATUS_NO_SUCH_ALIAS) Ignoring group 'Account Operators' S-1-5-32-548 listed but then not found: Unable to enumerate members for alias, (-1073741487,NT_STATUS_NO_SUCH_ALIAS) Ignoring group 'Print Operators' S-1-5-32-550 lNT_STATUS_IO_TIMEOUT isted but then not found: Unable to enumerate members for alias, (-1073741487,NT_STATUS_NO_SUCH_ALIAS) Ignoring group 'Backup Operators' S-1-5-32-551 listed but then not found: Unable to enumerate members for alias, (-1073741487,NT_STATUS_NO_SUCH_ALIAS) Ignoring group 'Replicators' S-1-5-32-552 listed but then not found: Unable to enumerate members for alias, (-1073741487,NT_STATUS_NO_SUCH_ALIAS) Exporting users Could not convert S-1-5-21-1031258178-388409940-3248586695-5444 to SID Skipping wellknown rid=500 (for username=root) Ignoring group memberships of 'nobody' S-1-5-21-1031258178-388409940-3248586695-2998: Unable to enumerate group memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION) Then the process continue and it seems that users are imported ... After this, when I launch samba, DNS is good but I've the following problem : smbclient -L localhost -U% Domain=[SC] OS=[Unix] Server=[Samba 4.0.0beta3-GIT-f3862b9] tree connect failed: NT_STATUS_IO_TIMEOUT Any idea -- Herv? H?noch Responsable informatique Institut Sainte Catherine 1750, chemin du Lavarin, 84000 Avignon T?l?phone : 04.90.27.57.44 Messagerie : h.henoch at isc84.org
Hervé Hénoch
2012-Jun-29 12:24 UTC
[Samba] Error with samba-tool when upgrading from 3 to 4 / NT_STATUS_IO_TIMEOUT
I've this in the logs : ../source3/param/loadparm.c:6337(service_ok) Jun 29 14:11:10 samba4 smbd[2627]: WARNING: No path in service IPC$ - making it unavailable! Jun 29 14:11:10 samba4 smbd[2627]: [2012/06/29 14:11:10.671944, 0] ../source3/smbd/server.c:1266(main) Jun 29 14:11:10 samba4 smbd[2627]: standard input is not a socket, assuming -D option Jun 29 14:11:10 samba4 smbd[2627]: [2012/06/29 14:11:10.672366, 0] ../source3/lib/pidfile.c:154(pidfile_create) Jun 29 14:11:10 samba4 smbd[2627]: ERROR: can't open /usr/local/samba/var/run/smbd-fileserver.conf.pid: Error was Le fichier existe Jun 29 14:11:31 samba4 smbd[2647]: [2012/06/29 14:11:31.356436, 0] ../source3/param/loadparm.c:6337(service_ok) Jun 29 14:11:31 samba4 smbd[2647]: WARNING: No path in service IPC$ - making it unavailable! Jun 29 14:11:31 samba4 smbd[2647]: [2012/06/29 14:11:31.372172, 0] ../source3/smbd/server.c:1266(main) Jun 29 14:11:31 samba4 smbd[2647]: standard input is not a socket, assuming -D option Jun 29 14:11:33 samba4 smbd[2647]: [2012/06/29 14:11:33.223200, 0] ../source3/printing/print_standard.c:68(std_pcap_cache_reload) Jun 29 14:11:33 samba4 smbd[2647]: Unable to open printcap file /etc/printcap for read! Jun 29 14:11:43 samba4 smbd[2662]: [2012/06/29 14:11:43.118319, 0] ../source3/lib/util_sec.c:124(assert_gid) Jun 29 14:11:43 samba4 smbd[2662]: Failed to set gid privileges to (-1,3000004) now set to (0,50884) uid=(0,0) Jun 29 14:11:43 samba4 smbd[2662]: [2012/06/29 14:11:43.118673, 0] ../source3/lib/util.c:863(smb_panic_s3) Jun 29 14:11:43 samba4 smbd[2662]: PANIC (pid 2662): failed to set gid Jun 29 14:11:43 samba4 smbd[2662]: Jun 29 14:11:43 samba4 smbd[2662]: [2012/06/29 14:11:43.120874, 0] ../source3/lib/util.c:974(log_stack_trace) Jun 29 14:11:43 samba4 smbd[2662]: BACKTRACE: 32 stack frames: Jun 29 14:11:43 samba4 smbd[2662]: #0 /usr/local/samba/lib/libsmbconf.so.0(log_stack_trace+0x2b) [0xb71c0abf] Jun 29 14:11:43 samba4 smbd[2662]: #1 /usr/local/samba/lib/libsmbconf.so.0(smb_panic_s3+0x82) [0xb71c092c] Jun 29 14:11:43 samba4 smbd[2662]: #2 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x2a) [0xb778aa95] Jun 29 14:11:43 samba4 smbd[2662]: #3 /usr/local/samba/lib/private/libsamba3-util.so(+0x28d3) [0xb72798d3] Jun 29 14:11:43 samba4 smbd[2662]: #4 /usr/local/samba/lib/private/libsamba3-util.so(set_effective_gid+0x40) [0xb7279a72] Jun 29 14:11:43 samba4 smbd[2662]: #5 /usr/local/samba/lib/private/libsmbd_base.so(+0x10cc8f) [0xb754bc8f] Jun 29 14:11:43 samba4 smbd[2662]: #6 /usr/local/samba/lib/private/libsmbd_base.so(+0x10ccab) [0xb754bcab] Jun 29 14:11:43 samba4 smbd[2662]: #7 /usr/local/samba/lib/private/libsmbd_base.so(+0x10d33c) [0xb754c33c] Jun 29 14:11:43 samba4 smbd[2662]: #8 /usr/local/samba/lib/private/libsmbd_base.so(set_sec_ctx+0x107) [0xb754c449] Jun 29 14:11:43 samba4 smbd[2662]: #9 /usr/local/samba/lib/private/libsmbd_base.so(+0xf6095) [0xb7535095] Jun 29 14:11:43 samba4 smbd[2662]: #10 /usr/local/samba/lib/private/libsmbd_base.so(change_to_user+0x29d) [0xb75353dd] Jun 29 14:11:43 samba4 smbd[2662]: #11 /usr/local/samba/lib/private/libsmbd_base.so(+0x12c065) [0xb756b065] Jun 29 14:11:43 samba4 smbd[2662]: #12 /usr/local/samba/lib/private/libsmbd_base.so(+0x12c99b) [0xb756b99b] Jun 29 14:11:43 samba4 smbd[2662]: #13 /usr/local/samba/lib/private/libsmbd_base.so(make_connection+0x651) [0xb756c240] Jun 29 14:11:43 samba4 smbd[2662]: #14 /usr/local/samba/lib/private/libsmbd_base.so(reply_tcon_and_X+0x43b) [0xb7505e7f] Jun 29 14:11:43 samba4 smbd[2662]: #15 /usr/local/samba/lib/private/libsmbd_base.so(+0x12532e) [0xb756432e] Jun 29 14:11:43 samba4 smbd[2662]: #16 /usr/local/samba/lib/private/libsmbd_base.so(+0x1254b0) [0xb75644b0] Jun 29 14:11:43 samba4 smbd[2662]: #17 /usr/local/samba/lib/private/libsmbd_base.so(+0x125f44) [0xb7564f44] Jun 29 14:11:43 samba4 smbd[2662]: #18 /usr/local/samba/lib/private/libsmbd_base.so(+0x126e60) [0xb7565e60] Jun 29 14:11:43 samba4 smbd[2662]: #19 /usr/local/samba/lib/private/libsmbd_base.so(+0x126ed0) [0xb7565ed0] Jun 29 14:11:43 samba4 smbd[2662]: #20 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x64b) [0xb71dd74c] Jun 29 14:11:43 samba4 smbd[2662]: #21 /usr/local/samba/lib/libsmbconf.so.0(+0x3b9db) [0xb71dd9db] Jun 29 14:11:43 samba4 smbd[2662]: #22 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xdd) [0xb723e463] Jun 29 14:11:43 samba4 smbd[2662]: #23 /usr/local/samba/lib/private/libsmbd_base.so(smbd_process+0x1176) [0xb7569111] Jun 29 14:11:43 samba4 smbd[2662]: #24 /usr/local/samba/sbin/smbd() [0x8050b08] Jun 29 14:11:43 samba4 smbd[2662]: #25 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x64b) [0xb71dd74c] Jun 29 14:11:43 samba4 smbd[2662]: #26 /usr/local/samba/lib/libsmbconf.so.0(+0x3b9db) [0xb71dd9db] Jun 29 14:11:43 samba4 smbd[2662]: #27 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xdd) [0xb723e463] Jun 29 14:11:43 samba4 smbd[2662]: #28 /usr/local/samba/sbin/smbd() [0x805173c] Jun 29 14:11:43 samba4 smbd[2662]: #29 /usr/local/samba/sbin/smbd(main+0x160a) [0x8052eab] Jun 29 14:11:43 samba4 smbd[2662]: #30 /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb6afbe46] Jun 29 14:11:43 samba4 smbd[2662]: #31 /usr/local/samba/sbin/smbd() [0x804c3b1] Jun 29 14:11:43 samba4 smbd[2662]: [2012/06/29 14:11:43.123855, 0] ../source3/lib/util.c:875(smb_panic_s3) Le 29/06/2012 14:07, Herv? H?noch a ?crit :> Hello, > > I'm upgrading samba3 to samba4 and i've the following error : > >> /usr/local/samba/bin/samba-tool domain samba3upgrade >> --dbdir=/root/samba4/samba/ --realm=sc.isc84.org >> /root/samba4/samba/smb.conf > no talloc stackframe around, leaking memory > Reading smb.conf > Provisioning > Exporting account policy > Exporting groups > *Severe DB error, sambaSamAccount can't miss the samba SIDattribute* > Ignoring group 'Domain Users' > S-1-5-21-1031258178-388409940-3248586695-513 listed but then not > found: Unable to enumerate group members, > (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION) > Ignoring group 'Administrators' S-1-5-32-544 listed but then not > found: Unable to enumerate members for alias, > (-1073741487,NT_STATUS_NO_SUCH_ALIAS) > Ignoring group 'Account Operators' S-1-5-32-548 listed but then not > found: Unable to enumerate members for alias, > (-1073741487,NT_STATUS_NO_SUCH_ALIAS) > Ignoring group 'Print Operators' S-1-5-32-550 lNT_STATUS_IO_TIMEOUT > isted but then not found: Unable to enumerate members for alias, > (-1073741487,NT_STATUS_NO_SUCH_ALIAS) > Ignoring group 'Backup Operators' S-1-5-32-551 listed but then not > found: Unable to enumerate members for alias, > (-1073741487,NT_STATUS_NO_SUCH_ALIAS) > Ignoring group 'Replicators' S-1-5-32-552 listed but then not found: > Unable to enumerate members for alias, > (-1073741487,NT_STATUS_NO_SUCH_ALIAS) > Exporting users > Could not convert S-1-5-21-1031258178-388409940-3248586695-5444 to SID > Skipping wellknown rid=500 (for username=root) > Ignoring group memberships of 'nobody' > S-1-5-21-1031258178-388409940-3248586695-2998: Unable to enumerate > group memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION) > > Then the process continue and it seems that users are imported ... > > After this, when I launch samba, DNS is good but I've the following > problem : > > smbclient -L localhost -U% > Domain=[SC] OS=[Unix] Server=[Samba 4.0.0beta3-GIT-f3862b9] > tree connect failed: NT_STATUS_IO_TIMEOUT > > Any idea > >-- Herv? H?noch Responsable informatique Institut Sainte Catherine 1750, chemin du Lavarin, 84000 Avignon T?l?phone : 04.90.27.57.44 Messagerie : h.henoch at isc84.org