LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-17-2003, 04:56 AM   #1
DarkSTech
LQ Newbie
 
Registered: Jan 2003
Distribution: RedHat 8.0, Mandrake 9.0
Posts: 16

Rep: Reputation: 0
Running an M$ Access database from Linux


Hi,

I'm running winxp clients with a redhat 8.0 server. However when we placed a piece of software on the linux share drive we notice that we couldnt access from more than one terminal at a time. I've come to the conclusion that its a problem with the .mdb file.

Ive done many searches on the web but have found nothing about this anyone else had this problem? If anyone has got any ideas about this... ?

Cheers
 
Old 03-17-2003, 07:11 AM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Not too sure whether this could be the cause, but I know Access databases can be either single-user or multi-user. Perhaps yours is single-user?
 
Old 03-17-2003, 07:14 AM   #3
Burke
Member
 
Registered: Dec 2002
Location: Virginia, USA
Posts: 131

Rep: Reputation: 15
That shouldn't be it. In general, an access database "should" support about 10 concurrent users. Overall, it would be best to move the data into MySQL and use a web-interface to the DB or re-write the db-access code in the front end application to use MySQL instead of MSAccess. If Access is used as the front end, you could also install the MyODBC drivers & create a database that links to the tables stored in MySQL on the Redhat server.

Other than that, this is most likely something to do with the settings in Samba. Perhaps someone here knows the correct settings to use. I'm sure it has something to do with file locking.
 
Old 03-17-2003, 11:05 AM   #4
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
I second Burke's comments - ideally you would move this data into a mySQL database and migrate to a *real* database.

Of course, this may or may not be welcome news. I believe your problem is that Windows is attempting to do 'byte locking' on your database file - that is, someone opens the file and requests some data. The part of the file that contains that data is locked, and the rest left open for other people doing different operations on other parts of the data.

The number of users it can support is generally proportional to the size of the data - if one person is working on record X, no-one else can work on it regardless of anything else. But they can work on record Y if no-one else is using it. The 10 concurrent users is a limit of NT4 Workstation which has a max number of users set at 10.

Here's a link to the samba documentation which goes into it a bit, but doesn't really help.
http://de.samba.org/samba/ftp/docs/h...on.html#AEN199

All in all, I don't think there's much you can do. I don't think Samba handles it very well, and your best bet is to either :

1) move the file to a Windows share.
2) move the data into a mySQL database (which is actually altogether a *much* better option. But conversely alot more work).

Slick.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How can access the sybase database? wuzhong Programming 9 12-12-2004 02:28 PM
Is there a database manager for linux that is compatable with M$ Access and SQL? enigma Z Linux - Software 2 08-27-2004 08:50 PM
how to open Access database ? meshmesh Linux - Software 1 01-27-2004 06:50 AM
Access Database on Linux RH9 meistwer Linux - Software 4 11-28-2003 08:15 PM
Access Database on Linux RH9 meistwer General 2 11-24-2003 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:34 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