Koozali.org: home of the SME Server

Clarion & Topspeed

John Crisp

Clarion & Topspeed
« on: May 21, 2002, 07:57:17 PM »
Hi, I'm running a E5.0.4 server. Client is trying to install a program written with Clarion for Windows and Topspeed.

After installation which proceeds OK, whenever they try to run the program it just locks on the client PC.

I understand that this combination has run OK on Linux & Samba but can find no references other than 'it works' (which in this case it doesn't......)

If you install onto a standard Win98 share from a Win 98 workstaion, all is rosy.

I have nop idea about protocols etc that it uses, but I understand from the suppliers that it tuns fine on NT & Novell.

Anyone got any experience or knowledge ?

B. Rgds
John

Graeme Fleming

Re: Clarion & Topspeed
« Reply #1 on: May 25, 2002, 03:31:39 PM »
Hmm, my guess would be they are trying to install the application broker on Apache so that the app will run in a browser on any workstation (perhaps hooking into the MySQL backend) - may want to check EXACTLY what they are trying to install and where; also what Version of Clarion the app was complied with as there may be some version specific config required.

John Crisp

Re: Clarion & Topspeed
« Reply #2 on: May 28, 2002, 04:43:59 AM »
Thanks for your reply.

No this is not web based as far as I can see - I have a test rig here. Seems to be a plain old 'compiled for windoze' front end with Topspeed database files at the back.

The problem seems to be accessing Topspeed files. If you run the Topscan database viewer, when you do a tcpdump you can see loads of errors getting locks on files.

-----------------------------
SMBError = ERRDOS - ERRlock (A Lock request conflicted with an existing lock or specified an  invalid mode,  or an Unlock requested attempted to remove a lock held by another process.)
-----------------------------

Whatever the hell that means !

Please let me know if you have any thoughts or suggestions.

B. Rgds

John

Graeme Fleming

Re: Clarion & Topspeed
« Reply #3 on: May 28, 2002, 07:10:59 AM »
I don't know what version of Samba is included with 5.0.4 but see:

http://au1.samba.org/samba/whatsnew/samba-2.2.4.html


The Samba Team are pleased to announce Samba 2.2.4

This is the latest stable release of Samba. This is the version that all production Samba servers should be running for all current bug-fixes.

There have been several fixes and internal enhancements which include:

 * More/better SPOOLSS printing functionality for Windows NT/2k/XP clients.
 * Several fixes relating to serving PC database files such as (Access and FoxPro) from a Samba file share.
 * Several improves in Samba's VFS layer which can be seen in the inclusion of a "Recycle Bin" vfs module.  See examples/VFS/README for more details on this.
 * Addition of a tool (tdbbackup) for backup/restore of Samba's tdb's
 * Continued improvements to winbind for greater scalability and stability
 * Several fixes related to Samba's MS-DFS support
 * Rpcclient's various printer commands now work (again)

Binary packages will be released shortly for major platforms. The source code can be downloaded from :

        ftp://ftp.samba.org/pub/samba/

in the file samba-2.2.4.tar.gz or samba-2.2.4.tar.bz2.
md5sum's are available in the same directory.

The release notes follow.

As always, all bugs are our responsibility.

Regards,

        The Samba Team.


              WHAT'S NEW IN Samba 2.2.4  - 2nd May 2002
              =========================================


New/Changed parameters in 2.2.4
--------------------------------

For more information on these parameters, see the man pages for smb.conf(5).

Added/changed parameters
------------------------

* csc policy
* inherit acls
* nt status support
* lock spin count
* lock spin time
* pid directory
* winbind use default domain


As you can see there is some change to the file locking system specifically the 0/0 lock which may be relevant - if this update is needed then you will have to check to see if it is possible to install on 5.0.4 or more likely if an upgrade to 5.1.2 may give you a newer (tho not the latest) version of Samba.

There is a Howto for upgrading to at least 2.2.3a:

http://www.myezserver.com/downloads/mitel/contrib/samba-2.2.3-a/samba-howto.html

which may be of use.

HTH

John Crisp

Re: Clarion & Topspeed
« Reply #4 on: May 28, 2002, 06:51:08 PM »
Thanks for that Graham.

I have figured a few things.

1. This is almost certainly a Samba locking issue
2. Strict locking is on and I think this is the actual point
3. Upgrading Samaba may well help

I'm going to post about locking in general and see what difference it all makes.

I'll post back here when I know for the benefit of others.

B. Rgds
John

John Crisp

Re: Clarion & Topspeed
« Reply #5 on: May 31, 2002, 04:26:44 AM »
Oplocks are set to no - set them to yes and you are away !

Don't know why they are set to no. I'm trying to find out.