[Serusers] Frustrating error - please help

Mahatma Sarasvati gnoahhb at yahoo.com
Thu May 24 20:00:43 CEST 2007


Samuel,
That was very helpful. The last line of the output made me wonder what was happening with the "ESTABLISHED" link. It was CounterPath Eyebeam UA that needed to be restarted. Somehow it was hung and was the source of the problem, not SER.

Thanks for the help,
M

[root at vx1 ser]# lsof -i:5060
COMMAND  PID USER   FD   TYPE DEVICE SIZE NODE NAME
.
.
ser     4739 root   10u  IPv4  35606       TCP localhost.localdomain:sip (LISTEN)
ser     4739 root   11u  IPv4  35607       TCP vx1.v11.com:sip (LISTEN)
.
.
ser     4741 root   10u  IPv4  35606       TCP localhost.localdomain:sip (LISTEN)
ser     4741 root   11u  IPv4  35607       TCP vx1.v11.com:sip (LISTEN)
ser     4741 root   45u  IPv4  35925       TCP vx1.v11.com:sip->10.10.30.121:ispipes (ESTABLISHED)
[root at vx1 ser]#


----- Original Message ----
From: samuel <samu60 at gmail.com>
To: Mahatma Sarasvati <gnoahhb at yahoo.com>
Cc: Andrey Kuprianov <andrey.kouprianov at gmail.com>; "serusers at iptel.org" <serusers at iptel.org>
Sent: Thursday, May 24, 2007 9:27:16 AM
Subject: Re: [Serusers] Frustrating error - please help

Maybe you've got another software bind to the address SER is trying to bind to(softphone,asterisk,...). Can you check whether the port 5060 is in use?
what's the output of the next comand?
#lsof -i:5060



samuel.

2007/5/24, Mahatma Sarasvati <gnoahhb at yahoo.com>:
Also a good idea. Still no effect. This installation was working great for a while. Is it possible that some other software I've installed is causing the problem?

This is 2.0.0 rc2 from CVS.

M

----- Original Message ----

From: Andrey Kuprianov <andrey.kouprianov at gmail.com>
To: "serusers at iptel.org" <
serusers at iptel.org>
Sent: Thursday, May 24, 2007 8:23:14 AM
Subject: Re: [Serusers] Frustrating error - please help

Maybe just try setting fork=yes ?...

On 5/24/07, Mahatma Sarasvati <
gnoahhb at yahoo.com> wrote:
>
> A good hint, but no. I'm using the standard version 1.4 ser.cfg. I've only
> added my 10.10.10.41 ip address. The "fork=no" command is commented out.

>
> Is there something else that would cause ser to start in non-forking mode?
>
> Thanks,
> M
>
>
> ----- Original Message ----
> From: samuel <
samu60 at gmail.com>
> To: Mahatma Sarasvati <gnoahhb at yahoo.com>
> Cc: serusers at iptel.org
> Sent: Thursday, May 24, 2007 12:40:41 AM

> Subject: Re: [Serusers] Frustrating error - please help
>
> Are you starting SER in non-forking mode? It looks like SER is not binding
> to the 10.10.10.41 IP, only to the local IP (
127.0.0.1) and that's why you
> see in the logs that it's not able to send to a "standard" IP address:
> WARNING: xl_mod_init: more IP 
10.10.10.41 not used
> CRITICAL: invalid sendtoparameters one possible reason is the server is
> bound to localhost and attempts to send to the net
>
> Case you need to use 2 interfaces, I would recommend using mhomed=yes (don't

> recall the exact syntax right now..).
>
> Hope it helps,
> Samuel.
>
> 2007/5/24, Mahatma Sarasvati <gnoahhb at yahoo.com>:
> > Hi All,

> >
> > This ser installation was working fine and I can't figure out why its not
> working now.
> > I'm getting an error (see last log line) every time I attempt a call to
> local users. Calling out to PSTN works great. ngrep reveals that SER is not

> sending any messages to the callee location.
> >
> > There are 2 registered local users, one registered twice.
> >
> > I have no idea what is going on. I'm using an unmodified version 
1.4
> ser.cfg file on CentOS 5.
> >
> > I suspect some server configuration error? ? ? ?
> >
> >
> > Thanks,
> > M
> >
> >
> >
> > Here are the logs.

