Wine + Habil System Server (MDB)

Questions about Wine on Linux
Locked
jgozzo
Level 2
Level 2
Posts: 11
Joined: Mon Jul 22, 2013 8:49 am

Wine + Habil System Server (MDB)

Post by jgozzo »

Hi.

I am testing a client-server application for Windows with MDB database, JET40 and MDAC27. The server runs on Wine 1.4 and listens for connections on 62802 port. I configured iptables this way:

user@opensuse112:/var/log> sudo /usr/sbin/iptables -L
root's password:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere local/24 tcp dpt:62802
ACCEPT udp -- anywhere local/24 udp dpt:62802

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- local/24 anywhere tcp dpt:62802
ACCEPT udp -- local/24 anywhere udp dpt:62802
user@opensuse112:/var/log>

But don´t work, the client installation try to connect, but unsuccess.
Already open the 62802 door on Windows station.

Any help?

Thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine + Habil System Server (MDB)

Post by dimesio »

Start by upgrading Wine. 1.6 is out now.
jgozzo
Level 2
Level 2
Posts: 11
Joined: Mon Jul 22, 2013 8:49 am

Re: Wine + Habil System Server (MDB)

Post by jgozzo »

Hi,

I tested on Wine 1.6, configured xinetd with Server_Habil_ service on 62802 port, but a read error occurs at client login and cannot to connect to server. I am analyzing.

Thanks.
jgozzo
Level 2
Level 2
Posts: 11
Joined: Mon Jul 22, 2013 8:49 am

Re: Wine + Habil System Server (MDB)

Post by jgozzo »

Hi.

I tried with xinetd to enable the service and your port (62802) and iptables to open it, but without success, an read error occurs on logon to server.
For while I don't know if it is possible:
I need to run a windows program that is MDB database server, that listen for connections on 62802 port, within Linux+Wine and the clients programs running on Windows on a TCP/IP LAN.

Linux: OpenSuse 11.2 or Ubuntu 12.04 LTS
Wine 1.6

Any help?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine + Habil System Server (MDB)

Post by dimesio »

Terminal output?
jgozzo
Level 2
Level 2
Posts: 11
Joined: Mon Jul 22, 2013 8:49 am

Re: Wine + Habil System Server (MDB)

Post by jgozzo »

No.
jgozzo
Level 2
Level 2
Posts: 11
Joined: Mon Jul 22, 2013 8:49 am

Re: Wine + Habil System Server (MDB)

Post by jgozzo »

What do you mean with "terminal output" please?
jgozzo
Level 2
Level 2
Posts: 11
Joined: Mon Jul 22, 2013 8:49 am

Re: Wine + Habil System Server (MDB)

Post by jgozzo »

