shibboleth-dev - RE: Testing ODBC store
Subject: Shibboleth Developers
List archive
- From: "Scott Cantor" <>
- To: <>
- Subject: RE: Testing ODBC store
- Date: Thu, 6 Dec 2007 12:07:26 -0500
- Organization: The Ohio State University
> Then I've tested a MySQL backend. The SQL sample code in odbc-store.cpp
> works perfectly and creates the table structure, but shibd segfaults
> even when invoked with -t. Last lines of a strace output follow:
Can you get a stack trace?
> So maybe the problem is related to the glibc, here at version 2.3.4.
That doesn't really add up, you built them right there. Maybe there's an
issue with the ODBC driver? It does load the driver and connect during
setup, including a test run with -t.
> unixODBC is at version 2.2.11-1.RHEL4.1, MyODBC is at version
> 2.50.39-25.RHEL4.1.
unixODBC is what I use, I wouldn't install both. Maybe that's involved
somehow.
> The first problem I encountered was an "ODBC StorageService failed to
> read version from database", taht I solved inserting into the table
> "version" the values '1' and '0', guessing it wanted something matching
> with the values of PLUGIN_VER_MAJOR and PLUGIN_VER_MINOR.
I'll look into it, I may have forgotten something. I might have intended
that that be manual during the database setup, can't recall. I know I don't
actually create the schema now, so...
> The second problem was a syntax error while inserting a new session in
> the cache, generated from line 426 of odbc-store.cpp. I've modified the
> line in this way (diff -ru):
Just adding INTO? I'll make sure that works for SQL Server and just patch
that. Weird that it requires it.
Thanks a lot for the help.
-- Scott
- Testing ODBC store, giacomo tenaglia, 12/06/2007
- RE: Testing ODBC store, Scott Cantor, 12/06/2007
- Re: Testing ODBC store, giacomo tenaglia, 12/14/2007
- RE: Testing ODBC store, Scott Cantor, 12/14/2007
- <Possible follow-up(s)>
- Re: Testing ODBC store, giacomo tenaglia, 12/08/2007
- RE: Testing ODBC store, Scott Cantor, 12/08/2007
- Re: Testing ODBC store, giacomo tenaglia, 12/10/2007
- RE: Testing ODBC store, Scott Cantor, 12/10/2007
- RE: Testing ODBC store, Scott Cantor, 12/10/2007
- Re: Testing ODBC store, giacomo tenaglia, 12/18/2007
Archive powered by MHonArc 2.6.16.