freeswitch的internal的profile无法启动


服务器断电重启后,导致freeswitch的internal的profile无法启动

在fs_cli执行

sofia profile internal restart

打印如下信息:

[ERR] switch_core_db.c:108 SQL ERR [unsupported file format]
[ERR] switch_core_db.c:223 SQL ERR [unsupported file format]
[CRIT] switch_core_sqldb.c:508 Failure to connect to CORE_DB sofia_reg_internal!

问题原因:freeswitch会将profile的信息存储在/var/lib/freeswitch/db目录的sqlite数据库中,每个profile对应一个文件,重启导致/var/lib/freeswitch/db的internal的profile损坏

解决方案: 
从别的服务器上拷贝好的/var/lib/freeswitch/db/internal-xx文件,直接覆盖异常的文件或者freeswitch启动时带上-nosql 禁用sqllite 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM