Am Mittwoch, 24. April 2002 18:21 schrieb Koetter, Thomas Theodor:
> Hi Matthias
>
> > -----Original Message-----
> > From: Matthias Reich [mailto:[EMAIL PROTECTED]]
>
> [report on unixODBC problems snipped]
>
> > Error IM003 says: Specified driver could not be loaded
>
> Somehow unixODBC is not able to load the SAPDB ODBC driver (libsqlod.so).
> The only thing I can think of at the moment is, that something
> regarding paths is not correct (e.g. LD_LIBRARY_PATH, ldconfig etc).
> Did you check that unixODBC really takes the right config files?
>

Hmm,

I think so, but one question.
Having a look at the trace-file I can see I'm already connected to the 
database. Doesn't the libsqlod.so do the connection ???
                Entry:
                        Connection = 0x80cf760
                        Server Name = [HAGOS][length = 5 (SQL_NTS)]
                        User Name = [rei][length = 3 (SQL_NTS)]
                        Authentication = [*******][length = 7 (SQL_NTS)]
[ODBC][2975][SQLConnect.c][2947]
                Exit:[SQL_SUCCESS]


[ODBC][2975][SQLAllocHandle.c][476]
                Entry:
                        Handle Type = 3
                        Input Handle = 0x80cf760
[ODBC][2975][SQLAllocHandle.c][608]Error: IM003

output from: strace DataManager > sql 2>&1

open("/opt/sapdb/interfaces/odbc/lib/libsqlod.so", O_RDONLY) = 7
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\7\6\000"..., 1024) = 
1024
fstat64(7, {st_mode=S_IFREG|0775, st_size=1784464, ...}) = 0
old_mmap(NULL, 1709456, PROT_READ|PROT_EXEC, MAP_PRIVATE, 7, 0) = 0x40c79000
mprotect(0x40dba000, 394640, PROT_NONE) = 0
old_mmap(0x40dba000, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 
0x140000) = 0x40dba000
old_mmap(0x40deb000, 193936, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40deb000
close(7)                                = 0

this looks like the library was found and loaded.
the last entry in the output is successfully writing a message in the 
log-file. directly behind that the strace shows a SIGSEGV.

I saw today that UNIXodbc 2.2.1 is released, I'll test with that version...

/matthias  

-- 
HAGOS eG                 phone: +49 711 7880592
Matthias Reich             fax: +49 711 7880599
Industriestr. 62           web: http://www.hagos.de
D-70565 Stuttgart         mail: [EMAIL PROTECTED]
Germany
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to