Skip to contentSkip to conversation

Problems running 1.1.99 + Clipper w/ Multiple users

DISCUSSION Gustavo Sverzut Barbieri 3 participants 3 messages Nov 12, 2003 – Nov 13, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to get away from M$ from my company, but it's quite hard, because we need to run a Clipper software with multiple users acessing the same database file (.dbf).
I have some problems with that:

1) After running the software and accessing DBF from MS-DOS, when exiting (exitemu) I get:

C:\ESMERALD>exitemuERROR: lowmem_alloc failed for 10240
ERROR: Unable to allocate memory pool

This used to work with 1.1.4. Running with Freedos works all right.

2) Trying to open the same DBF from withing 2 different dosemu I got this error:
.----------------------------------------------------¬

 | Error DBFNTX/1001  Open error: \ESMERALD\P0070.DBF |
 |                    (DOS Error 5)                   |
 |                                                    |
 |              Quit    Retry    Default              |

`----------------------------------------------------'

Error DBFNTX/1001 Open error: \ESMERALD\P0070.DBF (DOS Error 5) Called from LOCKERRHAN(0)
Called from (b)INITHANDL$(0)
Called from DBUSEAREA(0)
Called from NET_USE(63)
Called from ML213(50)
Called from E_GAB3(77)
Called from GAB3(608)

The file is local (not {smb,nfs,...} mounted) at a ReiserFS partition (if that matters).

The right thing would be to both dosemu open the files, because Clipper does some kind of record locking.
How to solve this? I hope you can help me solving this... I want to
run everything on one machine, just exporting the display and avoiding problems.

PS: lsof | grep dosemu is at http://gsbarbieri.sytes.net/dosemu.lsof

Gustavo

______________________________________________________________________

Yahoo! Mail: 6MB, anti-spam e antivírus gratuito! Crie sua conta agora:
http://mail.yahoo.com.br
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 7 lines · Gustavo Sverzut Barbieri

1) After running the software and accessing DBF from MS-DOS, when exiting (exitemu) I get:

C:\ESMERALD>exitemuERROR: lowmem_alloc failed for 10240
ERROR: Unable to allocate memory pool

This used to work with 1.1.4. Running with Freedos works all right.

You need to upgrade your exitemu.com too.

Quoted 2 lines

2) Trying to open the same DBF from withing 2 different dosemu I got this error:

is it possible to download your software somewhere so it will be possible to reproduce the problem? locking is a long standing problem -- it's not possible to solve it 100% because DOS and Windows use wildly incompatible locking schemes.

Bart

#2 lore raw
In reply to Gustavo Sverzut Barbieri
Quoted 6 lines · Gustavo Sverzut Barbieri

The right thing would be to both dosemu open the files, because Clipper does some kind of record locking.
How to solve this? I hope you can help me solving this... I want to
run everything on one machine, just exporting the display and avoiding problems.

The lock whole file option should not be enabled. FreeDOS 2032a works fine. I run 5 dosemus this way but I haven't encountered locking problems running them local. I have only a performance issue which I think can not be solved. 5 Clipper programs aren't quite fast on a 1,4GHz Celeron...

Dukai