Follow:
user@opensuse112:~> wine "C:\Program Files\Koinonia Software\Habil Empresarial\Habil_Servidor_MSA.exe"
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2013, dlt (d/m/y): 20/10/2013
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
fixme:advapi:RegisterEventSourceA ((null),"FastReport"): stub
fixme:advapi:RegisterEventSourceW (L"",L"FastReport"): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000000,0x1d8e398,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000000,0x13e678,(nil)): stub
err:eventlog:ReportEventW L"Database connection error"
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2013, dlt (d/m/y): 20/10/2013
WARNING: no socket to connect to
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000000
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000000
fixme:wininet:URLCache_FindFirstFreeEntry Grow file
err:wininet:CommitUrlCacheEntryInternal no free entries
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
err:win:DefWindowProcA called for other process window 0x60130
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x60130
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x60130
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x60130
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
fixme:win:WINNLSEnableIME hwnd 0x10150 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10150 enable -1: stub!
err:win:DefWindowProcA called for other process window 0x10144
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x10144
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x10144
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
err:module:import_dll Library FONTSUB.dll (which is needed by L"C:\\Program Files\\Koinonia Software\\Habil Empresarial\\Habil_ServidorRelatorios.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Koinonia Software\\Habil Empresarial\\Habil_ServidorRelatorios.exe" failed, status c0000135
err:win:DefWindowProcA called for other process window 0x10144
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x10144
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x10144
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x10144
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x10144
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x10144
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine + Habil System Server (MDB)

Post by dimesio »

err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
Do what it says.
jgozzo
Level 2
Level 2
Posts: 11
Joined: Mon Jul 22, 2013 8:49 am

Re: Wine + Habil System Server (MDB)

Post by jgozzo »

Hi.

Loading at Ubuntu 12.04 don't occurs this error. If I configure xinetd:

ubuntu@ubuntuserver:/etc/xinetd.d$ cat Habil_Servidor_
service Habil_Servidor_
{
port = 62802
disable = no
socket_type = stream
protocol = tcp
wait = no
user = ubuntu
server = /usr/bin/wine
server_args = "C:\Program Files (x86)\Koinonia Software\Habil Empresarial\Habil_Servidor_MSA.exe"
}

I have a read error at loading client (Windows).

If I stop xinetd and run the application:
ubuntu@ubuntuserver:~$ wine C:\\Program\ Files\ \(x86\)\\Koinonia\ Software\\Habil\ Empresarial\\Habil_Servidor_MSA.exe

the port 62802 don't opens, then the client reports socket error 10061 (connection refused), without firewall running on Linux.

How can I run the server listening the Windows clients on port 62802 by the Wine?
Follow the terminal output.

Thanks.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine + Habil System Server (MDB)

Post by dimesio »

I've already told you what you need to do, and so did the console output: you need to install winbind.
jgozzo
Level 2
Level 2
Posts: 11
Joined: Mon Jul 22, 2013 8:49 am

Re: Wine + Habil System Server (MDB)

Post by jgozzo »

Hi, I did installation of winbind (samba-winbind-3.6.3-34.20.1.i586).

Follow the new terminal output:


user@opensuse112:~> WINEDEBUG=+err wine "C:\Program Files\Koinonia Software\Habil Empresarial\Habil_Servidor_MSA.exe"
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2013, dlt (d/m/y): 20/10/2013
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
fixme:advapi:RegisterEventSourceA ((null),"FastReport"): stub
fixme:advapi:RegisterEventSourceW (L"",L"FastReport"): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000000,0x1d8e398,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000000,0x13e660,(nil)): stub
err:eventlog:ReportEventW L"Database connection error"
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2013, dlt (d/m/y): 20/10/2013
WARNING: no socket to connect to
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000000
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000000
fixme:wininet:URLCache_FindFirstFreeEntry Grow file
err:wininet:CommitUrlCacheEntryInternal no free entries
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
err:win:DefWindowProcA called for other process window 0x7012a
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x7012a
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x7012a
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
err:win:DefWindowProcA called for other process window 0x7012a
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
fixme:win:WINNLSEnableIME hwnd 0x10154 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10154 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10156 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10156 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10154 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10154 enable -1: stub!
user@opensuse112:~>

Perhaps this warning can be a problem: WARNING: no socket to connect to


Thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine + Habil System Server (MDB)

Post by dimesio »

The warning isn't a Wine message. Googling it got me a lot of hits for a problem with gnome-keyring a couple of years ago, and you are using older distros. The solution was to uninstall gnome-keyring, so try that.
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
That's scrrun.dll. Try copying it from a Windows install and registering it.
jgozzo
Level 2
Level 2
Posts: 11
Joined: Mon Jul 22, 2013 8:49 am

Re: Wine + Habil System Server (MDB)

Post by jgozzo »

Hi.

Don´t work yet, the server Hábil_Servidor_MSA.exe don´t open the door 62802. Follow the output:

user@opensuse121:~> WINEDEBUG=+err wine "C:\Program Files\Koinonia Software\Habil Empresarial\Habil_Servidor_MSA.exe"
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2013, dlt (d/m/y): 20/10/2013
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
fixme:advapi:RegisterEventSourceA ((null),"FastReport"): stub
fixme:advapi:RegisterEventSourceW (L"",L"FastReport"): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000000,0x1d8e398,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000000,0x13e630,(nil)): stub
err:eventlog:ReportEventW L"Database connection error"
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2013, dlt (d/m/y): 20/10/2013
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000000
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000000
fixme:wininet:URLCache_FindFirstFreeEntry Grow file
err:wininet:CommitUrlCacheEntryInternal no free entries
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
err:win:DefWindowProcA called for other process window 0x7012a
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!

Thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine + Habil System Server (MDB)

Post by dimesio »

Try native wininet.
jgozzo
Level 2
Level 2
Posts: 11
Joined: Mon Jul 22, 2013 8:49 am

Re: Wine + Habil System Server (MDB)

Post by jgozzo »

I did, but the cliente does not connect.

