Likely running a "kamdbctl create" would have done it as well.   The error you highlighted is telling you that a table doesn't exist in the Kamailio database. 

Happy to see you found a work-around for this. Enjoy using Kamailio!

Derek Bolichowski

Technician / VoIP Specialist

Empire Communications Inc.

T.F.  888-618-8847

P.      519-737-6668

F.      866-394-1864

E.  service@empire-team.com


Sent from my iPhone using Office365

On Feb 21, 2016, at 10:15 AM, sgy <nucsgy@163.com> wrote:

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@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


 



 

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users