hello all,
Sorry about the length of this post, but I wanted to inlcude the level 10
debug just in case someone with more detailed knowlege than I might be able
to explain my problem.
I've been using samba for awhile now and never had any problems with it
until
I upgraded to 1.9.18px (where x =<3). Pre .18 versions work fine. The problem
is this, if I open an application that resides on a samba shared volume and
then let the application sit with no input from me, after 10-60 minutes
(usually closer to 10), it closes on its own. I've included a logfile of
this
happening with ms word97.
on line 20 of my included log file there is an indication of an error packet,
any idea what that is? Near the end of my log file it says that user jdickins
closed winword.exe... I did not close it, I swear :)
the machines in question are a rh4.2 p100 linux system connected to a p100
nt4 sp3 intel system via ethernet.
thanks for any and all help,
jim
---------------------------------------
smb.conf global section
workgroup = APT
log level = 10
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba-log.%m
max log size = 1000
security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384
SO_RCVBUF=16384
readsize = 16384
os level = 33
dns proxy = no
-------------------------------------------------------------------
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
got smb length of 64
got message type 0x0 of len 0x40
03/02/1998 16:16:04 Transaction 717 of length 68
size=64
smb_com=0x8
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
smb_tid=40
smb_pid=51966
smb_uid=101
smb_mid=45760
smt_wct=0
smb_bcc=29
[000] 04 5C 77 69 6E 61 70 70 73 5C 73 79 73 74 65 6D .\winapp s\system
[010] 5C 62 6C 61 63 6B 31 36 2E 70 69 66 00 \black16 .pif.
switch message SMBgetatr (pid 15519)
03/02/1998 16:16:04 error packet at line 4813 cmd=8 (SMBgetatr) eclass=2
ecode=5
size=35
smb_com=0x8
smb_rcls=2
smb_reh=0
smb_err=5
smb_flg=136
smb_flg2=1
smb_tid=40
smb_pid=51966
smb_uid=101
smb_mid=45760
smt_wct=0
smb_bcc=0
write_socket(5,39)
write_socket(5,39) wrote 39
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
got smb length of 62
got message type 0x0 of len 0x3e
03/02/1998 16:18:35 Transaction 718 of length 66
size=62
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
smb_tid=0
smb_pid=51966
smb_uid=101
smb_mid=45824
smt_wct=4
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=1 (0x1)
smb_bcc=19
[000] 00 5C 5C 42 45 41 56 49 53 5C 49 50 43 24 00 49 .\\BEAVI S\IPC$.I
[010] 50 43 00 PC.
switch message SMBtconX (pid 15519)
Got device type IPC
Trying username ipc$
ACCEPTED: guest account and guest ok
found free connection number 12
Connect path is /tmp
become_user uid=(0,99) gid=(99,99)
chdir to /tmp
chdir to /
unbecome_user now uid=(0,0) gid=(0,0)
03/02/1998 16:18:35 locutus (208.142.26.5) connect to service IPC$ as user
nobody (uid=99,gid=99) (pid 15519)
03/02/1998 16:18:35 tconX service=ipc$ user=nobody cnum=12
size=51
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=12
smb_pid=51966
smb_uid=101
smb_mid=45824
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_bcc=10
[000] 49 50 43 00 53 41 4D 42 41 00 IPC.SAMB A.
write_socket(5,55)
write_socket(5,55) wrote 55
got smb length of 79
got message type 0x0 of len 0x4f
03/02/1998 16:18:35 Transaction 719 of length 83
size=79
smb_com=0x2d
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
smb_tid=12
smb_pid=51966
smb_uid=101
smb_mid=45888
smt_wct=15
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_vwv[3]=66 (0x42)
smb_vwv[4]=22 (0x16)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=56277 (0xDBD5)
smb_vwv[7]=13562 (0x34FA)
smb_vwv[8]=1 (0x1)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=65535 (0xFFFF)
smb_vwv[12]=65535 (0xFFFF)
smb_vwv[13]=0 (0x0)
smb_vwv[14]=0 (0x0)
smb_bcc=14
[000] 5C 70 69 70 65 5C 73 70 6F 6F 6C 73 73 00 \pipe\sp oolss.
switch message SMBopenX (pid 15519)
become_user uid=(0,99) gid=(99,99)
chdir to /tmp
03/02/1998 16:18:35 error packet at line 88 cmd=45 (SMBopenX) eclass=2
ecode=4
size=35
smb_com=0x2d
smb_rcls=2
smb_reh=0
smb_err=4
smb_flg=136
smb_flg2=1
smb_tid=12
smb_pid=51966
smb_uid=101
smb_mid=45888
smt_wct=0
smb_bcc=0
write_socket(5,39)
write_socket(5,39) wrote 39
chdir to /
unbecome_user now uid=(0,0) gid=(0,0)
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Mon Mar 2 15:56:06 1998
got smb length of 35
got message type 0x0 of len 0x23
03/02/1998 16:28:39 Transaction 720 of length 39
size=35
smb_com=0x71
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
smb_tid=12
smb_pid=51966
smb_uid=100
smb_mid=45952
smt_wct=0
smb_bcc=0
switch message SMBtdis (pid 15519)
03/02/1998 16:28:39 locutus (208.142.26.5) closed connection to service IPC$
Yielding connection to 12 IPC$
03/02/1998 16:28:39 tdis cnum=12
size=35
smb_com=0x71
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=12
smb_pid=51966
smb_uid=100
smb_mid=45952
smt_wct=0
smb_bcc=0
write_socket(5,39)
write_socket(5,39) wrote 39
got smb length of 39
got message type 0x0 of len 0x27
03/02/1998 16:28:39 Transaction 721 of length 43
size=39
smb_com=0x74
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
smb_tid=12
smb_pid=51966
smb_uid=100
smb_mid=46016
smt_wct=2
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_bcc=0
switch message SMBulogoffX (pid 15519)
del_share_modes Deleting share mode entry dev=2065 ino=84024
shm_free : freeing 24 bytes at offset 248
del_share_modes num entries = 0, deleting share_mode dev=2065 ino=84024
shm_free : freeing 56 bytes at offset 184
fd_attempt_close on file_fd_struct 0, fd = 6, dev = 811, inode = 14838,
open_flags = 2, ref_count = 1.
03/02/1998 16:28:39 jdickins closed file msoffice/Office/WINWORD.EXE
(numopen=4)
del_share_modes Deleting share mode entry dev=2065 ino=84027
shm_free : freeing 24 bytes at offset 352
del_share_modes num entries = 0, deleting share_mode dev=2065 ino=84027
shm_free : freeing 64 bytes at offset 280
fd_attempt_close on file_fd_struct 1, fd = 7, dev = 811, inode = 1483b,
open_flags = 2, ref_count = 1.
03/02/1998 16:28:39 jdickins closed file msoffice/Office/WWINTL32.DLL
(numopen=3)
del_share_modes Deleting share mode entry dev=2065 ino=84038
shm_free : freeing 24 bytes at offset 448
del_share_modes num entries = 0, deleting share_mode dev=2065 ino=84038
shm_free : freeing 56 bytes at offset 384
fd_attempt_close on file_fd_struct 2, fd = 8, dev = 811, inode = 14846,
open_flags = 2, ref_count = 1.
03/02/1998 16:28:39 jdickins closed file msoffice/Office/MSO97.DLL
(numopen=2)
del_share_modes Deleting share mode entry dev=2065 ino=84039
shm_free : freeing 24 bytes at offset 544
del_share_modes num entries = 0, deleting share_mode dev=2065 ino=84039
shm_free : freeing 56 bytes at offset 480
fd_attempt_close on file_fd_struct 3, fd = 9, dev = 811, inode = 14847,
open_flags = 2, ref_count = 1.
03/02/1998 16:28:39 jdickins closed file msoffice/Office/MSO7ENU.DLL
(numopen=1)
del_share_modes Deleting share mode entry dev=2065 ino=51205
shm_free : freeing 24 bytes at offset 648
del_share_modes num entries = 0, deleting share_mode dev=2065 ino=51205
shm_free : freeing 64 bytes at offset 576
fd_attempt_close on file_fd_struct 4, fd = 10, dev = 811, inode = c805,
open_flags = 2, ref_count = 1.
03/02/1998 16:28:39 jdickins closed file msoffice/Templates/Normal.dot
(numopen=0)
03/02/1998 16:28:39 ulogoffX vuid=100
size=39
smb_com=0x74
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=12
smb_pid=51966
smb_uid=100
smb_mid=46016
smt_wct=2
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_bcc=0
write_socket(5,43)
write_socket(5,43) wrote 43
got smb length of 39
got message type 0x0 of len 0x27
03/02/1998 16:28:39 Transaction 722 of length 43
size=39
smb_com=0x74
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
smb_tid=12
smb_pid=51966
smb_uid=101
smb_mid=46080
smt_wct=2
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_bcc=0
switch message SMBulogoffX (pid 15519)
03/02/1998 16:28:39 ulogoffX vuid=101
size=39
smb_com=0x74
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=12
smb_pid=51966
smb_uid=101
smb_mid=46080
smt_wct=2
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_bcc=0
write_socket(5,43)
write_socket(5,43) wrote 43
end of file from client
Closing connections
03/02/1998 16:28:39 locutus (208.142.26.5) closed connection to service data
Yielding connection to 40 data
Yielding connection to 40 STATUS.
Yield successful
closing dptr key 0