[Asterisk-Users] Asterisk Fails To Start on Reboot Mysql

2004-12-20 Thread Greg - Cirelle Enterprises
Apparently asterisk cannot reboot gracefully (unattended)
when using realtime
 MySQL RealTime: Failed to connect database server asterisk on 127.0.0.1. 
Check debug for more info.
 WARNING[3763]: MySQL RealTime: Couldn't establish connection. Check debug.

Since asterisk starts before mysql it will never start
any workaround for this?
g
Regards
Greg Cirino
___
Cirelle Enterprises Inc.
603-425-2221
www.cirelle.com Web Application Development  Design
www.cirelle.net ProSpeed High Speed Dial-up - 6 Times Faster
www.cedata.com Web, FTP, Email Hosting Services
www.mlsbot.com  NNEREN MLS IDX Services
When You Want It Done Well, Just Call Cirelle
It's not just a Rhyme... There's a Reason!
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk Fails To Start on Reboot Mysql

2004-12-20 Thread Matthew Boehm
Yes. issue a realtime mysql status or do any RealTime query and that will
reconnect it.

-Matthew

- Original Message - 
From: Greg - Cirelle Enterprises [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Sent: Monday, December 20, 2004 11:05 AM
Subject: [Asterisk-Users] Asterisk Fails To Start on Reboot Mysql


 Apparently asterisk cannot reboot gracefully (unattended)
 when using realtime

   MySQL RealTime: Failed to connect database server asterisk on 127.0.0.1.
 Check debug for more info.
   WARNING[3763]: MySQL RealTime: Couldn't establish connection. Check
debug.

 Since asterisk starts before mysql it will never start

 any workaround for this?

 g


 Regards
 Greg Cirino
 ___
 Cirelle Enterprises Inc.
 603-425-2221
 www.cirelle.com Web Application Development  Design
 www.cirelle.net ProSpeed High Speed Dial-up - 6 Times Faster
 www.cedata.com Web, FTP, Email Hosting Services
 www.mlsbot.com  NNEREN MLS IDX Services

 When You Want It Done Well, Just Call Cirelle
 It's not just a Rhyme... There's a Reason!


 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk Fails To Start on Reboot Mysql

2004-12-20 Thread Sean Cook
Which distribution?

Sean

On Mon, 2004-12-20 at 12:05 -0500, Greg - Cirelle Enterprises wrote:
 Apparently asterisk cannot reboot gracefully (unattended)
 when using realtime
 
   MySQL RealTime: Failed to connect database server asterisk on 127.0.0.1. 
 Check debug for more info.
   WARNING[3763]: MySQL RealTime: Couldn't establish connection. Check debug.
 
 Since asterisk starts before mysql it will never start
 
 any workaround for this?
 
 g
 
 
 Regards
 Greg Cirino
 ___
 Cirelle Enterprises Inc.
 603-425-2221
 www.cirelle.com Web Application Development  Design
 www.cirelle.net ProSpeed High Speed Dial-up - 6 Times Faster
 www.cedata.com Web, FTP, Email Hosting Services
 www.mlsbot.com  NNEREN MLS IDX Services
 
 When You Want It Done Well, Just Call Cirelle
 It's not just a Rhyme... There's a Reason!
 
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk Fails To Start on Reboot Mysql

2004-12-20 Thread Matthew Boehm
Even if MySQL RealTime fails to connect to the database server on Asterisk
startup, Asterisk will continue to load. I just tested successfully tested
this.

MySQL RealTime will try to re-connect upon any further RealTime code
execution.

-Matthew

- Original Message - 
From: Greg - Cirelle Enterprises [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Sent: Monday, December 20, 2004 11:05 AM
Subject: [Asterisk-Users] Asterisk Fails To Start on Reboot Mysql


 Apparently asterisk cannot reboot gracefully (unattended)
 when using realtime

   MySQL RealTime: Failed to connect database server asterisk on 127.0.0.1.
 Check debug for more info.
   WARNING[3763]: MySQL RealTime: Couldn't establish connection. Check
debug.

 Since asterisk starts before mysql it will never start

 any workaround for this?

 g


 Regards
 Greg Cirino
 ___
 Cirelle Enterprises Inc.
 603-425-2221
 www.cirelle.com Web Application Development  Design
 www.cirelle.net ProSpeed High Speed Dial-up - 6 Times Faster
 www.cedata.com Web, FTP, Email Hosting Services
 www.mlsbot.com  NNEREN MLS IDX Services

 When You Want It Done Well, Just Call Cirelle
 It's not just a Rhyme... There's a Reason!


 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk Fails To Start on Reboot Mysql

2004-12-20 Thread Greg - Cirelle Enterprises
At 01:06 PM 12/20/04, you wrote:
Even if MySQL RealTime fails to connect to the database server on Asterisk
startup, Asterisk will continue to load. I just tested successfully tested
this.
MySQL RealTime will try to re-connect upon any further RealTime code
execution.
-Matthew

my installation of FC1 i could not connect with asterisk -rvv
this persisted until i did an /etc/init.d/asterisk restart then it
would fail, then start, and the phones would work as well as connecting
with asterisk -r
the mysql was starting S78  and asterisk was starting S60 so i changed
asterisk to S79 and all is well.
The reason I am going through all this is to find out why registration
of our 2 grandstream phones fail after a bunch of hours, when
using the realtime setup.
not a problem when using the .conf files.
greg
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users