So it means you are already running one instance of kamailio. If this is
the case then
killall kamailio and try again.
REGARDS,
ZAKA
On 20 Jun 2016 15:18, <joey.ren(a)yulong.com> wrote:
Hello,
I don’t find other running SIP application except kamailio on the machine,
and the following information appear:
[root@localhost kamailio]# netstat -anul and grep on 5060
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign
Address State
udp 0 0 127.0.0.1:57756 127.0.0.1:7722
ESTABLISHED
udp 0 0 127.0.0.1:45601 127.0.0.1:7722
ESTABLISHED
udp 0 0 127.0.0.1:56485 127.0.0.1:7722
ESTABLISHED
udp 0 0 127.0.0.1:53 0.0.0.0:
*
udp 0 0 0.0.0.0:40761 0.0.0.0:
*
udp 0 0 127.0.0.1:40771 127.0.0.1:7722
ESTABLISHED
udp 0 0 127.0.0.1:5060 0.0.0.0:
*
udp 0 0 10.10.10.12:5060 0.0.0.0:
*
udp 0 0 61.141.*.*:5060 0.0.0.0:
*
udp 0 0 127.0.0.1:5060 0.0.0.0:
*
udp 0 0 127.0.0.1:58325 127.0.0.1:7722
ESTABLISHED
udp 0 0 0.0.0.0:984 0.0.0.0:
*
udp 0 0 0.0.0.0:987 0.0.0.0:
*
udp 0 0 127.0.0.1:55902 127.0.0.1:7722
ESTABLISHED
udp 0 0 0.0.0.0:5353 0.0.0.0:
*
udp 0 0 0.0.0.0:111 0.0.0.0:
*
udp 0 0 127.0.0.1:56949 127.0.0.1:7722
ESTABLISHED
udp 0 0 0.0.0.0:631 0.0.0.0:
*
udp 0 0 127.0.0.1:37758 127.0.0.1:7722
ESTABLISHED
udp 0 0 0.0.0.0:60415 0.0.0.0:
*
udp 0 0 :::38038
:::*
udp 0 0 ::1:53
:::*
udp 0 0 :::5353
:::*
[root@localhost kamailio]#
[root@localhost kamailio]# netstat -tlnp|grep 5060
tcp 0 0 10.10.10.12:5060 0.0.0.0:*
LISTEN 12921/kamailio
tcp 0 0 61.141. *.*:5060 0.0.0.0:*
LISTEN 12921/kamailio
tcp 0 0 127.0.0.1:5060 0.0.0.0:*
LISTEN 12921/kamailio
[root@localhost kamailio]#
[root@localhost kamailio]# netstat -pan|grep 5060
tcp 0 0 10.10.10.12:5060 0.0.0.0:*
LISTEN 12921/kamailio
tcp 0 0 61.141. *.*:5060 0.0.0.0:*
LISTEN 12921/kamailio
tcp 0 0 127.0.0.1:5060 0.0.0.0:*
LISTEN 12921/kamailio
tcp 0 0 ::ffff:61.141. *.*:80 ::ffff:42.232. *.*:15060
FIN_WAIT2 -
tcp 0 0 ::ffff:61.141. *.*:80 ::ffff:49.76. *.*:50606
FIN_WAIT2 -
udp 0 0 127.0.0.1:5060 0.0.0.0:*
10897/kamailio
udp 0 0 10.10.10.12:5060 0.0.0.0:*
12883/kamailio
udp 0 0 61.141. *.*:5060 0.0.0.0:*
12883/kamailio
udp 0 0 127.0.0.1:5060 0.0.0.0:*
12883/kamailio
[root@localhost kamailio]#
Here, 61.141.*.*:5060 is my kamailio host, and 10.10.10.12:5060 is my
mysql host.
Thanks in advance.
Best Regards!
Joey
CE, SW Dept. II, Coolpad Corporation
www.coolpad.com
<http://www.baidu.com/baidu.php?url=YsfK00jhfcEW9eiXIakUaIU9Zd8_YsFDXFIWfeplt7WvscgTPVpyAWtFLdqGOpTBOWCfoyR8_VSsyTLn_8stC8mAPCS-X1mZH4ETSKCYk_U2HIsZZY4yJyFgFX6x4SNeHNQsgI3.7b_a71JrPh4DALMLIsk_TILZWb14rrOkRdrYG4TXGmuCy2errqf.U1Yk0ZDqESZ7zUMu1x60IjvO3TgF8IMPS0KGUHYznjf0u1dsTLwz0ZNG5yF9pywd0ZKGujYY0APGujY4nsKVIjYknjDL0AVG5H00TMfqrH0z0ANGujYkPjRzg1D3nW0kg1D3nW6zg1DLrHfdg1DLnj0kg1DdPWTsg1DkPWnzg1D3njDLg1DsPWnzg1DvrHDd0AFG5HcsP7tkPHR0UynqrjR4P1bYrjf0TgKGujYs0Z7Wpyfqn0KzuLw9u1Ys0AqvUjYknW0VuZGxnHckQywlg1D1rHTVuZGxnHf4PiYkg1csPYsVnH0zg1cYPHfVuZGxnWmvridbX-tzPWm4yadbX-tzP1TkQywlg1c4n1DVuZGxn101PiYkg1nsPHDVuZGxn10dnBYkg1nsPH6VuZGxn103PBdbX-tYPjcVnNt3PW0VP0K9mWYsg100ugFM5H00TZ0qnH0vn1fzrHfsP6K8IM0qna3snj0snj0sn0KVIZ0qn0KbuAqs5H00ThCqnfKbugmqTAn0uMfqn0KspjYs0Aq15H00mMTqPsK8IjYs0ZPl5fKYIgnqPHTznW01PWRzP1msrHfsrH6vP0Kzug7Y5HDYPHbkn1fkPHD4nWR0Tv-b5yckuW0YnAnznj0snjn3rjn0mLPV5HRvwWKaf1b4PHcvfHTdfYR0mynqnfKsUWYs0Z7VIjYs0Z7VT1Ys0ZGY5H00uZwGujYs0A71TAPW5H00IgKGUhPW5H00mLFW5HRYn1R&us=0.0.0.0.0.0.3&us=0.0.0.0.0.0.8&ck=0.0.0.0.0.0.0.0&shh=www.baidu.com&sht=baiduhome_pg>
* ______________________________*
Office: + (86)75566866686
Mobile: + (86)18566237951
Email: renchaolin(a)yulong.com
* ______________________________*
*发件人:* sr-users [mailto:sr-users-bounces@lists.sip-router.org] *代表* Zaka
*发送时间:* 2016年6月20日 14:29
*收件人:* Kamailio (SER) - Users Mailing List
*主题:* Re: [SR-Users] Kamailio ERROR "Address already in use" in
tcp_init().
A netstat -anul and grep on 5060
On 20 Jun 2016 08:26, "Olle E. Johansson" <oej(a)edvina.net> wrote:
On 20 Jun 2016, at 04:32, joey.ren(a)yulong.com wrote:
0(3834) ERROR: <core> [tcp_main.c:2790]: tcp_init(): bind(a,
0x2b7d245f0f6c, 16) on 127.0.0.1:5060 : Address already in use
Kamailio could not listen to the localhost socket - are you running some
other SIP application on the same machine?
/O
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
------
申明:本邮件所现内容,仅作为宇龙通信及其关联方(包括但不限于酷派集团、东莞宇龙、西安酷派、酷派软件、奇酷科技、大神电子等)与贵司之间就合作的事宜进行的交流、沟通
、洽谈、商议,不做为承诺,一切承诺必须经过正规授权且书面文本盖章为准。如未经正式授权且书面盖章确认,宇龙通信及其关联方不对贵司因本邮件做出的任
何行为负责。 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.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users