[sr-dev] Start kamailio main process at foreground

Alekzander Spiridonov alekz at li.ru
Sat Aug 9 11:07:34 CEST 2014


Have you tried -D 2 ?


2014-08-08 21:19 GMT+04:00 Yuriy Gorlichenko <ovoshlook at gmail.com>:

> I need to know how to start main process at the foreground at kamailio
> 4.1.4
> 07.08.2014 21:05 пользователь "Yuriy Gorlichenko" <ovoshlook at gmail.com>
> написал:
>
> >
> > Hello! I havw installed Kamailio 4.1.4
> >
> > I need to start Kamailio main process at foreground and other process as
> forked processes.
> >
> > I found old issue with patch
> > http://comments.gmane.org/gmane.comp.voip.openser.user/10686
> >
> > But it 2007 year and I can not find any informationabout integration
> this patch at kamailio
> >
> > So I was tested can I start servise as I want (I hoped patch already
> integrated at kamailio)
> >
> > I started kamailio with some methods. I read about it at description at
> this patch:
> >
> > current behavior:
> > 1)fork=no -> daemon, not forked
> > 2)fork=no + -D option -> foreground, not forked
> > 3)fork=yes -> daemon, forked
> > 4)fork=yes + -D option -> daemon, forked  ===> -D is ignored !!!
> > 5)fork not mentioned + -D option -> foreground, forked
> >
> > So 1,2 and 3 methods workes fine
> > method 4 ignoring fork=yes
> > method 5 not works. not forked, only foreground.
> >
> > So I have one else issue:
> > When I started kamailio as a service I see message
> > WARNING: no fork mode and more than one listen address found(will
> use only the the first one)
> >
> > When I started as /etc/init.d/kamailio start m 1024 -M 6 - it worked nise
> >
> > So -how I can resolve my issues?
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>


-- 
Best regards,
Alekzander Spiridonov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20140809/6d350d59/attachment.html>


More information about the sr-dev mailing list