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

www.coolpad.com

______________________________

 

Office: + (86)75566866686

Mobile: + (86)18566237951

Email: renchaolin@yulong.com

______________________________

 

------ 申明:本邮件所现内容,仅作为宇龙通信及其关联方(包括但不限于酷派集团、东莞宇龙、西安酷派、酷派软件、奇酷科技、大神电子等)与贵司之间就合作的事宜进行的交流、沟通 、洽谈、商议,不做为承诺,一切承诺必须经过正规授权且书面文本盖章为准。如未经正式授权且书面盖章确认,宇龙通信及其关联方不对贵司因本邮件做出的任 何行为负责。 DECLARATION:All contents of this E-mail, are only regarded as the exchanges, communication, negotiation and deliberation, not as promise with respect to the cooperation between Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd ( the “Yulong” ) and its Affiliates, including but not limited to Coolpad Group Limited, Dongguan Yulong Computer Telecommunication Scientific Co., Ltd, Xi’an Coolpad Software Tech Co., Ltd and Coolpad Software Tech (Shenzhen) Co., Ltd,Qiku Internet Network Scientific (Shenzhen) Co., Ltd,Dazen E-commerce Co., Ltd, and your corporation. All commitments must be written by a duly authorized and sealed shall prevail, if not, Yulong and its Affliates shall not be liable for any actions taken by your corporation due to this E-mail.
------机密:此电子邮件所包含内容具有机密性,并且可能受到法律的保护。如果您不属于以上电子邮件的目标接收者,您不得细读,使用,传播,存储,散布或 复制该电子邮件中的任何信息。如果您已经误收此电子邮件,请您立即通知我们并删除原电子邮件。 CONFIDENTIAL: The content and information contained in this E-mail is confidential and may be subject to legal privilege. If you are not the intended recipient as indicated above, you must not peruse, use, disseminate, store up distribute or copy any information contained in this E-mail. If you have received this message in error, please notify us and delete the original message immediately.