Re: ODBC Driver failing?
"Martin J. Evans" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Organization | Easysoft Limited |
| Message-ID | <[email protected]> |
On 27/06/13 13:05, Peter J. Holzer wrote: > On 2013-06-26 14:55:31 -0500, Dan Bent wrote: >> $ strace -o strace.log isql -v prod1 user password >> usage: [ mid sid level] ... > > The strace equivalent to strace is called tusc on HP-UX. I have it > installed in /usr/local/bin which implies that I compiled it myself > (almost exactly 10 years ago), but I don't seem to have the source code > any more and don't remember where I got it. Unless one of your co-admins > installed it you'll probably have to google (or duckduckgo or whatever) > for it. > > hp > Thanks Peter. We found tusc off this thread and the resultant trace pin pointed the problem which was a bug with the semaphore code I think I fixed in unixODBC in 2004 - which explains why I didn't remember it. Deleting the semaphore fixed the problem temporarily but upgrading to 2.2.9 (or later) or recompiling without stats support is the only sure long term fix. Martin -- Martin J. Evans Easysoft Limited http://www.easysoft.com