HELP Needed !!!
Hubertus Krogmann
hubi at paderlinx.de
Thu Dec 2 18:01:30 GMT 1999
Hello
Excuse me for the topic, but on no one answered
on previous posting, and it's not an easy problem I think,
but have a look yourself:
Software installed:
Sol7
Samba 2.0.3
and a HSM solution called samfs in version 3.3.1-?
So this samfs holds data on tapes, transparent for the
user, so he/she can request files, (16k are on the disks
for the explorer:) samba then send these 16k trought the line
and is (like cp) waiting for the next byte. The client is waiting
also, but (unlike cp) windows reports an error:
file or resoure not available.
I then took smbclient .... -d 6 to test it and got what i described
above and : "Error code 0 closing remote file"
(see smb.test.script attached)
As I did not find any error code in documentation and its no
connection problem (which I think are 60% of the problems)
it will be a problem to set a timeout between the server and client,
because
a) samba will have no problem waiting for reading the file, as it uses
the same OS-code as cp does, (btw. NFS works, even waiting a half day
!)
b) on a network error connections are established again, so this
looks like the client is ok
c) a timeout = 10Min anywahre might not help, because the robot has 4
Tapes
and if 5 users request 5 tapes (trough samfs) 1 will loose, and
thats no solution
so it looks like the server is sending a signal "file there but not
there"
and the client reacts on this, but I do not kown
(right! would I ask for help if did:)
AND Please if this is the wrong place show me the right one, but
response!
(if it helps: TotalNet www.syntax.com does not have this problem)
Thanx in advance
Hubertus Krogmann PaderLinx Neue Informationsmedien GmbH
Email: hubertus.krogmann at paderlinx.de
Tel.: 05251-8994-18 Fax: 05251-8994-20 WWW: www.paderlinx.de
-------------- next part --------------
Script started on Thu Dec 02 11:30:13 1999
# echo $0
sh
# tcsh
------- Lade Modul-Umgebung (local): software modules...done.
[4mhubi[m has logged on [4mconsole[m from [4m:0[m at [4m9:29[m (02).
[4mroot[m has logged on [4mpts/13[m from [4meps-sun13[m at [4m10:58[m (02).
[4mroot[m has logged on [4mpts/14[m from [4meps-sun13[m at [4m10:58[m (02).
[4mroot[m has logged on [4mpts/15[m from [4meps-sun13[m at [4m10:58[m (02).
[4mroot[m has logged on [4mpts/17[m from [4meps-sun13[m at [4m11:02[m (02).
[4mroot[m has logged on [4mpts/2[m from [4m62.52.124.240[m at [4m14:31[m (30).
[4mroot[m has logged on [4mpts/3[m from [4m62.52.124.240[m at [4m18:10[m (30).
[4mroot[m has logged on [4mpts/4[m from [4m62.52.124.240[m at [4m9:48[m (01).
[4mroot[m has logged on [4mpts/5[m from [4m62.52.124.240[m at [4m9:48[m (01).
[4mroot[m has logged on [4mpts/7[m from [4m62.52.124.240[m at [4m15:59[m (01).
[4mroot[m has logged on [4mpts/8[m from [4meps-sun13[m at [4m9:30[m (02).
[4mroot[m has logged on [4mpts/9[m from [4m62.52.124.240[m at [4m11:20[m (26).
[1mroot[m@eps-sun13[[1m/scratch[m]>#
[1mroot[m@eps-sun13[[1m/scratch[m]># smbclient //eps-sun17/local -U hubi -d 6
Added interface ip=145.228.99.11 bcast=145.228.99.255 nmask=255.255.255.0
Client started (version 2.0.2).
resolve_name: Attempting lmhosts lookup for name eps-sun17<0x20>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
resolve_name: Attempting host lookup for name eps-sun17<0x20>
Connecting to 145.228.99.18 at port 139
write_socket(4,76)
write_socket(4,76) wrote 76
Sent session request
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request ok
write_socket(4,168)
write_socket(4,168) wrote 168
size=85
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=18267
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=24320 (0x5F00)
smb_vwv[8]=11 (0xB)
smb_vwv[9]=14592 (0x3900)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=32768 (0x8000)
smb_vwv[12]=16636 (0x40FC)
smb_vwv[13]=45154 (0xB062)
smb_vwv[14]=48956 (0xBF3C)
smb_vwv[15]=50177 (0xC401)
smb_vwv[16]=2303 (0x8FF)
smb_bcc=16
size=85
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=18267
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=24320 (0x5F00)
smb_vwv[8]=11 (0xB)
smb_vwv[9]=14592 (0x3900)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=32768 (0x8000)
smb_vwv[12]=16636 (0x40FC)
smb_vwv[13]=45154 (0xB062)
smb_vwv[14]=48956 (0xBF3C)
smb_vwv[15]=50177 (0xC401)
smb_vwv[16]=2303 (0x8FF)
smb_bcc=16
Password:
write_socket(4,137)
write_socket(4,137) wrote 137
size=66
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_bcc=25
size=66
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_bcc=25
Domain=[EPS-NT1] OS=[Unix] Server=[Samba 2.0.3]
session setup ok
write_socket(4,72)
write_socket(4,72) wrote 72
size=49
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=8
tconx ok
smb: \> dir
size=83
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=15
smb_vwv[0]=15 (0xF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=10 (0xA)
smb_vwv[3]=17408 (0x4400)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=15 (0xF)
smb_vwv[10]=68 (0x44)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=83 (0x53)
smb_vwv[13]=1 (0x1)
smb_vwv[14]=1 (0x1)
smb_bcc=18
write_socket(4,87)
write_socket(4,87) wrote 87
size=1766
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=65
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=10 (0xA)
smb_vwv[1]=1696 (0x6A0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=10 (0xA)
smb_vwv[4]=58 (0x3A)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=1696 (0x6A0)
smb_vwv[7]=70 (0x46)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=1711
size=1766
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=65
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=10 (0xA)
smb_vwv[1]=1696 (0x6A0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=10 (0xA)
smb_vwv[4]=58 (0x3A)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=1696 (0x6A0)
smb_vwv[7]=70 (0x46)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=1711
received 16 entries (eos=1 resume=0)
.inodes HR248315904 Thu Nov 4 09:57:09 1999
.ioctl HR 0 Fri Oct 22 16:24:44 1999
.archive DH 0 Sat Oct 23 15:23:34 1999
lost+found D 0 Wed Jan 13 13:16:15 1999
sun4-Solaris2.7 D 0 Thu Nov 11 12:01:40 1999
web D 0 Tue Feb 2 15:41:08 1999
sun4-Solaris2.7.eps-sun13 D 0 Thu Jan 28 13:15:58 1999
patches D 0 Thu Nov 11 13:26:50 1999
share D 0 Mon May 17 11:10:13 1999
intel-debianLinux2.1 D 0 Thu Oct 21 13:30:32 1999
hubi D 0 Thu Dec 2 11:26:36 1999
coredump.sol2.7.tar.bz2 46879198 Wed Mar 10 10:06:05 1999
.OLD_LOGS DH 0 Wed Dec 1 05:11:12 1999
sambatest.tar 1887220224 Fri Oct 29 11:46:22 1999
tmp D 0 Tue Nov 2 16:51:12 1999
src D 0 Wed Nov 3 08:40:39 1999
write_socket(4,39)
write_socket(4,39) wrote 39
size=45
smb_com=0x80
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=5
smb_vwv[0]=34520 (0x86D8)
smb_vwv[1]=512 (0x200)
smb_vwv[2]=512 (0x200)
smb_vwv[3]=9804 (0x264C)
smb_vwv[4]=0 (0x0)
smb_bcc=0
34520 blocks of size 262144. 9804 blocks available
Total bytes listed: -2112551970
smb: \> write_socket(4,44)
write_socket(4,44) wrote 44
size=35
smb_com=0x10
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0
pwd
Current directory is \\eps-sun17\
smb: \> get coredump.sol2.7.tar.bz2write_socket(4,44)
write_socket(4,44) wrote 44
size=35
smb_com=0x10
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0
write_socket(4,44)
write_socket(4,44) wrote 44
size=35
smb_com=0x10
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0
write_socket(4,44)
write_socket(4,44) wrote 44
size=35
smb_com=0x10
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0
dos_clean_name [\\coredump.sol2.7.tar.bz2]
write_socket(4,94)
write_socket(4,94) wrote 94
size=65
smb_com=0x2d
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=15
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=4240 (0x1090)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=17421 (0x440D)
smb_vwv[5]=14054 (0x36E6)
smb_vwv[6]=20958 (0x51DE)
smb_vwv[7]=715 (0x2CB)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=1 (0x1)
smb_vwv[12]=0 (0x0)
smb_vwv[13]=0 (0x0)
smb_vwv[14]=0 (0x0)
smb_bcc=0
size=72
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=15
smb_vwv[0]=4 (0x4)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=2 (0x2)
smb_vwv[3]=17408 (0x4400)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=4 (0x4)
smb_vwv[10]=68 (0x44)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=72 (0x48)
smb_vwv[13]=1 (0x1)
smb_vwv[14]=7 (0x7)
smb_bcc=7
write_socket(4,76)
write_socket(4,76) wrote 76
size=185
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=65
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=2 (0x2)
smb_vwv[1]=123 (0x7B)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=2 (0x2)
smb_vwv[4]=58 (0x3A)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=123 (0x7B)
smb_vwv[7]=62 (0x3E)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=130
size=185
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=65
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=2 (0x2)
smb_vwv[1]=123 (0x7B)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=2 (0x2)
smb_vwv[4]=58 (0x3A)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=123 (0x7B)
smb_vwv[7]=62 (0x3E)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=130
getting file coredump.sol2.7.tar.bz2 of size 46879198 as coredump.sol2.7.tar.bz2 write_socket(4,59)
write_socket(4,59) wrote 59
write_socket(4,59)
write_socket(4,59) wrote 59
write_socket(4,59)
write_socket(4,59) wrote 59
write_socket(4,59)
write_socket(4,59) wrote 59
size=16443
smb_com=0x2e
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=18267
smb_uid=100
smb_mid=1
smt_wct=12
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=16384 (0x4000)
smb_vwv[6]=59 (0x3B)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=0 (0x0)
smb_bcc=16384
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
write_socket(4,59)
write_socket(4,59) wrote 59
write_socket(4,59)
write_socket(4,59) wrote 59
write_socket(4,59)
write_socket(4,59) wrote 59
write_socket(4,59)
write_socket(4,59) wrote 59
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
write_socket(4,45)
write_socket(4,45) wrote 45
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
Error code 0 closing remote file
(0.265582 kb/s) (average 0.265582 kb/s)
smb: \> write_socket(4,44)
write_socket(4,44) wrote 44
quit
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
[1mroot[m@eps-sun13[[1m/scratch[m]># ^Dexit
#
script done on Thu Dec 02 11:34:05 1999
More information about the samba-technical
mailing list