oplock problem

David Collier-Brown davecb at canada.sun.com
Wed Jul 7 11:29:32 GMT 1999


Tomas Kuba <tkuba at seznam.cz> wrote:
|                                                            It was 
| possible to start several instances of program on the same computer,
but 
| when we started program on another computer, the program returned
something 
| like "On another computer is running operation that needs exclusive
access 
| to databases. Stop this operation and try to run program once again".
That 
| error message should appear only if somebody is trying to re-index or 
| backup databases.

	Sounds like it's realized there is an oplock being held, and
	that therefor anothe rmachine may have the file cached...

| The only way we were able to run the program on more than one machine
was 
| to set "fake oplocks = yes" which isn't very happy in network
environment. 

	have you tries with oplocks turned off?  That's the "normal" way
	one runs database-like PC apps.

--dave
--
David Collier-Brown,  | Always do right. This will gratify some people
185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
Willowdale, Ontario   | http://java.science.yorku.ca/~davecb
Work: (905) 477-0437 Home: (416) 223-8968 Email: davecb at canada.sun.com


More information about the samba mailing list