[SR-Users] Kamailio fails to start when MySQL down

Daniel Tryba d.tryba at pocos.nl
Fri Sep 16 18:00:04 CEST 2016


On Fri, Sep 16, 2016 at 05:46:35PM +0200, Daniel Pocock wrote:
> The database was not running and Kamailio refused to start.
> 
> Would it be better for Kamailio to start anyway and go into a loop
> trying to connect to the database, just as if auto_reconnect was set?

I'd rather have kamailio down than in a half-up state.

> This is useful for people who start Kamailio from their init script and
> can't be sure if their database host is up before their Kamailio host boots

Well, I hate to say this, but systemd fixes this problem I think (it has
a restart function). 

But I start kamailio from supervisord, indirect depending on sipsak
responses.




More information about the sr-users mailing list