A couple of questions about gnugk 3.4 and unixODBC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
I worked extensively with Gnugk a few years ago so was surprised when I couldn't get my old system configuration to work.
 
I'm attempting to build Gnugk on gentoo, it's the latest release and is using gcc 4.7.3 and glibc 2.15
 
My first problem appeared when I attempted to connect to unixODBC using the gatekeeper.  I use two different data sources, one for authorization to obtain the routing information and a second data source to write the accounting information to. 
 
When starting Gnugk it would immediatly fail.  I noticed that I couldn't get Gnugk to produce any debug output using the -ttt options.  I think this is due a patch that the gentoo ebuild is applying that surrounds all the
if (PTrace::CanTrace(6)) {}  blocks with
 
#if PTRACING
...
#endif 
 
so presumably there is something that is not defined that is disabling my debug output.
 
Eventually I gave up and downloaded the binary from Gnugk.org.  This should work with unixODBC and does for the first data source.  Both data sources work in the sense that if I disable accounting then it successfully gets a Database connection pool
2013/11/25 18:39:00.657 4               udll.cxx(333)   UDLL    opening libodbc.so
2013/11/25 18:39:00.664 3              gksql.cxx(102)   SQLAuth Database connection pool created:
msn-01@localhost[auth]
 
likewise if I disable auth it will get a successful database connection for the accounting module. 
 
However with both enabled I get an error like
2013/11/25 18:39:00.664 1         gksql_odbc.cxx(479)   SQLAcct Failed to allocate an ODBC connection handle: Invalid ODBC handle passed
2013/11/25 18:39:00.664 1              gksql.cxx(97)    SQLAcct Database connection failed:
msn-01@localhost[acct]
2013/11/25 18:39:00.664 0            sqlacct.cxx(141)   GKACCT  SQLAcct module creation failed: could not connect to the database
2013/11/25 18:39:00.664 0            sqlacct.cxx(142)   GKACCT  FATAL: Shutting down
This mirrors the behavaviour that I witnessed with my binary but obviously I have debug output with your binary.
 
I have even tried building building exactly using the libs recommended on the website. 
 
It's also worth noting that the download link for libssh-0.5.5 is actually linked to libssh-0.5.4.tar.gz but I worked that out but no change.
 
I noticed some reference to disabling unixODBC when compiling h323plus 2.10.x.
 
Can you suggest a stable combination that will allow me to use unixODBC with a recent version of Gnugk/h323plus/ptlib
 
Best Regards
 
Alasdair Ramsay
 
 
 
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux