[unixODBC-support] isql segmentation fault - stuck

Nick Gorham nick at lurcher.org
Tue Nov 19 13:11:32 GMT 2013


On 19/11/13 12:53, sambuca555 wrote:
> I don't think it ever gets to loading the oracle ODBC
>
> Do you know what is happening here:
>
> read(3, "[OracleSQL]\nDescription=Oracle O"..., 4096) = 114
> read(3, "", 4096)                       = 0
> open("/vol1/aimia/.odbcinst.ini", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/usr/local/etc/odbcinst.ini", O_RDONLY) = 3
> read(3, "[OracleSQL]\nDescription=Oracle O"..., 4096) = 114
> read(3, "", 4096)                       = 0
> open("/vol1/aimia/.odbcinst.ini", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/vol1/aimia/.odbc.ini", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
> open("/vol1/aimia/.odbc.ini", O_RDONLY) = 3
> read(3, "", 4096)                       = 0
> open("/usr/local/etc/odbc.ini", O_RDONLY) = 3
> open("/usr/local/etc/odbc.ini", O_RDONLY) = 3
> read(3, "\n[SELFDEV]\nDriver = OracleSQL\nSe"..., 4096) = 98
>
>
> Unfortunately there just isn't enough on the Internet about connecting to
> Oracle this way so I'm struggling to define where it's gone wrong despite
> chopping and changing everything

It (unixODBC) first tries to read the user odbcinst.ini, there isnt one, 
then it goes on to read the system one in /usr/local/etc/odbcinst.ini.

Then it repears that process with odbc.ini

-- 
Nick


More information about the unixODBC-support mailing list