[Samba] The specified network name is no longer available 3.0.25
RHEL4
adrian sender
adrian_au1 at hotmail.com
Tue May 20 07:35:03 GMT 2008
I have a reproducible intermittent error large site - "The specified network name is no longer available".
This happens when copying large files. Below is part of log level 10 output & strace. Sorry for the long posting. I will probably need to put the loglevel 10 attached to a bugzilla - but thought I would try the lists initially.
RHEL4
samba-3.0.25b-1.el4_6.4
openldap-2.2.13-8.el4_6.4
Sometime using pdbedit -Lv username reports "ldapsam_getgroup: Did not find group" I am wondering if this could be related to the problem. In debug level 4 something that stands out to me is " string_to_sid: Sid adrians does not start with 'S-'." This is intermittent.
smb.conf
[global]
unix charset = LOCALE
workgroup = workgroup
netbios aliases = netbios_name
server string = PDC
interfaces = bond0, lo
bind interfaces only = Yes
map to guest = Bad Password
passdb backend = ldapsam:ldap://localhost
username map = /etc/samba/smbusers
log level = 2
syslog = 0
max log size = 0
smb ports = 139
name resolve order = wins bcast hosts
time server = Yes
printcap name = cups
add user script = /opt/IDEALX/sbin/smbldap-useradd -m "%u"
delete user script = /opt/IDEALX/sbin/smbldap-userdel "%u"
add group script = /opt/IDEALX/sbin/smbldap-groupadd -p "%g"
delete group script = /opt/IDEALX/sbin/smbldap-groupdel "%g"
add user to group script = /opt/IDEALX/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /opt/IDEALX/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /opt/IDEALX/sbin/smbldap-usermod -g "%g" "%u"
add machine script = /opt/IDEALX/sbin/smbldap-useradd -w "%u"
logon script = scripts\dynamic\%U.bat
logon path =
logon drive = H:
logon home = \\localhost\%U
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins server = winserver
ldap admin dn = cn=Manager,dc=something,dc=com
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=People
ldap suffix = dc=something,dc=com
ldap ssl = no
ldap user suffix = ou=People
idmap backend = ldap:ldap://localhost
idmap uid = 40000-50000
idmap gid = 40000-50000
invalid users = roots, daemon, bin, sys, adm, uucp, nuucp, lpd, imnadm, ipsec, lp, snapp,
[netlogon]
comment = Network Logon Service
path = /smbshare/netlogon
admin users = @wheel, "@Domain Admins"
read only = Yes
create mask = 0644
directory mask = 0755
browseable = No
locking = No
[homes]
comment = Home directory for %U
path = /smbshare/users/%S
valid users = %S
browseable = No
samba debug 10
I have the entire debug log; its difficult sifting out what is meaningful.
[2008/05/16 10:49:02, 10] smbd/notify_internal.c:notify_trigger(589)
notify_trigger called action=0x2, filter=0x1, path=/smbshare/users/adrians/user_v7.exe
[2008/05/16 10:49:02, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (1410, 513) - sec_ctx_stack_ndx = 0
[2008/05/16 10:49:02, 10] smbd/oplock_linux.c:linux_release_kernel_oplock(191)
linux_release_kernel_oplock: file user_v7.exe, dev = fd08, inode = 21205163 file_id = 55 has kernel oplock state of 1.
[2008/05/16 10:49:02, 10] locking/posix.c:get_windows_lock_ref_count(545)
get_windows_lock_count for file user_v7.exe = 0
[2008/05/16 10:49:02, 10] locking/posix.c:delete_windows_lock_ref_count(559)
delete_windows_lock_ref_count for file user_v7.exe
[2008/05/16 10:49:02, 4] smbd/dosmode.c:set_filetime(604)
set_filetime(user_v7.exe) failed: No such file or directory
[2008/05/16 10:49:02, 2] smbd/close.c:close_normal_file(399)
adrians closed file user_v7.exe (numopen=2) NT_STATUS_OK
Strace Output
utimes("Fedora-9-i386-DVD.iso", {1210211667, 0}) = 0
fcntl64(7, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=688, len=1}, 0xbff91fa0) = 0
fcntl64(7, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=688, len=1}, 0xbff91fa0) = 0
geteuid32() = 1410
getuid32() = 1410
geteuid32() = 1410
setresuid32(0, 0, -1) = 0
geteuid32() = 0
kill(11697, SIGUSR1) = 0
--- SIGUSR1 (User defined signal 1) @ 0 (0) ---
write(24, "\n", 1) = 1
sigreturn() = ? (mask now [FPE USR2 PIPE])
setresuid32(1410, 1410, -1) = 0
geteuid32() = 1410
getuid32() = 1410
write(5, "\0\0\0/\377SMB/\0\0\0\0\210\1\310\0\0\0\0\0\0\0\0\0\0\0"..., 51) = 51
fcntl64(7, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=688, len=1}, 0xbff92400) = 0
fcntl64(7, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=688, len=1}, 0xbff92400) = 0
gettimeofday({1211265972, 403835}, NULL) = 0
select(22, [5 21], [], NULL, {60, 0}) = 1 (in [21], left {60, 0})
read(21, "\n", 1) = 1
gettimeofday({1211265972, 404021}, NULL) = 0
select(22, [5 21], [], NULL, {60, 0}) = 1 (in [5], left {59, 997000})
read(5, "\0\0\360@", 4) = 4
read(5, "\377SMB/\0\0\0\0\30\7\310\0\0\0\0\0\0\0\0\0\0\0\0\2\0\377"..., 61504) = 1444
read(5, "\241>^\2526k\271MjQ\310\37lj\260!\2278u\335,h\352\266\30"..., 60060) = 1448
read(5, "\267\263\21\241\256\5\235xs\333\213\f\257\306\301\271\275"..., 58612) = 1448
read(5, "a\333\253K\244\367k\237\265\221"..., 49924) = 1448
read(5, "ka\224)1\312\25\30\202\346\1\351\30OX\30\345J\214\n\5F"..., 48476) = 1448
read(5, "\226\221\315\3\310\346\221\234\275\35 +\315\215J\231\310"..., 47028) = 1448
read(5, "\32F\21\266\351\3026C\264\256.\324\271\377\307\221\314"..., 45580) = 1448
read(5, "?\373m at 6\f\300\206A\262a at 6\f\300\206A\262a at 6\f\300\206"..., 44132) = 1448
read(5, "\3650\337\352l\243?\365\270K/(gs\233\256]x\223P\256\21"..., 42684) = 1448
read(5, "\260(\205\10\31\200\220\221\260\310@\204,@\310JXd!B\31"..., 41236) = 1448
read(5, "i\30r:\n8\35\225p:\n9]\t8])\341\264\313\343\324\344\316"..., 39788) = 1448
read(5, "\275P\34\301\364\20v\353l\36q\320\v\365\302+9\216`y\10"..., 38340) = 1448
read(5, "4w\216=\23\220k\20\375\242\321\222\371\203e\275\347\334"..., 36892) = 1448
read(5, "\336\375\307\354\35\205\231\331\271=b\307u0A\"\333q\353"..., 35444) = 1448
read(5, "\337\222u\262X\344k\235\251a}\200\337\237\10\365\225\337-j\262"..., 16620) = 1448
read(5, "exNm3b\335,\265nA\254[\244\326\255\210u\253\324\272\r\261"..., 15172) = 1448
read(5, "x\25\346cRa^\242\302|$\25\346S\25&^\205\205\230TX\220\250"..., 13724) = 1448
read(5, "{\25\361!G\36\372})\372\203\0z_\205>\30\350~\266\247\37"..., 12276) = 1448
read(5, "\214\212\245\0049\32\0G\3\31K\3\344h\4\34\334\326\314Y"..., 10828) = 1448
read(5, "\331F\20\31\357\222\217\331?x\342s\357\277\257\353\332"..., 9380) = 1448
read(5, "\322\34v\304\341o\350$\277?\20\7\3\34,\342H\314bf\220#"..., 7932) = 1448
read(5, "\177\247J\317bx\r\375M\275\206j~\34\371\373r=\33\265[\3"..., 6484) = 1448
read(5, "\3403h\346\362\236\376\201\360\274\25\3+{Y[\10\327\273"..., 5036) = 1448
read(5, "\274Xoo\243`\16\342\245*Z0\237\355\300[\346:\354\277xY"..., 3588) = 1448
read(5, "\214\365s\201C??-p~G\303\371\35\205\363\260\304yX\303y"..., 2140) = 1448
read(5, "ecF\252\261b\0238T\321\250\345\331$F=\276r\246\246\10"..., 9380) = 1448
read(5, "\252\277\320\2661 \35|\274\r\222VXH\312\343\360\324\272"..., 7932) = 1448
read(5, "\232\343\36\214E\313\333\344\317\317~\264\371J\204x\337"..., 6484) = 1448
read(5, "a\373A\rE\275\215\340\234l\263}\375\370\27(\200\221[\360"..., 5036) = 1448
read(5, "\0072JI\345\355\323\361\2517\314cj\303l\2457\314V\340k"..., 3588) = 1448
read(5, "\334d\371\227\376\235\304U\245\362\366\31\233_sM\223\377"..., 2140) = 1448
read(5, "\202\262R\272\260e\262\235\333\242s+5\216\227\242\3675"..., 692) = 692
pwrite64(8, "G\347\0248%\227\305}p\t)eC\346\261\17g\347o\306$\35\320"..., 61440, 61501440) = 61440
utimes("Fedora-9-i386-DVD.iso", {1210211667, 0}) = 0
fcntl64(7, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=688, len=1}, 0xbff91fa0) = 0
fcntl64(7, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=688, len=1}, 0xbff91fa0) = 0
geteuid32() = 1410
getuid32() = 1410
geteuid32() = 1410
setresuid32(0, 0, -1) = 0
geteuid32() = 0
kill(11697, SIGUSR1) = 0
--- SIGUSR1 (User defined signal 1) @ 0 (0) ---
write(24, "\n", 1) = 1
sigreturn() = ? (mask now [FPE USR2 PIPE])
setresuid32(1410, 1410, -1) = 0
geteuid32() = 1410
getuid32() = 1410
write(5, "\0\0\0/\377SMB/\0\0\0\0\210\1\310\0\0\0\0\0\0\0\0\0\0\0"..., 51) = 51
fcntl64(7, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=688, len=1}, 0xbff92400) = 0
fcntl64(7, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=688, len=1}, 0xbff92400) = 0
gettimeofday({1211265972, 789661}, NULL) = 0
select(22, [5 21], [], NULL, {60, 0}) = 2 (in [5 21], left {60, 0})
read(21, "\n", 1) = 1
gettimeofday({1211265972, 789856}, NULL) = 0
select(22, [5 21], [], NULL, {60, 0}) = 1 (in [5], left {60, 0})
read(5, "", 4) = 0
munmap(0xb7c7b000, 81920) = 0
close(13) = 0
geteuid32() = 1410
setresuid32(0, 0, -1) = 0
geteuid32() = 0
geteuid32() = 0
getegid32() = 513
setresgid32(-1, 0, -1) = 0
getegid32() = 0
getegid32() = 0
setgroups32(0, []) = 0
setresgid32(-1, 0, -1) = 0
getegid32() = 0
setresuid32(0, 0, -1) = 0
geteuid32() = 0
fcntl64(12, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=5120, len=1}, 0xbff91380) = 0
fcntl64(12, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=5120, len=1}, 0xbff912e0) = 0
fcntl64(28, F_SETSIG, 0x23) = 0
fcntl64(28, 0x400 /* F_??? */, 0x2) = 0
close(28) = 0
utimes("user_v7.exe", {1199661357, 0}) = 0
fcntl64(7, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=688, len=1}, 0xbff911e0) = 0
fcntl64(7, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=688, len=1}, 0xbff911e0) = 0
geteuid32() = 0
kill(11697, SIGUSR1) = 0
--- SIGUSR1 (User defined signal 1) @ 0 (0) ---
write(24, "\n", 1) = 1
sigreturn() = ? (mask now [FPE USR2 PIPE])
time(NULL) = 1211265972
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=160, ...}) = 0
geteuid32() = 0
write(29, "[2008/05/20 16:46:12, 2] smbd/cl"..., 61) = 61
geteuid32() = 0
write(29, " adrians closed file user_v7.ex"..., 59) = 59
fcntl64(12, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=37232, len=1}, 0xbff91380) = 0
fcntl64(12, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=37232, len=1}, 0xbff912e0) = 0
fcntl64(8, F_SETSIG, 0x23) = 0
fcntl64(8, 0x400 /* F_??? */, 0x2) = 0
close(8) = 0
utimes("Fedora-9-i386-DVD.iso", {1210211667, 0}) = 0
fcntl64(7, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=688, len=1}, 0xbff911e0) = 0
fcntl64(7, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}, 0xbff91130) = 0
fcntl64(7, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=347936, len=1}, 0xbff91090) = 0
fcntl64(7, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=347936, len=1}, 0xbff91090) = 0
fcntl64(7, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}, 0xbff91130) = 0
fcntl64(7, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=688, len=1}, 0xbff911e0) = 0
geteuid32() = 0
kill(11697, SIGUSR1) = 0
--- SIGUSR1 (User defined signal 1) @ 0 (0) ---
write(24, "\n", 1) = 1
sigreturn() = ? (mask now [FPE USR2 PIPE])
time(NULL) = 1211265972
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=160, ...}) = 0
geteuid32() = 0
write(29, "[2008/05/20 16:46:12, 2] smbd/cl"..., 61) = 61
geteuid32() = 0
write(29, " adrians closed file Fedora-9-i"..., 69) = 69
fcntl64(12, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=17620, len=1}, 0xbff91380) = 0
fcntl64(12, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=17620, len=1}, 0xbff912e0) = 0
fcntl64(27, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=264, len=1}, 0xbff91330) = 0
fcntl64(27, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=48, len=1}, 0xbff91270) = 0
fcntl64(27, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=48, len=1}, 0xbff91270) = 0
fcntl64(27, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=264, len=1}, 0xbff91330) = 0
geteuid32() = 0
getegid32() = 0
setgroups32(0, []) = 0
setresgid32(-1, 0, -1) = 0
getegid32() = 0
setresuid32(0, 0, -1) = 0
geteuid32() = 0
time(NULL) = 1211265972
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=160, ...}) = 0
geteuid32() = 0
write(29, "[2008/05/20 16:46:12, 1] smbd/se"..., 57) = 57
geteuid32() = 0
write(29, " vmxp (9.185.197.223) closed co"..., 60) = 60
fcntl64(10, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=468, len=1}, 0xbff91bb0) = 0
fcntl64(10, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=72892, len=1}, 0xbff91ba0) = 0
fcntl64(10, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=72892, len=1}, 0xbff91ba0) = 0
fcntl64(10, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}, 0xbff91af0) = 0
fcntl64(10, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}, 0xbff91af0) = 0
fcntl64(10, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=468, len=1}, 0xbff91be0) = 0
chdir("/") = 0
geteuid32() = 0
getegid32() = 0
setgroups32(0, []) = 0
setresgid32(-1, 0, -1) = 0
getegid32() = 0
setresuid32(0, 0, -1) = 0
geteuid32() = 0
munmap(0xb7b1c000, 4096) = 0
close(27) = 0
fcntl64(9, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=432, len=1}, 0xbff91f00) = 0
fcntl64(9, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=432, len=1}, 0xbff91f30) = 0
fcntl64(9, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=432, len=1}, 0xbff91eb0) = 0
fcntl64(9, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=149240, len=1}, 0xbff91ea0) = 0
fcntl64(9, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=149240, len=1}, 0xbff91ea0) = 0
fcntl64(9, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}, 0xbff91df0) = 0
fcntl64(9, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}, 0xbff91df0) = 0
fcntl64(9, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=432, len=1}, 0xbff91ee0) = 0
fcntl64(10, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=344, len=1}, 0xbff92420) = 0
fcntl64(10, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=277788, len=1}, 0xbff92410) = 0
fcntl64(10, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=277788, len=1}, 0xbff92410) = 0
fcntl64(10, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}, 0xbff92360) = 0
fcntl64(10, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}, 0xbff92360) = 0
fcntl64(10, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=344, len=1}, 0xbff92450) = 0
munmap(0xb7c99000, 40200) = 0
close(11) = 0
munmap(0xb7725000, 4157440) = 0
close(12) = 0
exit_group(0) = ?
Process 11697 detached
Regards,
Adrian Sender
_________________________________________________________________
It's simple! Sell your car for just $30 at CarPoint.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT
More information about the samba
mailing list