[clug] Samba backtrace on network copy

Chris Smart chris at kororaa.org
Thu Jul 5 01:32:28 GMT 2007


Hi all,

I have an issue when copying large amounts of small files (say 10,000 or
so) from a Samba share across the network.

On a Windows machine it errors with:
"Configuration information could not be read from the domain controller,
either because the machine is unavailable, or access has been denied.".

Linux just says it can't find the file.

The log file says something like this:

--begin log--

[2007/07/05 09:11:34, 0] lib/util.c:log_stack_trace(1706)
  BACKTRACE: 14 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x1a) [0x5e439a]
   #1 /usr/sbin/smbd(smb_panic+0x34) [0x5e4474]
   #2 /usr/sbin/smbd [0x5e8ff8]
   #3 /usr/sbin/smbd [0x4a5e7a]
   #4 /usr/sbin/smbd(set_sec_ctx+0xf2) [0x4a61c2]
   #5 /usr/sbin/smbd(change_to_user+0x355) [0x49d665]
   #6 /usr/sbin/smbd [0x4b71f0]
   #7 /usr/sbin/smbd(make_connection+0x154) [0x4b8144]
   #8 /usr/sbin/smbd(reply_tcon_and_X+0x1e1) [0x485581]
   #9 /usr/sbin/smbd [0x4b40d3]
   #10 /usr/sbin/smbd(smbd_process+0x6c0) [0x4b52a0]
   #11 /usr/sbin/smbd(main+0xf3e) [0x671a6e]
   #12 /lib/libc.so.6(__libc_start_main+0xf4) [0x2ab0faa638e4]
   #13 /usr/sbin/smbd [0x4508a9]
[2007/07/05 09:11:34, 0] lib/util.c:smb_panic(1607)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 10417]
[2007/07/05 09:11:34, 0] lib/util.c:smb_panic(1615)
  smb_panic(): action returned status 0
[2007/07/05 09:11:34, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/smbd
[2007/07/05 09:11:34, 0] lib/util_sec.c:assert_uid(101)
  Failed to set uid privileges to (-1,1000) now set to (0,0)
[2007/07/05 09:11:34, 0] lib/util.c:smb_panic(1599)
  PANIC (pid 10420): failed to set uid

[2007/07/05 10:35:18, 0] lib/util.c:log_stack_trace(1706)
  BACKTRACE: 14 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x1a) [0x5e439a]
   #1 /usr/sbin/smbd(smb_panic+0x34) [0x5e4474]
   #2 /usr/sbin/smbd [0x5e8ff8]
   #3 /usr/sbin/smbd [0x4a5e7a]
   #4 /usr/sbin/smbd(set_sec_ctx+0xf2) [0x4a61c2]
   #5 /usr/sbin/smbd(change_to_user+0x355) [0x49d665]
   #6 /usr/sbin/smbd [0x4b71f0]
   #7 /usr/sbin/smbd(make_connection+0x154) [0x4b8144]
   #8 /usr/sbin/smbd(reply_tcon_and_X+0x1e1) [0x485581]
   #9 /usr/sbin/smbd [0x4b40d3]
   #10 /usr/sbin/smbd(smbd_process+0x6c0) [0x4b52a0]
   #11 /usr/sbin/smbd(main+0xf3e) [0x671a6e]
   #12 /lib/libc.so.6(__libc_start_main+0xf4) [0x2abfbe8458e4]
   #13 /usr/sbin/smbd [0x4508a9]
[2007/07/05 10:35:18, 0] lib/util.c:smb_panic(1607)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 11739]
[2007/07/05 10:35:18, 0] lib/util.c:smb_panic(1615)
  smb_panic(): action returned status 0
[2007/07/05 10:35:18, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/smbd
[2007/07/05 10:35:18, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 192.168.10.129. Error
Connection reset by peer
[2007/07/05 10:35:18, 0] lib/util_sock.c:send_smb(769)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2007/07/05 10:35:18, 0] lib/util_sec.c:assert_uid(101)
  Failed to set uid privileges to (-1,1003) now set to (0,0)
[2007/07/05 10:35:18, 0] lib/util.c:smb_panic(1599)
  PANIC (pid 11744): failed to set uid

--end log--

Is this an issue that I'm running over the maximum number of processes
allowed for this particular user? I'm not sure why it's getting a uid of
-1.

Last night I started a copy of the entire tree from Linux client (Ubuntu),
which completed successfully - 350,000 files totally 13GB. Yesterday
during the day however and again this morning, it failed again. The only
difference I can think of is lack of multiple users on the system.

Server is Ubuntu 7.04 running Samba 3.0.24-2ubuntu1.2 with users stored in
local db, not running as PDC yet.

Any ideas?

Thanks!
Chris



More information about the linux mailing list