No subject
Mon Dec 1 11:34:25 GMT 2003
(each a few hundred Mb) onto different Samba shares. From a W2000
workstation, started another copy of similar directory onto another Samba
share. Everything runs fine for 5-10 minutes, then one of the NT4 copies
hangs with "Unable to copy file ... Session cancelled" or "Unexpected
network error occurred". Typically one or other of the other NT4 copies also
then fails. The W2000 copy always continues OK.
This failure is repeatable, but not on any specific file.
Swapped out NIC but get the same symptoms.
Trawling back through the archives, I see similar reports, particularly when
copying large files, although file size doesn't seem to be a factor here.
The NT4 event log reports "The redirector has timed out a request to Golux"
(the Samba server).
With Samba log level at 3, the last lines report:
[2001/12/23 10:34:54, 3] smbd/process.c:process_smb(860)
Transaction 389 of length 46205
[2001/12/23 10:34:54, 3] smbd/process.c:switch_message(667)
switch message SMBwriteX (pid 1143)
[2001/12/23 10:34:54, 3] smbd/reply.c:reply_write_and_X(2807)
writeX fnum=8845 num=46138 wrote=46138
[2001/12/23 10:34:54, 3] smbd/process.c:process_smb(860)
Transaction 390 of length 46
[2001/12/23 10:34:54, 3] smbd/process.c:switch_message(667)
switch message SMBclose (pid 1143)
[2001/12/23 10:34:54, 3] smbd/reply.c:reply_close(2997)
close fd=24 fnum=8845 (numopen=1)
[2001/12/23 10:34:54, 2] smbd/close.c:close_normal_file(206)
root closed file Admin/Set1/ASANALH.DBF (numopen=0)
[2001/12/23 10:35:54, 3] smbd/sec_ctx.c:set_sec_ctx(320)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/12/23 10:36:54, 3] smbd/sec_ctx.c:set_sec_ctx(320)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/12/23 10:37:54, 3] smbd/sec_ctx.c:set_sec_ctx(320)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/12/23 10:38:54, 3] smbd/sec_ctx.c:set_sec_ctx(320)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
etc.
My smb.conf is as follows:
# Global parameters
[global]
workgroup = DCAE
server string = Samba Server
encrypt passwords = Yes
username map = /etc/samba/smbusers
log level = 3
syslog = 3
log file = /var/log/samba/log.%m
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = No
dns proxy = No
hosts allow = 192.168.1. 127.
printing = lprng
oplocks = No
[print$]
path = /usr/local/samba/printers
write list = administrator,root
guest ok = Yes
[hp_lj3p]
path = /shared/printers/spool
printable = Yes
print command = lpr -Fb -r -P %p %s
printer name = lp
[faxlp]
path = /shared/printers/spool
printable = Yes
print command = lpr -r -P %p %s
printer name = faxlp
[Data]
comment = Development data
path = /shared/Data
read only = No
inherit permissions = Yes
[Admin]
comment = Share for Admin group
path = /shared/Admin
read only = No
inherit permissions = Yes
[Apps]
comment = Applications
path = /shared/Apps
read only = No
create mask = 0644
[homes]
comment = Home Directory
path = /home/%S/pchome
read only = No
create mask = 0700
directory mask = 0700
browseable = No
[Common]
comment = Common directory for file sharing
path = /shared/Common
read only = No
create mask = 0777
directory mask = 0777
Does anyone have any ideas on this?
Thanks
Tim Allen
More information about the samba
mailing list