Hi,
I have resolved it. Just run following command before "make all".
command: make include_module="db_mysql"
--
Best Regards,
Shengy
At 2016-02-21 21:55:41, "sgy" <nucsgy(a)163.com> wrote:
Hi,
Today I download the source codes in version 4.3 by git, and compile and install it. I
configure the kamctlrc and kamailio.cfg, but I can't start it, Please refer to
following error.
Feb 21 21:47:36 ubuntu /usr/local/sbin/kamailio[13672]: ERROR: db_mysql [km_dbase.c:124]:
db_mysql_submit_query(): driver error on query: Table 'kamailio.version'
doesn't exist (1146)
Feb 21 21:47:36 ubuntu /usr/local/sbin/kamailio[13672]: ERROR: <core>
[db_query.c:132]: db_do_query_internal(): error while submitting query
Feb 21 21:47:36 ubuntu /usr/local/sbin/kamailio[13672]: ERROR: <core> [db.c:397]:
db_table_version(): error in db_query
Feb 21 21:47:36 ubuntu /usr/local/sbin/kamailio[13672]: ERROR: <core> [db.c:436]:
db_check_table_version(): querying version for table location
Feb 21 21:47:36 ubuntu /usr/local/sbin/kamailio[13672]: ERROR: usrloc [dlist.c:642]:
register_udomain(): error during table version check.
Feb 21 21:47:36 ubuntu /usr/local/sbin/kamailio[13672]: ERROR: registrar [reg_mod.c:561]:
domain_fixup(): failed to register domain
Feb 21 21:47:36 ubuntu /usr/local/sbin/kamailio[13672]: ERROR: <core>
[route.c:1154]: fix_actions(): fixing failed (code=-1) at
cfg:/usr/local/etc/kamailio//kamailio.cfg:647
Feb 21 21:47:36 ubuntu /usr/local/sbin/kamailio[13672]: ERROR: <core>
[route.c:1154]: fix_actions(): fixing failed (code=-1) at
cfg:/usr/local/etc/kamailio//kamailio.cfg:649
Feb 21 21:47:36 ubuntu /usr/local/sbin/kamailio[13672]: INFO: <core>
[sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
--
Best Regards,
Shengy