Greg - Cirelle Enterprises
2004-Dec-20 10:05 UTC
[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!
Matthew Boehm
2004-Dec-20 10:26 UTC
[Asterisk-Users] Asterisk Fails To Start on Reboot Mysql
Yes. issue a "realtime mysql status" or do any RealTime query and that will reconnect it. -Matthew ----- Original Message ----- From: "Greg - Cirelle Enterprises" <gcirino@cirelle.com> 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. Checkdebug.> > 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
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
Matthew Boehm
2004-Dec-20 11:06 UTC
[Asterisk-Users] Asterisk Fails To Start on Reboot Mysql
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" <gcirino@cirelle.com> 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. Checkdebug.> > 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
Greg - Cirelle Enterprises
2004-Dec-20 11:42 UTC
[Asterisk-Users] Asterisk Fails To Start on Reboot Mysql
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. > >-Matthewmy installation of FC1 i could not connect with asterisk -rvvvvvv 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