> >
> >
> > May 23 16:03:38 vx1 ser: init_tcp: using epoll_lt as the io watch method
> (auto detected)
> > May 23 16:03:38 vx1 /usr/local/sbin/ser[1692]: Maxfwd module- initializing

> > May 23 16:03:38 vx1 /usr/local/sbin/ser[1692]: WARNING: xl_mod_init: more
> IP 10.10.10.41 not used
> > May 23 16:03:38 vx1 last message repeated 8 times
> > May 23 16:03:38 vx1 /usr/local/sbin/ser[1692]: AVPops - initializing

> > May 23 16:03:38 vx1 /usr/local/sbin/ser[1692]: DEB: IP address of RTPPROXY
> is /var/run/rtpproxy.sock
> > May 23 16:03:38 vx1 /usr/local/sbin/ser[1692]: INFO: xlog null is "<null>"

> > May 23 16:03:38 vx1 /usr/local/sbin/ser[1692]: INFO: udp_init: SO_RCVBUF
> is initially 109568
> > May 23 16:03:38 vx1 /usr/local/sbin/ser[1692]: INFO: udp_init: SO_RCVBUF
> is finally 262142

> > May 23 16:03:38 vx1 /usr/local/sbin/ser[1692]: INFO: udp_init: SO_RCVBUF
> is initially 109568
> > May 23 16:03:38 vx1 /usr/local/sbin/ser[1692]: INFO: udp_init: SO_RCVBUF
> is finally 262142

> > .
> > .
> > .
> > .
> > May 23 16:09:15 vx1 /usr/local/sbin/ser[1781]: rtpp_test: RTP proxy
> <unix:/var/run/rtpproxy.sock> found, support for it re-enabled

> > May 23 16:09:15 vx1 /usr/local/sbin/ser[1781]: ERROR: udp_send:
> sendto(sock,0xb62048f4,1773,0, 10.10.100.103:5060,16): Invalid argument(22)
> >
> > May 23 16:09:15 vx1 /usr/local/sbin/ser[1781]: CRITICAL: invalid

> sendtoparameters one possible reason is the server is bound to localhost
> > and attempts to send to the net
> > May 23 16:09:15 vx1 /usr/local/sbin/ser[1781]: msg_send: ERROR: udp_send
> failed

> > May 23 16:09:15 vx1 /usr/local/sbin/ser[1781]: ERROR: t_send_branch:
> sending request on branch 0 failed
> > May 23 16:09:15 vx1 /usr/local/sbin/ser[1781]: ERROR: sl_reply_error used:
> Unfortunately error on sending to next hop occurred (477/SL)

> >
> >
> >
> > When I start SER I get this response:
> >
> > [root at vx1 ~]# service ser restart
> > Stopping ser:
>  [  OK  ]
> > Starting ser: Listening on

> >              udp: 127.0.0.1 [127.0.0.1]:5060
> >              udp: 10.10.10.41 [
10.10.10.41]:5060
> >              tcp: 127.0.0.1 [127.0.0.1]:5060
> >              tcp: 10.10.10.41 [
10.10.10.41]:5060
> > Aliases:
> >              tcp: vx1:5060
> >              tcp: vx1.velocity11.com:5060
> >              tcp: localhost:5060

> >              tcp: localhost.localdomain:5060
> >              udp: vx1:5060
> >              udp: vx1.velocity11.com:5060
> >              udp: localhost:5060

> >              udp: localhost.localdomain:5060
> >
> >
>  [  OK  ]
> > [root at vx1 ~]#
> >
> >
> >
> >
> >
> >
> >

> >
> >
> ____________________________________________________________________________________Ready
> for the edge of your seat?
> > Check out tonight's top picks on Yahoo! TV.
> > 
http://tv.yahoo.com/
> > _______________________________________________
> > Serusers mailing list
> > Serusers at lists.iptel.org

> > http://lists.iptel.org/mailman/listinfo/serusers
> >
>
>
>
> ________________________________
> Sucker-punch spam with award-winning protection.

> Try the free Yahoo! Mail Beta.
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> 
http://lists.iptel.org/mailman/listinfo/serusers
>
>
_______________________________________________
Serusers mailing list
Serusers at lists.iptel.org

http://lists.iptel.org/mailman/listinfo/serusers






____________________________________________________________________________________Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.

http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
_______________________________________________
Serusers mailing list

Serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers









       
____________________________________________________________________________________Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070524/c06940b5/attachment.htm>


More information about the sr-users mailing list