read_socket_data: recv failure for 4
rdicaire at ispchannel.com
rdicaire at ispchannel.com
Mon May 22 21:53:17 GMT 2000
Samba gives read_socket_data: recv failure for 4 when trying to write or
read with NT4 WS, why?
Samba 2.0.7, NT WS 4.0 sp6, Slackware 7.0 (glibc 2.1.2), linux kernel
2.2.15 with crypto patch patch-int-2.2.14.1.
Samba configured/compiled with the following switches:
--with-smbmount --with-syslog
Most of the time writing to, or copying from samba shares, hangs, then
fails.
Trying to copy scrt303.exe from HOMES share to NT box, smbstatus reports:
Samba version 2.0.7
Service uid gid pid machine
----------------------------------------------
ardy ardy users 31938 ws (192.168.1.2) Wed May 17
18:27:27 2000
Locked files:
Pid DenyMode R/W Oplock Name
--------------------------------------------------
31938 DENY_NONE RDONLY NONE /home/ardy/Uactlsec.exe
Wed May 17 18:45:07 2000
Note the filename Uactlsec.exe, this is not the file I'm trying to copy.
The permissions on the above file:
-rw-r--r-- 1 ardy users 153248 May 13 13:39 /home/ardy/Uactlsec.exe
After about two minutes the copy begins, smbstatus reports:
Samba version 2.0.7
Service uid gid pid machine
----------------------------------------------
ardy ardy users 1568 ws (192.168.1.2) Wed May 17
18:46:34 2000
Locked files:
Pid DenyMode R/W Oplock Name
--------------------------------------------------
1568 DENY_WRITE RDONLY NONE /home/ardy/scrt303.exe Wed
May 17 18:47:46 2000
The permissions on the above file:
-rw-r--r-- 1 ardy users 1947900 May 17 17:01 /home/ardy/scrt303.exe
This copy fails, linux kernel reports:
May 17 18:48:54 rdb smbd[1568]: [2000/05/17 18:48:54, 0]
lib/util_sock.c:read_socket_data(477)
May 17 18:48:54 rdb smbd[1568]: read_socket_data: recv failure for
4. Error = Connection reset by peer
Windows reports:
Cannot copy scrt303: The I/O operation has been aborted because of either
a thread exit or an application request.
Samba config:
[global]
workgroup = THETUBESGROUP
server string = RDB Windows NT
admin users = ardy,root
hosts allow = 192.168.0. 192.168.1.
load printers = yes
printcap name = /etc/printcap.smb
lpq command = /usr/bin/lpq %p
lpq cache time = 30
log file = /usr/local/samba/var/log.%m
max log size = 50
security = user
encrypt passwords = yes
socket options = TCP_NODELAY
read raw = no
interfaces = 192.168.0.2/24 192.168.1.1/24
local master = yes
os level = 100
domain master = yes
preferred master = yes
logon script = %U.bat
wins support = yes
dns proxy = no
oplocks = no
case sensitive = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[cdrom]
comment = CDROM
path = /mnt/cdrom
public = yes
writable = no
printable = no
[ms-install]
comment = MS Install
browseable = yes
writable = yes
admin users = ardy,root
path = /backup/ms-install
[printers]
comment = All Printers
path = /var/spool/lpd/lp
browseable = no
printable = yes
printer = smb
Any ideas on why this fails?
----------------------------------------------------
Richard Dicaire
Co-owner/Systems Administrator
K&R Information Technologies
http://matrix.linux-help.org/kr/
----------------------------------------------------
Brainbench Certified Master Linux Administrator
http://www.brainbench.com/transcript.jsp?pid=67584
----------------------------------------------------
Home & aRDy Music
http://rdb.linux-help.org
----------------------------------------------------
More information about the samba
mailing list