I'm not sure if the symptoms match exactly, but I ran into a problem like this 
last year, where the ports were not being released properly.  See 
http://forum.sipfoundry.org/index.php?t=msg&goto=43359&S=6a0a2c7c1ad6dd91dd6f5ea6aad822f6&srch=Error+message+from+sipxBridge#msg_43359

My problem was detectable by running "netstat --listen", where I could see 
leftover active ports gradually building up.

It appeared to be related to the end-of-call behavior of my ITSP, and the 
developer Ranga was kind enough to provide a patch that addressed it.  That fix 
has apparently made it into 4.2.1, because I have not had the problem reappear 
after updating.

Jeff


On Nov 3, 2010, at 4:06 PM, Joe Micciche wrote:

> To follow up, sipxrls is binding to a udp port that is on the range of
> our RTP (UDP) ports; which then prevents Media Relay from starting.
> 
> As a test I've defined 31000 - 44000 for RTP, started services and Media
> Relay fails.
> 
> netstat -lnpu:
> udp        0      0 10.11.45.10:35265           0.0.0.0:*
>                19317/sipxrls
> 
> "2010-11-03T19:51:41.814000Z":1:JAVA:INFO:xxx.xxx.com:main:00000000:sipxrelay:"Checking
> port range 31000:44000"
> "2010-11-03T19:51:41.973000Z":2:JAVA:ERR:xxx.xxx.com:main:00000000:sipxrelay:"Failed
> to bind to /x.x.x.x:35265"
> java.net.BindException: Address already in use
>       at java.net.PlainDatagramSocketImpl.bind0(Native Method)
>       at 
> java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
>       at java.net.DatagramSocket.bind(DatagramSocket.java:372)
>       at java.net.DatagramSocket.<init>(DatagramSocket.java:211)
>       at java.net.DatagramSocket.<init>(DatagramSocket.java:262)
>       at
> org.sipfoundry.sipxrelay.SymmitronServer.start(SymmitronServer.java:1779)
>       at 
> org.sipfoundry.sipxrelay.SymmitronServer.main(SymmitronServer.java:1843)
> 
> sipxrls.log for the same time:
> 
> "2010-11-03T19:51:16.032334Z":115:SIP:ERR:xxx.xxx.com:SipRefreshManager-19:B67F4B90:sipxrls:"SipUserAgent::send
> outgoing call 1"
> "2010-11-03T19:51:16.051945Z":116:SIP:ERR:xxx.xxx.com:SipSubscribeClient-20:B66F3B90:sipxrls:"SipUserAgent::send
> outgoing call 1"
> 
> I have no idea why this started yesterday.
> 
> joe
> 
> On 11/03/2010 03:06 PM, Joe Micciche wrote:
>> Not sure what happened but Media Relay died yesterday. No changes were
>> made to the system.
>> 
>> sipXconfig (4.2.1-018971.dhubler 2010-08-21T04:59:18 build34) on
>> CentOS5.5 iso.
>> 
>> Under Servers -> Services -> Media Relay:
>> Standard error
>>    * log4j:WARN No appenders could be found for logger
>> (org.sipfoundry.sipxrelay).
>>    * log4j:WARN Please initialize the log4j system properly.
>>    * Port range upper bound - Port range lower bound should be a
>> multiple of 4
>> 
>> sipxrelay.log shows: (x and xxx used to hide stuff)
>> "2010-11-03T18:15:56.408000Z":1:JAVA:INFO:xxx.xxx.com:main:00000000:sipxrelay:"Checking
>> port range 32000:65535"
>> "2010-11-03T18:15:56.521000Z":2:JAVA:ERR:xxx.xxx.com:main:00000000:sipxrelay:"Failed
>> to bind to /x.x.x.x:34977"
>> java.net.BindException: Address already in use
>>      at java.net.PlainDatagramSocketImpl.bind0(Native Method)
>>      at 
>> java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
>>      at java.net.DatagramSocket.bind(DatagramSocket.java:372)
>>      at java.net.DatagramSocket.<init>(DatagramSocket.java:211)
>>      at java.net.DatagramSocket.<init>(DatagramSocket.java:262)
>>      at
>> org.sipfoundry.sipxrelay.SymmitronServer.start(SymmitronServer.java:1779)
>>      at 
>> org.sipfoundry.sipxrelay.SymmitronServer.main(SymmitronServer.java:1843)
>> 
>> What else would be pertinent to help debug this? TIA for any pointers.
>> 
> 
> -- 
> ==================================================================
> Joe Micciche                            [email protected]
> Red Hat, Inc.                           http://www.redhat.com
> Senior Communications Engineer          X(81) 44554
> +1.919.754.4554
> ==================================================================
> _______________________________________________
> sipx-users mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users/

_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to