-----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; [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:*
| [EMAIL PROTECTED]
|
[mailto:[EMAIL PROTECTED]
| *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,%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-----
begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Project
adr:;;23 Olin Drive;Cape May Court House;NJ;08210;USA
email;internet:[EMAIL PROTECTED]
tel;home:+1 609 465 5336
tel;cell:+1 609 408 7488
note:AIM: gnutelephony
x-mozilla-html:FALSE
url:http://www.gnu.org/software/bayonne
version:2.1
end:vcard

_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel

Reply via email to