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

在启动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...

你可能感兴趣的:(opensips)