ASHMON under wine

From: Mladen Gogala <gogala.mladen_at_gmail.com>
Date: Sat, 22 Oct 2011 01:11:19 +0000 (UTC)
Message-ID: <pan.2011.10.22.01.11.18_at_gmail.com>



I was able to make it work by unpacking the instant client in ashmon\bin directory and using EZCONNECT to host name. This is my listener.ora

[oracle_at_medo admin]$ cat listener.ora
# listener.ora Network Configuration File: /oracle/product/11.2.0/
dbhome_2/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =

      (ADDRESS = (PROTOCOL = TCP)(HOST = medo)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
  )
DEFAULT_SERVICE_LISTENER=HOME
ADR_BASE_LISTENER = /oracle

Of course, EZCONNECT must be in the sqlnet.ora. This enables me to connect like this: sqlplus scott/tiger_at_localhost

Default service for listener is set in the listener.ora and EZCONNECT allows me to use host:port/service syntax to find my database. Now, we can try ashmon.bat:

Z:\tmp\ashmon\bin>ashmon.bat

Z:\tmp\ashmon\bin>bltwish.exe ..\funcs\begin.tcl -colormap new

fixme:msg:pack_message msg 7f (WM_GETICON) not supported yet
fixme:msg:pack_message msg 7f (WM_GETICON) not supported yet
fixme:msg:pack_message msg 7f (WM_GETICON) not supported yet
fixme:msg:pack_message msg 7f (WM_GETICON) not supported yet
fixme:msg:pack_message msg 7f (WM_GETICON) not supported yet
fixme:msg:pack_message msg 7f (WM_GETICON) not supported yet
fixme:imm:ImmReleaseContext (0x10090, 0xe88440): stub
fixme:actctx:parse_depend_manifests Could not find dependent assembly 
L"Microsoft.VC80.CRT" (8.0.50727.762)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
err:ntlm:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. err:ntlm:SECUR32_initNTLMSP Usually, you can find it in the winbind package of your distribution.
fixme:advapi:LsaOpenPolicy ((null),0x18f9158,0x00000001,0x18f9174) stub fixme:advapi:LsaClose (0xcafe) stub
Error from thread 32
can't read "handle": no such variable

    while executing
"::callback_mesg "$cur_proc:$handle""

fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported


All those messages do not bother me, ashmon appears and works.

-- 
http://mgogala.byethost5.com
Received on Fri Oct 21 2011 - 20:11:19 CDT

Original text of this message