David,
There should be some additional log messages and/or some more context around this message, although not necessarily immediately around it (due to the parallel nature of Kamailio child processes):
On Mon, Nov 28, 2016 at 07:33:47PM +0100, David Villasmil wrote:
mod_init(): could not initiate a connect to the database