Discussion:
[SR-Users] no fork mode and more than one listen address found (will use only the first one)
Yuriy Gorlichenko
2014-08-05 19:09:46 UTC
Permalink
Hello. I Installed kamailio 4.1.4, when I starting my server I see
following Warning

no fork mode and more than one listen address found (will use only the
first one)

So I see only first listening port at my netstat

At my kamailio.cfg file I write fork=yes? but it not helps me.

I found the same issue at this mailing list
http://comments.gmane.org/gmane.comp.voip.openser.user/10686

But it very old issue (2007 year) and I think patch at this issue does not
help me.

How I can start my Server for runnings with many interfaces?
Brandon Armstead
2014-08-05 19:18:37 UTC
Permalink
Yuriy,

You can use the listen directive multiple times.

listen=eth0
listen=eth1

etc...
Post by Yuriy Gorlichenko
Hello. I Installed kamailio 4.1.4, when I starting my server I see
following Warning
no fork mode and more than one listen address found (will use only the
first one)
So I see only first listening port at my netstat
At my kamailio.cfg file I write fork=yes? but it not helps me.
I found the same issue at this mailing list
http://comments.gmane.org/gmane.comp.voip.openser.user/10686
But it very old issue (2007 year) and I think patch at this issue does not
help me.
How I can start my Server for runnings with many interfaces?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Yuriy Gorlichenko
2014-08-05 19:21:47 UTC
Permalink
I Already use it.
As I see my problem about to run the main kamailio process in foreground
and fork child processes as usual.
Post by Brandon Armstead
Yuriy,
You can use the listen directive multiple times.
listen=eth0
listen=eth1
etc...
Post by Yuriy Gorlichenko
Hello. I Installed kamailio 4.1.4, when I starting my server I see
following Warning
no fork mode and more than one listen address found (will use only the
first one)
So I see only first listening port at my netstat
At my kamailio.cfg file I write fork=yes? but it not helps me.
I found the same issue at this mailing list
http://comments.gmane.org/gmane.comp.voip.openser.user/10686
But it very old issue (2007 year) and I think patch at this issue does
not help me.
How I can start my Server for runnings with many interfaces?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Brandon Armstead
2014-08-05 19:28:14 UTC
Permalink
kamailio -D no -l eth0 -l eth1 -l eth2

Try this?
Post by Yuriy Gorlichenko
I Already use it.
As I see my problem about to run the main kamailio process in foreground
and fork child processes as usual.
Yuriy,
Post by Brandon Armstead
You can use the listen directive multiple times.
listen=eth0
listen=eth1
etc...
Post by Yuriy Gorlichenko
Hello. I Installed kamailio 4.1.4, when I starting my server I see
following Warning
no fork mode and more than one listen address found (will use only the
first one)
So I see only first listening port at my netstat
At my kamailio.cfg file I write fork=yes? but it not helps me.
I found the same issue at this mailing list
http://comments.gmane.org/gmane.comp.voip.openser.user/10686
But it very old issue (2007 year) and I think patch at this issue does
not help me.
How I can start my Server for runnings with many interfaces?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Yuriy Gorlichenko
2014-08-05 19:35:47 UTC
Permalink
With this key it starts, but I need very exotic thing. I need start only
main process as foreground. Other processes must bee at the fork mode. I
search analog implementation of patch that was created at 2007)
Post by Brandon Armstead
kamailio -D no -l eth0 -l eth1 -l eth2
Try this?
Post by Yuriy Gorlichenko
I Already use it.
As I see my problem about to run the main kamailio process in foreground
and fork child processes as usual.
Yuriy,
Post by Brandon Armstead
You can use the listen directive multiple times.
listen=eth0
listen=eth1
etc...
Post by Yuriy Gorlichenko
Hello. I Installed kamailio 4.1.4, when I starting my server I see
following Warning
no fork mode and more than one listen address found (will use only the
first one)
So I see only first listening port at my netstat
At my kamailio.cfg file I write fork=yes? but it not helps me.
I found the same issue at this mailing list
http://comments.gmane.org/gmane.comp.voip.openser.user/10686
But it very old issue (2007 year) and I think patch at this issue does
not help me.
How I can start my Server for runnings with many interfaces?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Daniel-Constantin Mierla
2014-08-06 09:19:59 UTC
Permalink
Hello,

perhaps -D 2 is what you are looking for.

Cheers,
Daniel
Post by Yuriy Gorlichenko
With this key it starts, but I need very exotic thing. I need start
only main process as foreground. Other processes must bee at the fork
mode. I search analog implementation of patch that was created at 2007)
kamailio -D no -l eth0 -l eth1 -l eth2
Try this?
On Tue, Aug 5, 2014 at 12:21 PM, Yuriy Gorlichenko
I Already use it.
As I see my problem about to run the main kamailio process in
foreground and fork child processes as usual.
Yuriy,
You can use the listen directive multiple times.
listen=eth0
listen=eth1
etc...
On Tue, Aug 5, 2014 at 12:09 PM, Yuriy Gorlichenko
Hello. I Installed kamailio 4.1.4, when I starting my
server I see following Warning
no fork mode and more than one listen address found
(will use only the first one)
So I see only first listening port at my netstat
At my kamailio.cfg file I write fork=yes? but it not
helps me.
I found the same issue at this mailing list
http://comments.gmane.org/gmane.comp.voip.openser.user/10686
But it very old issue (2007 year) and I think patch at
this issue does not help me.
How I can start my Server for runnings with many
interfaces?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) -
sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA
Continue reading on narkive:
Loading...