在启动opensips时报下列错误
[[email protected] 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
解决方法:
[[email protected] opensips]# vim /etc/opensips/opensips.cfg
loadmodule "proto_udp.so"
loadmodule "proto_tcp.so"
重新检查配置文件
[[email protected] 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...
时间: 2024-12-29 23:32:51