[Fwd: Re: [Samba] Samba writes in wrong file]
Markus Ungermann
ungermann at elzet80.de
Thu Sep 11 07:42:00 GMT 2003
Jeremy Allison schrieb:
> On Wed, Sep 10, 2003 at 06:17:43PM +0200, Markus Ungermann wrote:
>
>>Hello,
>>
>>i have this problem again.
>>I have samba logs, from log.smbd, inside my Wordperfect-Document:
>>
>>
>>[2003/09/09 16:42:33, 2] smbd/close.c:close_normal_file(229)
>> markus closed file SftemBASIC/Testprogramme/2.9_Structure.b~RFf12cf7.TMP
>>(numopen=4)
>>[2003/09/09 16:42:33, 2] smbd/open.c:open_file(246)
>> markus opened file SftemBASIC/test/m3/M3/workbench/EMBWorkBench.exe read=Yes
>>write=No (numopen=5)
>>[2003/09/09 16:42:33, 2] smbd/close.c:close_normal_file(229)
>> markus closed file SftemBASIC/test/m3/M3/workbench/EMBWorkBench.exe (numopen=4)
>> ä < ” ì D œ ô L
¤/ ÓÔ2 ÔÔ3
>>
>> ÔÓ
>>
>>The last 3 Lines are the Wordperfect lines. This is right, the samba logs before
>>are wrong.
>
>
> We've seen this on a couple of systems, SuSE and now Debian. We've
> never been able to reproduce it reliably. Our current best guess is
> it might be a glibc bug. What version of glibc do you have ?
glibc 2.2.5. The Woody-Stable.
Kernel 2.4.21 self-compiled
> Can you reproduce this ?
No, sorry i can't. But i try to reproduce it on the Reserve-System.
> If so, can you get an strace ?
Sorry, if the error occurs i have no really logs. The only thing i saw is this:
[2003/09/09 16:08:02, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=No
(numopen=4)
[2003/09/09 16:08:02, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=3)
[2003/09/09 16:08:02, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=Yes
(numopen=4)
[2003/09/09 16:08:02, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=No
(numopen=5)
[2003/09/09 16:08:02, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=4)
Then i opened the file next day, and then it was destroyed:
[2003/09/10 13:36:57, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=Yes
(numopen=4)
[2003/09/10 13:36:57, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=3)
[2003/09/10 13:36:57, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=Yes
(numopen=4)
[2003/09/10 13:36:57, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=No
(numopen=5)
[2003/09/10 13:36:57, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=4)
[2003/09/10 13:36:57, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=No
(numopen=5)
[2003/09/10 13:36:57, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=4)
[2003/09/10 13:36:57, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=No
(numopen=5)
[2003/09/10 13:36:57, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=4)
[2003/09/10 13:36:57, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=No
(numopen=5)
[2003/09/10 13:36:57, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=4)
[2003/09/10 13:36:57, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=No
(numopen=5)
[2003/09/10 13:36:57, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=4)
[2003/09/10 13:36:57, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=No
(numopen=5)
[2003/09/10 13:36:57, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=4)
[2003/09/10 13:36:57, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=No
(numopen=5)
[2003/09/10 13:36:57, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=4)
[2003/09/10 13:36:57, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=No
(numopen=5)
[2003/09/10 13:36:57, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=4)
[2003/09/10 13:36:57, 2] smbd/open.c:open_file(246)
markus opened file SftemBASIC/Doku/Testprotokoll_M3.wpd read=Yes write=No
(numopen=5)
[2003/09/10 13:36:57, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=4)
[2003/09/10 13:37:02, 2] smbd/close.c:close_normal_file(229)
markus closed file SftemBASIC/Doku/Testprotokoll_M3.wpd (numopen=3)
I found this:
Sep 9 17:23:03 alara smbd[1916]: [2003/09/09 17:23:03, 0]
lib/util_sock.c:read_data(436)
Sep 9 17:23:03 alara smbd[1916]: read_data: read failure for 4. Error = No
route to host
That is all i found.
But one thing i can't understand:
If the wpd file was closed at 2003/09/09 16:08:02, how can i found logs at the
wpd file from 2003/09/09 16:42:33 ??
If this is true, the error is not in samba ,or?
Thank you
--
Mit freundlichen Gruessen / Best regards
Markus Ungermann
More information about the samba
mailing list