LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-01-2004, 10:48 AM   #1
JoelFlores
LQ Newbie
 
Registered: Jun 2004
Location: Caracas
Posts: 5

Rep: Reputation: 0
Dosemu and Dbase


Hi....


I have Linux Redhat 7.1 , Kernel version 2.4.7-10, Dosemu ver 1.2.2.0, and samba

I'm trying to run a Clipper database program in network mode in DOSEMU. The
program opens some files for exclusive access, assuming that no other
program can open them. This assumption holds true under MSDOS 6.22, Windows 2000 and other network environments. However, two instances of this program, running in two instances of DOSEMU on one Linux machine, can open these files simultaneously, when in teorical not happen.

The Clipper database is on Windows 2000 server machine, and mounting on linux using Samba.


I already check the $_full_file_locks = (on) in dosemurc

and in smb.conf

oplocks=yes
strict locking = yes
DENY_ALL
---------------

any sugestions ?????
 
Old 09-01-2004, 08:33 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"However, two instances of this program, running in two instances of DOSEMU on one Linux machine, can open these files simultaneously, when in teorical not happen."

The two Clipper programs are running on two separate machines because each instance of DOSEMU is a separate machine. If the two DOSEMU emulators are networked togather using a DOS based networking then they would recognize each other's lock mechanisms. They would do so regardless of whether Clipper was running on two DOS machines or two DOSEMU emulators. But since there is no networking between the two DOSEMU emulators they know nothing of each other's lock mechanisms.

You might be able to fix the problem this way. Find out what directory the relevent lock files are kept in and then create a symbolic link from one DOSEMU's file tree to the same spot in the other DOSEMU's file tree.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 09-01-2004 at 08:42 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
backing up MySQL dbase DropHit Linux - Software 5 05-04-2004 03:19 PM
dbase IV using dosemu iluvatar Linux - Software 2 03-11-2004 01:43 AM
DBase 3 + embedded OS cosiek Linux - General 0 10-28-2003 02:22 PM
dbase.so missing in RH8.0? schaug Red Hat 0 09-11-2003 10:49 AM
OpenOffice and dbase PapaNoHair Linux - Software 0 09-07-2003 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration