bayonne-devel
[Top][All Lists]
Advanced

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

Re: [Bayonne-devel] Bayonne SQL access -> PostGres same problem as with


From: David Sugar
Subject: Re: [Bayonne-devel] Bayonne SQL access -> PostGres same problem as with MySql
Date: Tue, 01 Mar 2005 17:34:53 -0500
User-agent: Mozilla Thunderbird 1.0 (X11/20050203)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I believe it's a bug in some old server code that expects the HOME env
to be set.  If you export even a dummy HOME in your cron script, you
should be okay.

Julien Chavanton wrote:
| 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; address@hidden
| *Cc:* address@hidden
| *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:*
| address@hidden
|
[mailto:address@hidden
| *On Behalf Of *Julien Chavanton
| *Sent:* February 28, 2005 9:23 AM
| *To:* address@hidden
| *Cc:* address@hidden
| *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,%duration)
|
| 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 L
|
|
|
| This mean there is no reliable DB access in bayonne currently.
|
|
|
| Julien
|
|
|
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCJO4NJlWtSTiTVsYRAvJvAJ9NOGhul1WZtCgeNWbKyw8ybbWFqwCgg1H3
JumlyrqvQm0UPFnZ+k+xbis=
=LaTE
-----END PGP SIGNATURE-----

Attachment: dyfet.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]