![]() |
![]() |
#1 |
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
23×13×101 Posts |
![]()
I'm hitting problems with connecting to a PostgreSQL database through ODBC. Everything is running on a single 64-bit Fedora 15 system, so there's no worries about network configs, firewalls, etc. The ultimate aim is to get V3 ECMnet server running here but, with one exception, the ODBC mechanism isn't working. The exception is that the "isql" tester program works perfectly. None of iodbctest, iodbctestw and ecmserver make a successful connection. Non-ODBC connections using psql work perfectly.
Rogue has been helping me but his experience with ODBC lies in systems other than Fedora. Is there anyone else on the forum who may be able to give assistance? I will, of course, provide as much information as I can on request, including a ssh-accessible account if necessary. Thanks, Paul |
![]() |
![]() |
![]() |
#2 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
2×3×1,567 Posts |
![]() Quote:
Some suggestions: 1. Do you have SELinux enabled? If so, in enforcing or permissive mode? 1.1. SELinux can cause problems beyond simple Firewall rules -- it can prevent software within a machine from working if it's doing "unusual" things. 2. If you can, have you tried having the server on one box, and the client on another? 2.1. tcpdump and/or Wireshark can be your best friend, letting you "sniff the wire". 3. What do (all) your logs tell you? ...for what that is worth. |
|
![]() |
![]() |
![]() |
#3 | |
"Mark"
Apr 2003
Between here and the
2·5·617 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#4 | |
Aug 2004
2×5×13 Posts |
![]() Quote:
I second the suggestion of using tcpdump or wireshark to see what's going over the wire. Also you could try running the odbc client under strace to see what it's trying to do - possibly there's a problem loading a shared library or something like that. Chris |
|
![]() |
![]() |
![]() |
#5 | |
"Mark"
Apr 2003
Between here and the
11000000110102 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#6 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
100100101110102 Posts |
![]() Quote:
As an aside, I'll still bet a glass of ale that the problem is SELinux.... |
|
![]() |
![]() |
![]() |
#7 |
If I May
"Chris Halsall"
Sep 2002
Barbados
2×3×1,567 Posts |
![]()
I second that suggestion.
Last fiddled with by chalsall on 2011-08-03 at 17:09 |
![]() |
![]() |
![]() |
#8 |
"Mark"
Apr 2003
Between here and the
181A16 Posts |
![]() |
![]() |
![]() |
![]() |
#9 |
If I May
"Chris Halsall"
Sep 2002
Barbados
2×3×1,567 Posts |
![]() |
![]() |
![]() |
![]() |
#10 | |
"Mark"
Apr 2003
Between here and the
181A16 Posts |
![]() Quote:
Note that many people run PRPNet on Linux using it with MySQL. Nobody has reported problems like this to me, although for those who have had problems, it always comes down to a missing library or permission or incorrect configuration. |
|
![]() |
![]() |
![]() |
#11 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
2·3·1,567 Posts |
![]() Quote:
If you can understand the output, it will tell you *exactly* where the client runs into problems. (Although, if I might add, it might help you if you have a working solution under the same OS environment (but a different DB target), against which you can meta "diff" the results.) |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Configuring PRPNet ODBC on Linux | amphoria | Software | 11 | 2020-01-14 14:23 |
Any Qt experts here? | ET_ | Programming | 0 | 2011-08-15 10:52 |
Any Cocoa experts? | Prime95 | Programming | 5 | 2010-05-26 00:57 |
Proxy server / apache experts? | Prime95 | Software | 6 | 2002-10-02 16:24 |