RE: Bayonne SQL access -> PostGres same problem as with MySql
"Julien Chavanton" <[email protected]>
| Newsgroups | gmane.comp.gnu.bayonne.devel |
|---|---|
| Message-ID | <[email protected]> |
basic DB access (CDR insertion) is working when using crond to start bayonne, this is good sine I can make a script that monitor & restart bayonne from crond. I will test it more. On some server I can not start Bayonne from crond I have "no trunk port activated" however I can start Bayonne from the shell I have tried several thing but I can not find what is the causing a difference in the Daemon context? Julien _____ From: Julien Chavanton Sent: February 28, 2005 5:58 PM To: Julien Chavanton; [email protected] Cc: [email protected] Subject: RE: [Bayonne-devel] Bayonne SQL access -> PostGres same problem as withMySql I have started to program another DB access from Bayonne. (I must have a reliable database access else) I have to modify the make file to include the linking to -L/usr/lib/mysql -lmysqlclient The server start and everything work . But when I start in daemon mode, I have a problem unless I remove the linking to the mysql client library. Do you know what difference can create a problem in daemon mode ? Thanks, Julien _____ From: bayonne-devel-bounces+j.chavanton=oneworldinteractive.com@gnu.org [mailto:[email protected] g] On Behalf Of Julien Chavanton Sent: February 28, 2005 9:23 AM To: [email protected] Cc: [email protected] Subject: [Bayonne-devel] Bayonne SQL access -> PostGres same problem as withMySql Feb 28 06:33:20 BAY-MTL3 bayonne: dx(56): step 3 sql.insert(=table,CDR,%DATE,%TIME,%Calledid,%Callerid,%sessionid,%durati on) Feb 28 06:33:20 BAY-MTL3 bayonne: sql: insert into CDR (DATE,TIME,Calledid,Callerid,sessionid,duration) values ('20050228','063320','236741989','351239718292','B Feb 28 06:33:20 BAY-MTL3 bayonne: dx(56): load Feb 28 06:33:20 BAY-MTL3 bayonne: dx(56): GCEV_DISCONNECTED HDL:118 Feb 28 06:33:20 BAY-MTL3 bayonne: dx(56): exit When GCEV_DISCONNECTED interrupt an SQL query then the server stop answering calls :-( This mean there is no reliable DB access in bayonne currently. Julien _______________________________________________ Bayonne-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bayonne-devel