[OpenSIPS-Users] About STUN server configuration
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Mon Jan 18 14:27:13 CET 2010
Hi Yagishita,
The error is not related to STUN - I see you configured 127.0.0.1:5060
as a TCP listening interface, but it seams other application is already
using it.
Regards,
Bogdan
Koichi Yagishita wrote:
> Hi Bogdan,
>
> Thank you for your response. The following is output of /var/log/messages and ifconfig.
>
> [/var/log/messages]
> Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. resolve 192.168.1.1
> Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. resolve 192.168.100.1
> Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. resolve 192.168.1.1
> Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. resolve 192.168.100.1
> Jan 16 09:21:41 jrc opensips: INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected)
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: NOTICE:core:main: version: opensips 1.6.0-tls (i386/linux)
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:core:main: using 32 Mb shared memory
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:core:main: using 1 Mb private memory per process
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: NOTICE:signaling:mod_init: initializing module ...
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:sl:mod_init: Initializing StateLess engine
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:tm:mod_init: TM - initializing...
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:maxfwd:mod_init: initializing...
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:usrloc:ul_init_locks: locks array size 512
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:registrar:mod_init: initializing...
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:textops:mod_init: initializing...
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:xlog:mod_init: initializing...
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:acc:mod_init: initializing...
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:auth:mod_init: initializing...
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:auth_db:mod_init: initializing...
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 255 kb
> Jan 16 09:21:41 jrc last message repeated 2 times
> Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: ERROR:core:tcp_init: bind(a, 0x81ca8b4, 16) on 127.0.0.1:5060 : Address already in use
>
> [ifconfig]
> eth0 Link encap:Ethernet HWaddr 00:25:64:EB:13:33
> inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0
> inet6 addr: fe80::225:64ff:feeb:1333/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:400 errors:0 dropped:0 overruns:0 frame:0
> TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:59253 (57.8 KiB) TX bytes:32835 (32.0 KiB)
> Memory:fe6e0000-fe700000
>
> eth0:1 Link encap:Ethernet HWaddr 00:25:64:EB:13:33
> inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> Memory:fe6e0000-fe700000
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:1660 errors:0 dropped:0 overruns:0 frame:0
> TX packets:1660 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:2581132 (2.4 MiB) TX bytes:2581132 (2.4 MiB)
>
> Regards,
> Yagishita
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
Bogdan-Andrei Iancu
www.voice-system.ro
More information about the Users
mailing list