[Fwd: Re: [Samba] Samba writes in wrong file]
Markus Ungermann
ungermann at elzet80.de
Wed Sep 10 16:17:43 GMT 2003
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.
The oplocks are now set to yes. This wasn't the error.
This time the database, see below, was not running on my Windows XP.
Here some informations:
Samba-Server:
- Debian Woody
- Samba 2.2.8a-0.1 for Debian
- Software Raid (Raid1) with two identically Seagate 80GB HDDs
Hardware:
- Compaq ML310 (P4 2GHZ, 256MB)
- Sil0649CL160 ATA100-Controller (used driver: CMD64x)
- HDDs connectet both as Master (hda, hdc)
Client:
- Compaq Evo D310vm (Cel 1,8GHz)
- Windows XP SP1
- Wordperfect 9
I have tried to use Samba 3.0R3, but it have problems with german Characters
(like üöä).
And i can't reproduce this error :-(
Can anyone please help ??
I don't know what to do now ...
Thank you very, very much !!!
(And sorry for this english)
Markus Ungermann schrieb:
> Hello,
>
> i have the problem that samba writes in the wrong files
> This is the original log.smbd and there you can find something from
> Mozilla 1.4 inside:
>
> 2003/09/01 14:42:39, 1] smbd/service.c:close_cnum(677)
> wadjet (192.168.17.50) closed connection to service WLW
> // <!-- <mdb:mork:z v="1.4"/> -->
> < <(a=c)> // (f=iso-8859-1)
> (80=ns:msg:db:row:scope:msgs:all)(81=subject)(82=sender)(83=message-id)
> (84=references)(85=recipients)(86=date)(87=size)(88=flags)(89=priority)
> ...<schnipp>......
> (AE=folderName)(AF=charSet)(B0=charSetOverride)(B1=lastPurgeTime)>
>
> <(80=1)(81=INBOX.Junk)(9D=Mon Sep 01 14:33:00 2003)>
> {1:^9E {(k^9F:c)(s=9u)}
> [1(^AC=1)(^AD81)(^B1^9D)(^A9=1)(^AA=1)]}
>
> @$${1{@
> {-1:^80 {(k96:c)(s=9)} }
> {-FFFFFFFD:^99 {(k98:c)(s=9)} }
> <(9E=Mon Sep 01 14:38:00 2003)>[1:^9E(^B1^9E)]
> @$$}1}@
>
> ...<schnipp>......
>
> @$${9{@
> @$$}9}@
> [2003/09/01 14:59:26, 1] smbd/service.c:make_connection(636)
> elac-58 (192.168.17.58) connect to service arev as user markus
> (uid=502, gid=101) (pid 10321)
> [2003/09/01 15:05:57, 0] lib/util_sock.c:read_data(436)
>
> Later i get a Seek-File Fehler:
>
> [2003/09/01 15:18:00, 0] smbd/fileio.c:seek_file(43)
> seek_file:
> (Netscape/giesler/u40jwlc6.slt/ImapMail/imap.elzet80.de/INBOX.sbd/Junk.msf)
> sys_lseek failed. Error was Bad file descriptor
>
> This happens at other Sambafiles too, und it seems not to be Mozilla
> specific only.
>
> At the sambaserver runs an old (but we must use) DOS-Databases called
> AREV - Advanced Revelation. This Database uses a "byte range locking".
> At the moment i don't know what this realy is.
>
> If i got the errors only (at the moment) when the database runs.
>
> Do you have an idea, or ever see something like this ?
>
> Thank you very much !!!
>
> My smb.conf:
> the oplocks=No is old, but could be an error.
> This was done, because the database should do the oplocks.
>
> version: 2.2.8a-0.1 for Debian
>
>
> # Samba config file created using SWAT
> # from alara.elzet80.de (192.168.17.1)
> # Date: 2003/09/01 16:00:11
>
> # Global parameters
> [global]
> workgroup = ELZET80
> netbios name = SAMBA
> server string = Samba-Server (Linux)
> interfaces = 192.168.17.01/255.255.255.0
> encrypt passwords = Yes
> log level = 1
> character set = ISO8859-1
> mangle case = Yes
> dos filetimes = Yes
> dos filetime resolution = Yes
>
> ...<schnipp>......
>
> [arev]
> comment = Arev Datenbank
> path = /samba/arev
> read only = No
> create mask = 0664
> directory mask = 0775
> oplocks = No
>
>
--
Mit freundlichen Gruessen / Best regards
Markus Ungermann
------------------------------------------------------------
ELZET80 Mikrocomputer GmbH&Co.,KG | ungermann at elzet80.de
Theaterplatz 9 | Tel +49-241-4016 580
D-52062 Aachen | Fax +49-241-484 80
------------------------------------------------------------
More information about the samba
mailing list