Hello,
A problem happened when I am trying to start kamailio server, the following errors appear:
[root@localhost mysql]# kamctl start
database engine 'MYSQL' loaded
Control engine 'FIFO' loaded
INFO: Starting Kamailio :
ERROR: PID file /var/run/kamailio/kamailio.pid does not exist -- Kamailio start failed
[root@localhost mysql]# kamailio -M 8 -E -e -dd
0(3832) INFO: <core> [main.c:1911]: main(): private (per process) memory: 8388608 bytes
loading modules under config path: /usr/local/lib64/kamailio/modules/
0(3832) INFO: <core> [sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module
0(3832) WARNING: <core> [socket_info.c:1303]: fix_hostname(): could not rev. resolve 10.10.10.12
0(3832) WARNING: <core> [socket_info.c:1303]: fix_hostname(): could not rev. resolve 10.10.10.12
Listening on
udp: 127.0.0.1:5060
udp: 61.141.*.*:5060
udp: 10.10.10.12:5060
tcp: 127.0.0.1:5060
tcp: 61.141. *.*:5060
tcp: 10.10.10.12:5060
Aliases:
tcp: *.com:5060
tcp: localhost:5060
tcp: localhost.localdomain:5060
udp: *.com:5060
udp: localhost:5060
udp: localhost.localdomain:5060
0(3832) INFO: <core> [tcp_main.c:4657]: init_tcp(): using epoll_lt as the io watch method (auto detected)
0(3834) INFO: rr [../outbound/api.h:54]: ob_load_api(): unable to import bind_ob - maybe module is not loaded
0(3834) INFO: rr [rr_mod.c:174]: mod_init(): outbound module not available
0(3834) INFO: usrloc [hslot.c:51]: ul_init_locks(): locks array size 1024
0(3834) INFO: auth [auth_mod.c:333]: mod_init(): auth: qop set, but nonce-count (nc_enabled) support disabled
0(3834) INFO: <core> [udp_server.c:150]: probe_max_receive_buffer(): SO_RCVBUF is initially 129024
0(3834) INFO: <core> [udp_server.c:200]: probe_max_receive_buffer(): SO_RCVBUF is finally 262142
0(3834) INFO: <core> [udp_server.c:150]: probe_max_receive_buffer(): SO_RCVBUF is initially 129024
0(3834) INFO: <core> [udp_server.c:200]: probe_max_receive_buffer(): SO_RCVBUF is finally 262142
0(3834) INFO: <core> [udp_server.c:150]: probe_max_receive_buffer(): SO_RCVBUF is initially 129024
0(3834) INFO: <core> [udp_server.c:200]: probe_max_receive_buffer(): SO_RCVBUF is finally 262142
0(3834) ERROR: <core> [tcp_main.c:2790]: tcp_init(): bind(a, 0x2b7d245f0f6c, 16) on 127.0.0.1:5060 : Address already in use
0(3834) INFO: <core> [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
[root@localhost mysql]#
Could someone help me to resolve these errors? Thanks in advance.
Best Regards!
Joey
CE, SW Dept. II, Coolpad Corporation
______________________________
Office: + (86)75566866686
Mobile: + (86)18566237951
Email: renchaolin@yulong.com
______________________________