码迷,mamicode.com
首页 > 数据库 > 详细

解决opensips启动时报ERROR:uri:db_checks_fixup1: configuration error 错误

时间:2014-05-15 00:50:03      阅读:365      评论:0      收藏:0      [点我收藏+]

标签:opensips   error:uri:db_checks_fixup1: configuration error   

opensips启动时报下列错误

[root@OpenSIPS opensips]# opensipsctl start

INFO: Starting OpenSIPS : 

ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed

查看日志文件发现有下列错误

 

May 14 16:08:43 OpenSIPS /sbin/opensips[48245]: ERROR:uri:db_checks_fixup1: configuration error - no database URL is configured!

 

解决方法:

[root@OpenSIPS opensips]# vim opensips.cfg

#### URI module
loadmodule "uri.so"
modparam("uri", "use_uri_table", 0)
modparam("uri", "db_url",
        "mysql://opensips:opensipsrw@192.168.0.28/opensips")

 

重新启动

[root@OpenSIPS opensips]# opensipsctl start

INFO: Starting OpenSIPS : 
INFO: started (pid: 48281)

问题解决

 

 

 

本文出自 “云人生” 博客,请务必保留此出处http://ovcer.blog.51cto.com/1145188/1411172

解决opensips启动时报ERROR:uri:db_checks_fixup1: configuration error 错误,布布扣,bubuko.com

解决opensips启动时报ERROR:uri:db_checks_fixup1: configuration error 错误

标签:opensips   error:uri:db_checks_fixup1: configuration error   

原文地址:http://ovcer.blog.51cto.com/1145188/1411172

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!