[Samba] Bug(?) in Samba 3.6.0
Hi, When I connect to my machine via samba to a share (to the root volume, /home/$USER), samba must stat()? all file systems and it wakes my my RAID subsystem (also shared in smb.conf) but not accessed. Is there anyway to prevent this? Windows - Access \\myserver\ssd\user Linux - Samba wakes up a sleeping RAID: Sep 03, 2011 01:32:37PM - Controller 1 INFORMATION - Unit now in active mode: unit=0 Justin. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Bug in 3.6.0 saving files.
Hi, If you open a word document on a Windows 7 PC on a samba share and attempt to save it (or ppt, etc) it will fail (SMB2 enabled). Go back to 3.5.10, it works fine (SMB2 removed obviously). Not sure if anyone has seen this but FYI. Happens with Office 2007 2010. Justin. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] samba 3.6.0 core dump
On Thu, 18 Aug 2011, Jeremy Allison wrote: On Sat, Aug 13, 2011 at 01:18:00PM -0400, Justin Piszcz wrote: Hello, Any thoughts on what is causing this? Aug 13 12:42:00 box smbd[29073]: [2011/08/13 12:42:00.489676, 0] lib/fault.c:47(fault_report) Aug 13 12:42:00 box smbd[29073]: === Aug 13 12:42:00 box smbd[29073]: [2011/08/13 12:42:00.490368, 0] lib/fault.c:48(fault_report) Aug 13 12:42:00 box smbd[29073]: INTERNAL ERROR: Signal 11 in pid 29073 (3.6.0) Aug 13 12:42:00 box smbd[29073]: Please read the Trouble-Shooting section of the Samba3-HOWTO Aug 13 12:42:00 box smbd[29073]: [2011/08/13 12:42:00.490448, 0] lib/fault.c:50(fault_report) Aug 13 12:42:00 box smbd[29073]: Aug 13 12:42:00 box smbd[29073]: From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf Aug 13 12:42:00 box smbd[29073]: [2011/08/13 12:42:00.490516, 0] lib/fault.c:51(fault_report) Aug 13 12:42:00 box smbd[29073]: === Aug Can you install with debug symbols, and then add the line: panic action = /bin/sleep 999 to the [global] section of your smb.conf. Once it crashes, this will cause the crashed process to stay around waiting for the sleep process to finish. Find the crashed process using ps (it'll be the parent of the sleep) then attach to it using gdb - then type bt which will give a full backtrace with symbols - allowing us to track it down much more easily. Thanks ! Jeremy. Hello, This is done, will do if it crashes again, thanks. Justin. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] samba 3.6.0 core dump
Hello, Any thoughts on what is causing this? Aug 13 12:42:00 box smbd[29073]: [2011/08/13 12:42:00.489676, 0] lib/fault.c:47(fault_report) Aug 13 12:42:00 box smbd[29073]: === Aug 13 12:42:00 box smbd[29073]: [2011/08/13 12:42:00.490368, 0] lib/fault.c:48(fault_report) Aug 13 12:42:00 box smbd[29073]: INTERNAL ERROR: Signal 11 in pid 29073 (3.6.0) Aug 13 12:42:00 box smbd[29073]: Please read the Trouble-Shooting section of the Samba3-HOWTO Aug 13 12:42:00 box smbd[29073]: [2011/08/13 12:42:00.490448, 0] lib/fault.c:50(fault_report) Aug 13 12:42:00 box smbd[29073]: Aug 13 12:42:00 box smbd[29073]: From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf Aug 13 12:42:00 box smbd[29073]: [2011/08/13 12:42:00.490516, 0] lib/fault.c:51(fault_report) Aug 13 12:42:00 box smbd[29073]: === Aug 13 12:42:00 box smbd[29073]: [2011/08/13 12:42:00.490563, 0] lib/util.c:1116(smb_panic) Aug 13 12:42:00 box smbd[29073]: PANIC (pid 29073): internal error Aug 13 12:42:00 box smbd[29073]: [2011/08/13 12:42:00.502997, 0] lib/util.c:1220(log_stack_trace) Aug 13 12:42:00 box smbd[29073]: BACKTRACE: 29 stack frames: Aug 13 12:42:00 box smbd[29073]:#0 /usr/sbin/smbd(log_stack_trace+0x1a) [0x7f1ecc85fbda] Aug 13 12:42:00 box smbd[29073]:#1 /usr/sbin/smbd(smb_panic+0x25) [0x7f1ecc85fcb5] Aug 13 12:42:00 box smbd[29073]:#2 /usr/sbin/smbd(+0x4202b8) [0x7f1ecc8512b8] Aug 13 12:42:00 box smbd[29073]:#3 /lib/x86_64-linux-gnu/libc.so.6(+0x32480) [0x7f1ec91fe480] Aug 13 12:42:00 box smbd[29073]:#4 /usr/sbin/smbd(+0x11bc52) [0x7f1ecc54cc52] Aug 13 12:42:00 box smbd[29073]:#5 /usr/sbin/smbd(dptr_CloseDir+0x47) [0x7f1ecc54d437] Aug 13 12:42:00 box smbd[29073]:#6 /usr/sbin/smbd(fd_close+0x13) [0x7f1ecc59b843] Aug 13 12:42:00 box smbd[29073]:#7 /usr/sbin/smbd(close_file+0x218) [0x7f1ecc5a30e8] Aug 13 12:42:00 box smbd[29073]:#8 /usr/sbin/smbd(file_close_conn+0x4c) [0x7f1ecc549e7c] Aug 13 12:42:00 box smbd[29073]:#9 /usr/sbin/smbd(close_cnum+0x2c) [0x7f1ecc5bf26c] Aug 13 12:42:00 box smbd[29073]:#10 /usr/sbin/smbd(+0x19e884) [0x7f1ecc5cf884] Aug 13 12:42:00 box smbd[29073]:#11 /usr/lib/x86_64-linux-gnu/libtalloc.so.2(_talloc_free+0x3f5) [0x7f1ec9b88905] Aug 13 12:42:00 box smbd[29073]:#12 /usr/sbin/smbd(smbd_smb2_request_process_tdis+0x60) [0x7f1ecc5d0250] Aug 13 12:42:00 box smbd[29073]:#13 /usr/sbin/smbd(smbd_smb2_request_dispatch+0x2ee) [0x7f1ecc5cba5e] Aug 13 12:42:00 box smbd[29073]:#14 /usr/sbin/smbd(+0x19b7bd) [0x7f1ecc5cc7bd] Aug 13 12:42:00 box smbd[29073]:#15 /usr/sbin/smbd(+0x199440) [0x7f1ecc5ca440] Aug 13 12:42:00 box smbd[29073]:#16 /usr/sbin/smbd(+0x236902) [0x7f1ecc667902] Aug 13 12:42:00 box smbd[29073]:#17 /usr/sbin/smbd(+0x2363e4) [0x7f1ecc6673e4] Aug 13 12:42:00 box smbd[29073]:#18 /usr/sbin/smbd(+0x235344) [0x7f1ecc666344] Aug 13 12:42:00 box smbd[29073]:#19 /usr/sbin/smbd(tevent_common_loop_immediate+0xe2) [0x7f1ecc870da2] Aug 13 12:42:00 box smbd[29073]:#20 /usr/sbin/smbd(run_events_poll+0x48) [0x7f1ecc86ee98] Aug 13 12:42:00 box smbd[29073]:#21 /usr/sbin/smbd(smbd_process+0xd5b) [0x7f1ecc5bc07b] Aug 13 12:42:00 box smbd[29073]:#22 /usr/sbin/smbd(+0x6a01ef) [0x7f1eccad11ef] Aug 13 12:42:00 box smbd[29073]:#23 /usr/sbin/smbd(run_events_poll+0x34e) [0x7f1ecc86f19e] Aug 13 12:42:00 box smbd[29073]:#24 /usr/sbin/smbd(+0x43e33a) [0x7f1ecc86f33a] Aug 13 12:42:00 box smbd[29073]:#25 /usr/sbin/smbd(_tevent_loop_once+0x90) [0x7f1ecc86fec0] Aug 13 12:42:00 box smbd[29073]:#26 /usr/sbin/smbd(main+0xef6) [0x7f1ecc53adc6] Aug 13 12:42:00 box smbd[29073]:#27 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f1ec91eaead] Aug 13 12:42:00 box smbd[29073]:#28 /usr/sbin/smbd(+0x10a271) [0x7f1ecc53b271] Aug 13 12:42:00 box smbd[29073]: [2011/08/13 12:42:00.504115, 0] lib/fault.c:372(dump_core) Aug 13 12:42:00 box smbd[29073]: dumping core in /var/log/samba/cores/smbd Aug 13 12:42:00 box smbd[29073]: Backtrace: Core was generated by `/usr/sbin/smbd -D'. Program terminated with signal 6, Aborted. #0 0x7f1ec91fe405 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt full #0 0x7f1ec91fe405 in raise () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1 0x7f1ec9201680 in abort () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #2 0x7f1ecc85196b in dump_core () No symbol table info available. #3 0x7f1ecc85fcf1 in smb_panic () No symbol table info available. #4 0x7f1ecc8512b8 in ?? () No symbol table info available. #5 signal handler called No symbol table info available. #6 0x7f1ecc54cc52 in ?? () No symbol table info available. #7 0x7f1ecc54d437 in dptr_CloseDir () No symbol table info available. #8 0x7f1ecc59b843 in fd_close () No symbol
Re: [Samba] Vista clients having Issues Copying files from Samba Server
On Sun, 13 Dec 2009, Anthony Giggins wrote: Hello, I'm running samba-3.0.33 (samba-3.0.33-3.15.el5_4) On Centos 5.4 and some files have issues being copied from the Samba server to the Vista (Service Pack 1) clients local disk via Windows Explorer, copying too the Samba server also has no issues and copying via the CMD prompt has no problem, I'm getting the following errors 1. Invalid MS-DOS Function http://seven.dorksville.net/gallery/v/Misc+Photos/image001.png.html 2. invalid file handle (When you click Try Again) http://seven.dorksville.net/gallery/v/Misc+Photos/image002.png.html It will then cycle through these 2 errors each time you click try again. Windows XP does not have any issues with the same files and other files also dont have an issue to the Vista Clients. There are also the following logs generated on the server that correspond to these errors lib/util_sock.c:send_smb(761) Error writing 75 bytes to client. -1. (Broken pipe) lib/util_sock.c:write_data(562) write_data: write failure in writing to client 192.168.0.237. Error Broken pipe lib/util_sock.c:write_data(562) write_data: write failure in writing to client 192.168.0.240. Error Broken pipe Any help or suggestions would be greatly apprieciated. Regards, Anthony Seeing as I got not replies I went and upgraded to 3.2.15 from sernet http://ftp.sernet.de/pub/samba/tested/centos/5/repodata/index.html And I'm seeing the same errors on the vista side but here are the logs from the server, Dec 13 11:16:39 newsrv smbd[32555]: [2009/12/13 11:16:39, 0] lib/util_sock.c:read_socket_with_timeout(939) Dec 13 11:16:39 newsrv smbd[32555]: [2009/12/13 11:16:39, 0] lib/util_sock.c:get_peer_addr_internal(1676) Dec 13 11:16:39 newsrv smbd[32555]: getpeername failed. Error was Transport endpoint is not connected Dec 13 11:16:39 newsrv smbd[32555]: read_socket_with_timeout: client 0.0.0.0 read error = Connection reset by peer. are there any known issues with Vista? and is there any known working minimum version? I see the same thing with Windows 7 Vista: Dec 13 06:27:11 svr smbd[28206]: [2009/12/13 06:27:11, 0] lib/util_sock.c:539(read_fd_with_timeout) Dec 13 06:27:11 svr smbd[28206]: [2009/12/13 06:27:11, 0] lib/util_sock.c:1491(get_peer_addr_internal) Dec 13 06:27:11 svr smbd[28206]: getpeername failed. Error was Transport endpoint is not connected Dec 13 06:27:11 svr smbd[28206]: read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer. Justin. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] samba 3.4.2-1: ERROR! Out of file structures
Hello, When performing a lot of file I/O on a samba share, I see the following: Nov 15 16:01:47 l1 smbd[31472]: ERROR! Out of file structures Nov 15 16:01:49 l1 smbd[31472]: [2009/11/15 16:01:49, 0] smbd/files.c:61(file_new) Nov 15 16:01:49 l1 smbd[31472]: ERROR! Out of file structures Nov 15 16:01:49 l1 smbd[31472]: [2009/11/15 16:01:49, 0] smbd/files.c:61(file_new) Nov 15 16:01:49 l1 smbd[31472]: ERROR! Out of file structures Nov 15 16:01:49 l1 smbd[31472]: [2009/11/15 16:01:49, 0] smbd/files.c:61(file_new) Nov 15 16:01:49 l1 smbd[31472]: ERROR! Out of file structures Nov 15 16:01:49 l1 smbd[31472]: [2009/11/15 16:01:49, 0] smbd/files.c:61(file_new) Nov 15 16:01:49 l1 smbd[31472]: ERROR! Out of file structures Nov 15 16:01:49 l1 smbd[31472]: [2009/11/15 16:01:49, 0] smbd/files.c:61(file_new) Nov 15 16:01:49 l1 smbd[31472]: ERROR! Out of file structures Is the proper fix to, e.g.: ulimit -n 32768 before starting samba? Or is there a samba-specific option that should be used instead? Justin. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Broken pipe in Samba logs when using Samba with Windows 7 x64?
Hello, After upgrading a host from XP/32 to Windows 7/64, I see the following entries in the logs, what is the root cause of this issue? Nov 14 10:10:18 l1 smbd[6174]: getpeername failed. Error was Transport endpoint is not connected Nov 14 10:10:18 l1 smbd[6174]: write_data: write failure in writing to client 0.0.0.0. Error Broken pipe Nov 14 10:10:18 l1 smbd[6174]: [2009/11/14 10:10:18, 0] smbd/process.c:62(srv_send_smb) Nov 14 10:10:18 l1 smbd[6174]: Error writing 75 bytes to client. -1. (Transport endpoint is not connected) Nov 14 10:10:18 l1 smbd[6174]: [2009/11/14 10:10:18, 0] lib/util_sock.c:738(write_data) Nov 14 10:10:18 l1 smbd[6174]: [2009/11/14 10:10:18, 0] lib/util_sock.c:1491(get_peer_addr_internal) Nov 14 10:10:18 l1 smbd[6174]: getpeername failed. Error was Transport endpoint is not connected Nov 14 10:10:18 l1 smbd[6174]: write_data: write failure in writing to client 0.0.0.0. Error Broken pipe Nov 14 10:10:18 l1 smbd[6174]: [2009/11/14 10:10:18, 0] smbd/process.c:62(srv_send_smb) Nov 14 10:10:18 l1 smbd[6174]: Error writing 75 bytes to client. -1. (Transport endpoint is not connected) Nov 14 10:10:18 l1 smbd[6174]: [2009/11/14 10:10:18, 0] lib/util_sock.c:738(write_data) Nov 14 10:10:18 l1 smbd[6174]: [2009/11/14 10:10:18, 0] lib/util_sock.c:1491(get_peer_addr_internal) Nov 17 13:26:23 l1 smbd[19701]: [2009/11/17 13:26:23, 0] lib/util_sock.c:539(read_fd_with_timeout) Nov 17 13:26:23 l1 smbd[19701]: [2009/11/17 13:26:23, 0] lib/util_sock.c:1491(get_peer_addr_internal) Nov 17 13:26:23 l1 smbd[19701]: getpeername failed. Error was Transport endpoint is not connected Nov 17 13:26:23 l1 smbd[19701]: read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer. Justin. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba Shortfalls?
Hello, 1) Can not support .chm help files 2) Does not support locks for multi-user access to Access 3) Does support URLs from windows with '%' in the path 4) Numerous problems with multiple users accessing same folder. Comments/suggestions for fixing the above mentioned problems? Justin. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] samba 3.0.26a-1 / Debian/Lenny sendfile(?) performance problems
Package: samba Version: 3.0.26a-1 Kernel: 2.6.22 samba 3.0.26a-1 performance 900 KiB/s, but FTP = 30-90 MiB/s Let me start out by saing this is an oddball problem: SAMBA: LINUX - WINDOWS = 900 KiB/s (varies between 100 - 900 KiB/s) WINDOWS - LINUX = 30-90 MiB/s (always) FTP: Either direction, 30-90 MiB/s (always) I do not see any nasty errors in the logs even with verbose = 5. Any ideas here? I am not using any special options. # cat /etc/samba/smb.conf [global] log level = 5 workgroup = WORKGROUP server string = %h - Pentium IV 3.4GHZ security = user encrypt passwords = true [user] comment = user path= /home/user writable= yes valid users = user create mask = 644 -- Here, FTP for pulling files from Linux. ftp mget * 200 TYPE is now 8-bit binary 200 PORT command successful 150-Connecting to port 1255 150 715924.0 kbytes to download 226-File successfully transferred 226 13.687 seconds (measured here), 51.08 Mbytes per second ftp: 733106176 bytes received in 13.69Seconds 53562.23Kbytes/sec. 200 PORT command successful 150-Connecting to port 1256 150 716272.0 kbytes to download 226-File successfully transferred 226 13.032 seconds (measured here), 53.67 Mbytes per second ftp: 733462528 bytes received in 13.05Seconds 56216.95Kbytes/sec. 200 PORT command successful 150-Connecting to port 1257 150 713200.0 kbytes to download 226-File successfully transferred 226 12.869 seconds (measured here), 54.12 Mbytes per second ftp: 730316800 bytes received in 12.88Seconds 56723.63Kbytes/sec. Here, FTP for pushing files to Linux. ftp mput 1 2 3 200 PORT command successful 150 Connecting to port 1263 226-File successfully transferred 226 12.802 seconds (measured here), 54.61 Mbytes per second ftp: 733106176 bytes sent in 12.80Seconds 57287.35Kbytes/sec. 200 PORT command successful 150 Connecting to port 1264 226-File successfully transferred 226 12.949 seconds (measured here), 54.02 Mbytes per second ftp: 733462528 bytes sent in 12.95Seconds 56624.92Kbytes/sec. 200 PORT command successful 150 Connecting to port 1265 226-File successfully transferred 226 15.400 seconds (measured here), 45.23 Mbytes per second ftp: 730316800 bytes sent in 15.38Seconds 47500.28Kbytes/sec. But (all I can offer is packet dumps/traces or bandwidth measurements): Incoming: Outgoing: Curr: 0.00 MByte/s Curr: 0.07 MByte/s Avg: 0.00 MByte/s Avg: 0.07 MByte/s Min: 0.00 MByte/s Min: 0.07 MByte/s Max: 0.00 MByte/s Max: 0.07 MByte/s Ttl: 1898.08 MByte Ttl: 2954.92 MByte LOCAL - REMOTE TXBPS RXBPS TOTALBPS (IP) PORT PROTO (IP) PORT TX RXTOTAL linuxbox - p4w.internal.lan 546k/s 4.74k/s 551k/s 192.168.0.1 445TCP 192.168.0.212596.88m106k 6.99m Why do I get such poor performance when trying to retrieve a file off the Linux box? This is a very strange problem. Linux: $ netstat -i Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVRTX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 14049682 0 0 0 11354070 0 0 0 BMRU lo16436 0 45335 0 0 045335 0 0 0 LRU Windows: netstat -s IPv4 Statistics Packets Received = 5053597 Received Header Errors = 0 Received Address Errors= 19 Datagrams Forwarded= 0 Unknown Protocols Received = 0 Received Packets Discarded = 2 Received Packets Delivered = 5053595 Output Requests= 3655144 Routing Discards = 0 Discarded Output Packets = 0 Output Packet No Route = 0 Reassembly Required= 0 Reassembly Successful = 0 Reassembly Failures= 0 Datagrams Successfully Fragmented = 0 Datagrams Failing Fragmentation= 3 Fragments Created = 0 ICMPv4 Statistics ReceivedSent Messages 47 24 Errors0 0 Destination Unreachable 25 2 Time Exceeded 0 0 Parameter Problems0 0 Source Quenches 0 0 Redirects 0 0 Echos 0 22 Echo Replies 22 0 Timestamps0 0 Timestamp Replies 0 0 Address Masks 0 0 Address Mask Replies 0 0 TCP Statistics for IPv4 Active Opens= 204 Passive Opens = 14 Failed Connection Attempts = 16 Reset Connections = 59 Current Connections
Re: [Samba] samba 3.0.26a-1 / Debian/Lenny sendfile(?) performance problems
Package: samba Version: 3.0.26a-1 One note to add: I remember seeing this bug on my old system as well, so I do not think it is hardware related. Justin. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 2.6.22/realtek bug in hardware, any kernel work-around?
Package: samba Version: 3.0.26a-1 Kernel: 2.6.22 samba 3.0.26a-1 performance 900 KiB/s, but FTP = 30-90 MiB/s Let me start out by saing this is an oddball problem: SAMBA: LINUX - WINDOWS = 900 KiB/s (varies between 100 - 900 KiB/s) WINDOWS - LINUX = 30-90 MiB/s (always) FTP: Either direction, 30-90 MiB/s (always) I do not see any nasty errors in the logs even with verbose = 5. Any ideas here? I am not using any special options. # cat /etc/samba/smb.conf [global] log level = 5 workgroup = WORKGROUP server string = %h - Pentium IV 3.4GHZ security = user encrypt passwords = true [user] comment = user path= /home/user writable= yes valid users = user create mask = 644 -- Here, FTP for pulling files from Linux. ftp mget * 200 TYPE is now 8-bit binary 200 PORT command successful 150-Connecting to port 1255 150 715924.0 kbytes to download 226-File successfully transferred 226 13.687 seconds (measured here), 51.08 Mbytes per second ftp: 733106176 bytes received in 13.69Seconds 53562.23Kbytes/sec. 200 PORT command successful 150-Connecting to port 1256 150 716272.0 kbytes to download 226-File successfully transferred 226 13.032 seconds (measured here), 53.67 Mbytes per second ftp: 733462528 bytes received in 13.05Seconds 56216.95Kbytes/sec. 200 PORT command successful 150-Connecting to port 1257 150 713200.0 kbytes to download 226-File successfully transferred 226 12.869 seconds (measured here), 54.12 Mbytes per second ftp: 730316800 bytes received in 12.88Seconds 56723.63Kbytes/sec. Here, FTP for pushing files to Linux. ftp mput 1 2 3 200 PORT command successful 150 Connecting to port 1263 226-File successfully transferred 226 12.802 seconds (measured here), 54.61 Mbytes per second ftp: 733106176 bytes sent in 12.80Seconds 57287.35Kbytes/sec. 200 PORT command successful 150 Connecting to port 1264 226-File successfully transferred 226 12.949 seconds (measured here), 54.02 Mbytes per second ftp: 733462528 bytes sent in 12.95Seconds 56624.92Kbytes/sec. 200 PORT command successful 150 Connecting to port 1265 226-File successfully transferred 226 15.400 seconds (measured here), 45.23 Mbytes per second ftp: 730316800 bytes sent in 15.38Seconds 47500.28Kbytes/sec. But (all I can offer is packet dumps/traces or bandwidth measurements): Incoming: Outgoing: Curr: 0.00 MByte/s Curr: 0.07 MByte/s Avg: 0.00 MByte/s Avg: 0.07 MByte/s Min: 0.00 MByte/s Min: 0.07 MByte/s Max: 0.00 MByte/s Max: 0.07 MByte/s Ttl: 1898.08 MByte Ttl: 2954.92 MByte LOCAL - REMOTE TXBPS RXBPS TOTALBPS (IP) PORT PROTO (IP) PORT TX RX TOTAL linuxbox - p4w.internal.lan 546k/s 4.74k/s 551k/s 192.168.0.1 445TCP 192.168.0.212596.88m106k 6.99m Why do I get such poor performance when trying to retrieve a file off the Linux box? This is a very strange problem. Linux: $ netstat -i Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVRTX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 14049682 0 0 0 11354070 0 0 0 BMRU lo16436 0 45335 0 0 045335 0 0 0 LRU Windows: netstat -s IPv4 Statistics Packets Received = 5053597 Received Header Errors = 0 Received Address Errors= 19 Datagrams Forwarded= 0 Unknown Protocols Received = 0 Received Packets Discarded = 2 Received Packets Delivered = 5053595 Output Requests= 3655144 Routing Discards = 0 Discarded Output Packets = 0 Output Packet No Route = 0 Reassembly Required= 0 Reassembly Successful = 0 Reassembly Failures= 0 Datagrams Successfully Fragmented = 0 Datagrams Failing Fragmentation= 3 Fragments Created = 0 ICMPv4 Statistics ReceivedSent Messages 47 24 Errors0 0 Destination Unreachable 25 2 Time Exceeded 0 0 Parameter Problems0 0 Source Quenches 0 0 Redirects 0 0 Echos 0 22 Echo Replies 22 0 Timestamps0 0 Timestamp Replies 0 0 Address Masks 0 0 Address Mask Replies 0 0 TCP Statistics for IPv4 Active Opens= 204 Passive Opens = 14 Failed Connection Attempts = 16 Reset Connections = 59 Current Connections = 3 Segments Received
[Samba] Samba 3.0.22 bug?
Sep 7 04:15:20 server smbd[2341]: [2006/09/07 04:15:20, 0] tdb/tdbutil.c:tdb_log(772) Sep 7 04:15:20 server smbd[2341]: [2006/09/07 04:15:20, 0] tdb/tdbutil.c:tdb_log(772) Sep 7 04:15:20 server smbd[2341]: tdb(/var/cache/samba/printing/hp.tdb): rec_read bad magic 0x44fc2015 at offset=22596 Sep 7 04:15:20 server smbd[2341]: tdb(/var/cache/samba/printing/hp.tdb): rec_read bad magic 0x44fc2015 at offset=22596 Sep 7 04:17:56 server smbd[2341]: [2006/09/07 04:17:56, 0] tdb/tdbutil.c:tdb_log(772) Sep 7 04:17:56 server smbd[2341]: [2006/09/07 04:17:56, 0] tdb/tdbutil.c:tdb_log(772) Sep 7 04:17:56 server smbd[2341]: tdb(/var/cache/samba/printing/hp.tdb): rec_read bad magic 0x44fc2015 at offset=22596 Sep 7 04:17:56 server smbd[2341]: tdb(/var/cache/samba/printing/hp.tdb): rec_read bad magic 0x44fc2015 at offset=22596 What causes this? The printing via Samba works fine. Any idea? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: Re: [Samba] Samba 3.0.10 - Error With Latest Win2K Patches
The patch fixes a 'drag and drop' vulnerability. The patch ID is: KB890047 http://www.microsoft.com/technet/security/bulletin/MS05-008.mspx?pf=true On Sat, 12 Feb 2005, Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin Piszcz wrote: | I have found the problem; it was a single patch | from microsoft, remove it and fixed! :) which patch ? We'll need to fix Samba to work with it. cheers, jerry = Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCDhRqIR7qMdg1EfYRAuLNAKCIKlVkgd68mlk/sq0iSJjTERVpRwCeIjzl 14bH6rODdhvzvnTCjhja2Mo= =Ti52 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re:Re: [Samba] Samba 3.0.10 - Error With Latest Win2K Patches
I can confirm by uninstalling and re-installing that patch the problem exists and is fixed by removing that patch on two separate windows 2000 professional (SP4) machines and additionally; another win2k box (sp1?) with no patches never had any problem during any of this (used as a control). On Sat, 12 Feb 2005, Doug VanLeuven wrote: Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin Piszcz wrote: | I have found the problem; it was a single patch | from microsoft, remove it and fixed! :) which patch ? We'll need to fix Samba to work with it. Samba 3.0.11, AIX 5.2 linux RH9 2.4.20-28.9smp win2000 clients all current hotfixes and winXP all current hotfixes are not having any problem dragging files to and from samba 3.0.11. Samba servers are 2003 AD native mode member machines. I have sendfile disabled on both OS otherwise mostly defaults. Regards, Doug -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0.10 - Error With Latest Win2K Patches
When Microsoft released their 8-9 new patches this week, around Tuesday, 02/08/05; I can no longer copy files to any of my samba shares. Before Microsoft's patches, everything worked OK; I have multiple Linux SAMBA servers and two separate Windows 2000 Professional SP4 machines; each were patched. Trying to connect to any of the Samba servers I am running Samba 3.0.10 with Debian Sarge and kernel 2.6.10. When I try to drag any file over an (explorer window) with a (samba share) open it puts a circle with a (/) slash through it. When I run xcopy file.zip \\ip\share, it works. 1) I can remove a directory on my Samba share. 2) I can remove a file on my Samba share. 3) I can make a directory on my Samba share. 4) I cannot copy anything over to the Samba share (file, link or directory). Has anyone experienced these problems with the latest Windows 2000 Professional patches? What is the recommended fix? Please CC me as I am not on the list, thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: Re: [Samba] Samba 3.0.10 - Error With Latest Win2K Patches
Just a note: It has _ALWAYS_ worked, I applied the patches on Windows 2000 yesterday and it stopped working after that. Perhaps a Windows 2000 problem? Do you use Windows 2000 and have updated to the latest patches? *THAT* is when the error began! Here it is: # The global is required for all global virables. [global] # We want the workgroup set to WORKGROUP. workgroup = WORKGROUP # Set the server string to describe the machine. server string = %h - Pentium III 500MHZ # Set the interface so Samba only works with the LAN. interfaces = 192.168.0.0/24 # Make sure it only binds to this interface. bind interfaces only = yes # Set the security to user. security = user # Make sure encrypt passwords is on! encrypt passwords = yes # Increase overall throughput of samba. socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=32768 SO_RCVBUF=8192 # Set max xmit size. max xmit = 8192 [x] comment = x path= /d1/x writable= yes valid users = jpiszcz create mask = 644 On Fri, 11 Feb 2005, Andreas Koch wrote: Hi Justin, i have also W2K and samba 3.0.8-2 It's work fine. Send me please your smb.conf Andreas Am Freitag, den 11.02.2005, 06:20 -0500 schrieb Justin Piszcz: When Microsoft released their 8-9 new patches this week, around Tuesday, 02/08/05; I can no longer copy files to any of my samba shares. Before Microsoft's patches, everything worked OK; I have multiple Linux SAMBA servers and two separate Windows 2000 Professional SP4 machines; each were patched. Trying to connect to any of the Samba servers I am running Samba 3.0.10 with Debian Sarge and kernel 2.6.10. When I try to drag any file over an (explorer window) with a (samba share) open it puts a circle with a (/) slash through it. When I run xcopy file.zip \\ip\share, it works. 1) I can remove a directory on my Samba share. 2) I can remove a file on my Samba share. 3) I can make a directory on my Samba share. 4) I cannot copy anything over to the Samba share (file, link or directory). Has anyone experienced these problems with the latest Windows 2000 Professional patches? What is the recommended fix? Please CC me as I am not on the list, thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba 3.0.10 - Error With Latest Win2K Patches
I really don't think Samba has anything to do with it as when I drag the cursor over the Window (in Windows) which contains the SMB share, Windows itself does not let me even copy or do anything over that window! Does anyone else have this problem? On Fri, 11 Feb 2005, Andreas Koch wrote: Yes i have the ServicePack 4 on my Win2K, and is works fine. Set your debug Level to 10 and debug it... I have not this Problem and the same Server and Client. I Think Win2K have a security-user Patch in the Service Pack 4 and this make your Problems. You must debug your Problem, or i hope other People can you help :-( Testing your Config with security = share or don't use the socket options Andreas Am Freitag, den 11.02.2005, 09:24 -0500 schrieb Justin Piszcz: Just a note: It has _ALWAYS_ worked, I applied the patches on Windows 2000 yesterday and it stopped working after that. Perhaps a Windows 2000 problem? Do you use Windows 2000 and have updated to the latest patches? *THAT* is when the error began! Here it is: # The global is required for all global virables. [global] # We want the workgroup set to WORKGROUP. workgroup = WORKGROUP # Set the server string to describe the machine. server string = %h - Pentium III 500MHZ # Set the interface so Samba only works with the LAN. interfaces = 192.168.0.0/24 # Make sure it only binds to this interface. bind interfaces only = yes # Set the security to user. security = user # Make sure encrypt passwords is on! encrypt passwords = yes # Increase overall throughput of samba. socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=32768 SO_RCVBUF=8192 # Set max xmit size. max xmit = 8192 [x] comment = x path= /d1/x writable= yes valid users = jpiszcz create mask = 644 On Fri, 11 Feb 2005, Andreas Koch wrote: Hi Justin, i have also W2K and samba 3.0.8-2 It's work fine. Send me please your smb.conf Andreas Am Freitag, den 11.02.2005, 06:20 -0500 schrieb Justin Piszcz: When Microsoft released their 8-9 new patches this week, around Tuesday, 02/08/05; I can no longer copy files to any of my samba shares. Before Microsoft's patches, everything worked OK; I have multiple Linux SAMBA servers and two separate Windows 2000 Professional SP4 machines; each were patched. Trying to connect to any of the Samba servers I am running Samba 3.0.10 with Debian Sarge and kernel 2.6.10. When I try to drag any file over an (explorer window) with a (samba share) open it puts a circle with a (/) slash through it. When I run xcopy file.zip \\ip\share, it works. 1) I can remove a directory on my Samba share. 2) I can remove a file on my Samba share. 3) I can make a directory on my Samba share. 4) I cannot copy anything over to the Samba share (file, link or directory). Has anyone experienced these problems with the latest Windows 2000 Professional patches? What is the recommended fix? Please CC me as I am not on the list, thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [SPAM] Re: Re: [Samba] Samba 3.0.10 - Error With Latest Win2K Patches
I have found the problem; it was a single patch from microsoft, remove it and fixed! :) On Fri, 11 Feb 2005, Andreas Koch wrote: Yes i have the ServicePack 4 on my Win2K, and is works fine. Set your debug Level to 10 and debug it... I have not this Problem and the same Server and Client. I Think Win2K have a security-user Patch in the Service Pack 4 and this make your Problems. You must debug your Problem, or i hope other People can you help :-( Testing your Config with security = share or don't use the socket options Andreas Am Freitag, den 11.02.2005, 09:24 -0500 schrieb Justin Piszcz: Just a note: It has _ALWAYS_ worked, I applied the patches on Windows 2000 yesterday and it stopped working after that. Perhaps a Windows 2000 problem? Do you use Windows 2000 and have updated to the latest patches? *THAT* is when the error began! Here it is: # The global is required for all global virables. [global] # We want the workgroup set to WORKGROUP. workgroup = WORKGROUP # Set the server string to describe the machine. server string = %h - Pentium III 500MHZ # Set the interface so Samba only works with the LAN. interfaces = 192.168.0.0/24 # Make sure it only binds to this interface. bind interfaces only = yes # Set the security to user. security = user # Make sure encrypt passwords is on! encrypt passwords = yes # Increase overall throughput of samba. socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=32768 SO_RCVBUF=8192 # Set max xmit size. max xmit = 8192 [x] comment = x path= /d1/x writable= yes valid users = jpiszcz create mask = 644 On Fri, 11 Feb 2005, Andreas Koch wrote: Hi Justin, i have also W2K and samba 3.0.8-2 It's work fine. Send me please your smb.conf Andreas Am Freitag, den 11.02.2005, 06:20 -0500 schrieb Justin Piszcz: When Microsoft released their 8-9 new patches this week, around Tuesday, 02/08/05; I can no longer copy files to any of my samba shares. Before Microsoft's patches, everything worked OK; I have multiple Linux SAMBA servers and two separate Windows 2000 Professional SP4 machines; each were patched. Trying to connect to any of the Samba servers I am running Samba 3.0.10 with Debian Sarge and kernel 2.6.10. When I try to drag any file over an (explorer window) with a (samba share) open it puts a circle with a (/) slash through it. When I run xcopy file.zip \\ip\share, it works. 1) I can remove a directory on my Samba share. 2) I can remove a file on my Samba share. 3) I can make a directory on my Samba share. 4) I cannot copy anything over to the Samba share (file, link or directory). Has anyone experienced these problems with the latest Windows 2000 Professional patches? What is the recommended fix? Please CC me as I am not on the list, thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba 3.0.10 - Error With Latest Win2K Patches
Bogofilter needs to be trained. On Fri, 11 Feb 2005, JLB wrote: [SPAM]? Ur, what spam is this in response to? On Fri, 11 Feb 2005, Justin Piszcz wrote: Date: Fri, 11 Feb 2005 18:38:01 -0500 (EST) From: Justin Piszcz [EMAIL PROTECTED] To: Andreas Koch [EMAIL PROTECTED] Cc: samba@lists.samba.org Subject: Re: [SPAM] Re: Re: [Samba] Samba 3.0.10 - Error With Latest Win2K Patches I have found the problem; it was a single patch from microsoft, remove it and fixed! :) On Fri, 11 Feb 2005, Andreas Koch wrote: Yes i have the ServicePack 4 on my Win2K, and is works fine. Set your debug Level to 10 and debug it... I have not this Problem and the same Server and Client. I Think Win2K have a security-user Patch in the Service Pack 4 and this make your Problems. You must debug your Problem, or i hope other People can you help :-( Testing your Config with security = share or don't use the socket options Andreas Am Freitag, den 11.02.2005, 09:24 -0500 schrieb Justin Piszcz: Just a note: It has _ALWAYS_ worked, I applied the patches on Windows 2000 yesterday and it stopped working after that. Perhaps a Windows 2000 problem? Do you use Windows 2000 and have updated to the latest patches? *THAT* is when the error began! Here it is: # The global is required for all global virables. [global] # We want the workgroup set to WORKGROUP. workgroup = WORKGROUP # Set the server string to describe the machine. server string = %h - Pentium III 500MHZ # Set the interface so Samba only works with the LAN. interfaces = 192.168.0.0/24 # Make sure it only binds to this interface. bind interfaces only = yes # Set the security to user. security = user # Make sure encrypt passwords is on! encrypt passwords = yes # Increase overall throughput of samba. socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=32768 SO_RCVBUF=8192 # Set max xmit size. max xmit = 8192 [x] comment = x path= /d1/x writable= yes valid users = jpiszcz create mask = 644 On Fri, 11 Feb 2005, Andreas Koch wrote: Hi Justin, i have also W2K and samba 3.0.8-2 It's work fine. Send me please your smb.conf Andreas Am Freitag, den 11.02.2005, 06:20 -0500 schrieb Justin Piszcz: When Microsoft released their 8-9 new patches this week, around Tuesday, 02/08/05; I can no longer copy files to any of my samba shares. Before Microsoft's patches, everything worked OK; I have multiple Linux SAMBA servers and two separate Windows 2000 Professional SP4 machines; each were patched. Trying to connect to any of the Samba servers I am running Samba 3.0.10 with Debian Sarge and kernel 2.6.10. When I try to drag any file over an (explorer window) with a (samba share) open it puts a circle with a (/) slash through it. When I run xcopy file.zip \\ip\share, it works. 1) I can remove a directory on my Samba share. 2) I can remove a file on my Samba share. 3) I can make a directory on my Samba share. 4) I cannot copy anything over to the Samba share (file, link or directory). Has anyone experienced these problems with the latest Windows 2000 Professional patches? What is the recommended fix? Please CC me as I am not on the list, thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- J. L. Blank, Systems Administrator, twu.net -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba