服务器断电重启后,导致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 

相关文章:

  • 2021-05-26
  • 2022-12-23
  • 2021-12-09
  • 2022-02-26
  • 2021-07-05
  • 2022-01-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-24
  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2021-12-10
相关资源
相似解决方案