user@opensuse121:~> WINEDEBUG=+err wine "C:\Program Files\Koinonia Software\Habil Empresarial\Habil_Servidor_MSA.exe"
fixme:advapi:RegisterTraceGuidsA (0x3fac3737, 0x3fb02cf0, {0cfe0455-93ba-440d-a3fe-553973d0b723}, 1, 0x32fcf8, (null), (null), 0x3fb02cf8,): stub
fixme:advapi:RegisterTraceGuidsA (0x3fac3737, 0x3fb02d10, {797fabac-7b58-4796-b924-d51178a59ce4}, 1, 0x32fcf8, (null), (null), 0x3fb02d18,): stub
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2013, dlt (d/m/y): 20/10/2013
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:advapi:RegisterTraceGuidsA (0x3fac3b67, 0x3fb04348, {9e3b3947-ca5d-4614-91a2-7b624e0e7244}, 1, 0x32f73c, (null), (null), 0x3fb04348,): stub
fixme:thread:InitializeSRWLock (0x402bf678): stub
fixme:thread:InitializeSRWLock (0x402c0fdc): stub
fixme:thread:AcquireSRWLockShared (0x402c0fdc): stub
fixme:thread:ReleaseSRWLockShared (0x402c0fdc): stub
fixme:thread:AcquireSRWLockShared (0x402bf678): stub
fixme:thread:ReleaseSRWLockShared (0x402bf678): stub
fixme:thread:AcquireSRWLockExclusive (0x402c0fdc): stub
fixme:thread:ReleaseSRWLockExclusive (0x402c0fdc): stub
fixme:thread:AcquireSRWLockShared (0x402c0fdc): stub
fixme:thread:ReleaseSRWLockShared (0x402c0fdc): stub
fixme:thread:AcquireSRWLockShared (0x402bf678): stub
fixme:thread:ReleaseSRWLockShared (0x402bf678): stub
fixme:thread:AcquireSRWLockExclusive (0x402c0fdc): stub
fixme:thread:ReleaseSRWLockExclusive (0x402c0fdc): stub
fixme:thread:AcquireSRWLockShared (0x402bf678): stub
fixme:thread:ReleaseSRWLockShared (0x402bf678): stub
fixme:thread:AcquireSRWLockExclusive (0x402bf678): stub
fixme:thread:ReleaseSRWLockExclusive (0x402bf678): stub
fixme:thread:AcquireSRWLockExclusive (0x402bf678): stub
fixme:thread:ReleaseSRWLockExclusive (0x402bf678): stub
fixme:thread:AcquireSRWLockShared (0x402bf678): stub
fixme:thread:ReleaseSRWLockShared (0x402bf678): stub
fixme:thread:AcquireSRWLockExclusive (0x402bf678): stub
fixme:thread:ReleaseSRWLockExclusive (0x402bf678): stub
fixme:thread:AcquireSRWLockExclusive (0x402bf678): stub
fixme:thread:ReleaseSRWLockExclusive (0x402bf678): stub
fixme:thread:AcquireSRWLockShared (0x402c0fdc): stub
fixme:thread:ReleaseSRWLockShared (0x402c0fdc): stub
fixme:thread:AcquireSRWLockShared (0x402c0fdc): stub
fixme:thread:ReleaseSRWLockShared (0x402c0fdc): stub
fixme:thread:AcquireSRWLockShared (0x402bf678): stub
fixme:thread:ReleaseSRWLockShared (0x402bf678): stub
fixme:thread:AcquireSRWLockShared (0x402bf678): stub
fixme:thread:ReleaseSRWLockShared (0x402bf678): stub
fixme:thread:AcquireSRWLockShared (0x402c0fdc): stub
fixme:thread:ReleaseSRWLockShared (0x402c0fdc): stub
fixme:thread:AcquireSRWLockShared (0x402c0fdc): stub
fixme:thread:ReleaseSRWLockShared (0x402c0fdc): stub
fixme:thread:AcquireSRWLockShared (0x402bf678): stub
fixme:thread:ReleaseSRWLockShared (0x402bf678): stub
fixme:thread:AcquireSRWLockShared (0x402bf678): stub
fixme:thread:ReleaseSRWLockShared (0x402bf678): stub
fixme:thread:AcquireSRWLockShared (0x402bf678): stub
fixme:thread:ReleaseSRWLockShared (0x402bf678): stub
fixme:nls:IdnToAscii 0 0x16f7c0 16 (nil) 0
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2013, dlt (d/m/y): 20/10/2013
fixme:win:EnumDisplayDevicesW ((null),0,0x2f1da68,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x13fda68,0x00000000), stub!
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
fixme:win:EnumDisplayDevicesW ((null),0,0x3a6da68,0x00000000), stub!
Locked