Re: [sqlite] R: R: Lock problem opening a Sqlite db on a Samba/CIFS shared disk

2010-12-12 Thread Simon Slavin

On 12 Dec 2010, at 8:31pm, Marco Turco wrote:

>> What OS (including version) is the host computer running ?
> Windows Vista Business sp2

Argh.  Any chance of trying it with something other than Vista ?  I don't know 
it's definitely the problem, I'm just allergic to Vista.

>> How is Wine accessing the server ?  Did you mount the server in the
> Macintosh layer, using an 'SMB://' URL, or did you use the Windows
> facilities to mount it inside Wine ?
> I mounted the server using the Mac layer (finder->Connect to server) then I
> mapped a drive (Z:\) into the Wine configuration.

One stage of that process is defeating the locking process.  Please try mapping 
the shared drive directly from the Wine stage.

> It seems the problem is due to a bug on the debian distribution of Samba and
> the only way to solve it is at this moment to mount the net disk using the
> nobrl parameter see
> http://www.mail-archive.com/sqlite-users@sqlite.org/msg20409.html
> anyway I am not sure this parameter is supported on Mac Os X mount command
> but  I am not an expert in Mac & Unix Os.

That bug was fixed years ago.  And I think that if it was a problem your 
Macintosh application would have the same problem.  However, if you want to see 
how to mount that drive from the command-line on a Mac, type 'man mount_smbfs'.

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] R: R: Lock problem opening a Sqlite db on a Samba/CIFS shared disk

2010-12-12 Thread Marco Turco
>The situation you're having a problem with ... am I right in saying that
the application with problems is a Windows application running inside the
Wine layer ?
Yes. 

>What OS (including version) is the host computer running ?
Windows Vista Business sp2

>What OS (including version) is the client computer running ?  Include the
version of Wine if Wine is involved.
Mac OS X 10.5.8. Wine 1.1.44

>How is Wine accessing the server ?  Did you mount the server in the
Macintosh layer, using an 'SMB://' URL, or did you use the Windows
facilities to mount it inside Wine ?
I mounted the server using the Mac layer (finder->Connect to server) then I
mapped a drive (Z:\) into the Wine configuration.

It seems the problem is due to a bug on the debian distribution of Samba and
the only way to solve it is at this moment to mount the net disk using the
nobrl parameter see
http://www.mail-archive.com/sqlite-users@sqlite.org/msg20409.html
anyway I am not sure this parameter is supported on Mac Os X mount command
but  I am not an expert in Mac & Unix Os.

Any ideas ?

Marco

-Messaggio originale-
Da: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org]
Per conto di Simon Slavin
Inviato: domenica 12 dicembre 2010 21:13
A: General Discussion of SQLite Database
Oggetto: Re: [sqlite] R: Lock problem opening a Sqlite db on a Samba/CIFS
shared disk


On 12 Dec 2010, at 7:58pm, Marco Turco wrote:

> this problem appear only in accessing the sqlite database from Mac OS 
> X on a Windows shared disk.

The situation you're having a problem with ... am I right in saying that the
application with problems is a Windows application running inside the Wine
layer ?

> On full Windows networks and also on Mac OS X in local all runs fine.

What OS (including version) is the host computer running ?

What OS (including version) is the client computer running ?  Include the
version of Wine if Wine is involved.

How is Wine accessing the server ?  Did you mount the server in the
Macintosh layer, using an 'SMB://' URL, or did you use the Windows
facilities to mount it inside Wine ?

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users