码迷,mamicode.com
首页 > 其他好文 > 详细

opensips启动报ERROR:core:fix_all_socket_lists: listeners found for protocol udp

时间:2015-12-03 19:20:58      阅读:236      评论:0      收藏:0      [点我收藏+]

标签:opensips

在启动opensips时报下列错误

[root@mc opensips]# opensips -c
Dec  3 10:29:29 [2356] ERROR:core:fix_all_socket_lists: listeners found for protocol udp, but no module can handle it

Dec  3 10:41:38 [2438] ERROR:core:fix_all_socket_lists: listeners found for protocol tcp, but no module can handle it

 

解决方法:

[root@mc opensips]# vim /etc/opensips/opensips.cfg
loadmodule "proto_udp.so"
loadmodule "proto_tcp.so"

 

重新检查配置文件

[root@mc opensips]# opensips -C
Dec  3 10:42:30 [2446] INFO:core:fix_poll_method: using epoll_lt as the IO watch method (auto detected)
Listening on
             udp: 10.10.2.95 [10.10.2.95]:5060
             tcp: 10.10.2.95 [10.10.2.95]:5060
Aliases:

Dec  3 10:42:30 [2446] NOTICE:core:main: config file ok, exiting...

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

opensips启动报ERROR:core:fix_all_socket_lists: listeners found for protocol udp

标签:opensips

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

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