[asterisk-users] Crash in Asterisk

Michael Higgins linux at evolone.org
Thu Jan 7 15:33:31 CST 2010


On Thu, 7 Jan 2010 15:58:43 -0430
Danny Dias <ing.diasdanny at gmail.com> wrote:

> My friends,
> 
> I'm having some problems in my Asterisk, the thing is that Asterisk
> seem to be crashed (or dead) sometimes (2 times in 3 weeks)
> 

> [Jan  5 16:51:19] WARNING[6787] channel.c: Channel allocation failed:
> Refusing due to active shutdown

Hmm. Seems to start here. Are you sure someone isn't just restarting
mysql? I'd find out what causes this string to be issued in channel.c,
no?

> [Jan  5 16:51:54] ERROR[6787] res_config_mysql.c: MySQL RealTime: Ping
> failed (2003).  Trying an explicit reconnect.

But that's pretty obviously mysql unavailable.

> [Jan  5 16:51:54] ERROR[6787] res_config_mysql.c: MySQL RealTime:
> Failed to connect database server dreampbx on 127.0.0.1 (err 2003).
> Check debug for more info.

mysql on the same machine, that is? So have a look there?

> [Jan  5 16:51:54] ERROR[6787] res_config_mysql.c: MySQL RealTime:
> Failed to connect database server dreampbx on 127.0.0.1 (err 2003).
> Check debug for more info.

> What do you think my friends? How can i solve this problem?

Find out why mysql isn't talking to asterisk, or don't use mysql
realtime? 

Just my guess.

Good luck,

-- Michael Higgins



More information about the asterisk-users mailing list