ITPub博客

首页 > Linux操作系统 > Linux操作系统 > opensips创建数据库时报database engine not specified错误的解决

opensips创建数据库时报database engine not specified错误的解决

原创 Linux操作系统 作者:clvn 时间:2014-06-22 19:32:27 0 删除 编辑

在执行opensipsdbctl create报下列错误

root@opensips.clvn.com.cn:~# opensipsdbctl create
ERROR: database engine not specified, please setup one in the config script

 

解决方法:

1.查看配置文件

root@opensips.clvn.com.cn:~# cd /usr/local/opensips/etc/
root@opensips.clvn.com.cn:/usr/local/opensips/etc# cat opensips/opensipsctlrc | grep DBENGINE
DBENGINE=MYSQL

发现里面指定了数据库为MYSQL

 

2.进入下列目录执行命令
root@opensips.clvn.com.cn:~# cd /usr/local/opensips/sbin/
root@opensips.clvn.com.cn:/usr/local/opensips/sbin# ./opensipsdbctl create
MySQL password for root:
INFO: test server charset
INFO: creating database opensips ...
INFO: Core OpenSIPS tables succesfully created.
Install presence related tables? (y/n): y 
INFO: creating presence tables into opensips ...
INFO: Presence tables succesfully created.
Install tables for imc cpl siptrace domainpolicy carrierroute userblacklist b2b registrant call_center? (y/n): y
INFO: creating extra tables into opensips ...
INFO: Extra tables succesfully created.


 问题解决!

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12082464/viewspace-1191216/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-06-22

  • 博文量
    11
  • 访问量
    49066