[SR-Users] Kamailio start up fails with strange IO Error on RHEL 7.1

Daniel-Constantin Mierla miconda at gmail.com
Mon Oct 26 08:58:13 CET 2015



On 23/10/15 17:34, M S wrote:
> Since I don't have systemd compatible start script for RHEL, so i was
> starting kamailio through commandline, e.g. /usr/local/sbin/kamailio start

A side note: be aware that /usr/local/sbin/kamailio does not take the
'start' parameter. The 'start' parameter is specific to init.d scripts,
so that would be /etc/init.d/kamailio.

Then, afaik, you can still use /etc/init.d/kamailio to start/stop
kamailio, on redhat you can install it with:

make install-initd-centos

Cheers,
Daniel

>
> Anyways, manually specifying the private memory parameter did indeed
> solved the problem. Thank you so much for help.
>
> Let me now write up a systemd service script for RHEL.
>
> Thank you.
>
>
>
> On Fri, Oct 23, 2015 at 10:22 AM, Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     The brancktrace leads to a log message during shutdown, so that is not
>     an issue at all.
>
>     Looking at log messages, it appears you don't have sufficient private
>     memory. What is your -M parameter? If you haven't provided it,
>     then try
>     with -M 12
>
>     Cheers,
>     Daniel
>
>     On 22/10/15 16:28, M S wrote:
>     > I am sorry for inconvenience, I was a bit confused whether it is a
>     > related to dev or user mailing list since kamailio was giving
>     > segmentation fault (which i guess was expected in this case), so i
>     > post it on both. Anyways, i will try to be careful next time.
>     >
>     > Initially selinux was enabled, but then i disabled to see if that
>     > helps but didn't find any change in behavior.
>     >
>     > Here is BT Full of sigfault,the full kamailio debug level 3 logs are
>     > also attached herewith.
>
>     --
>     Daniel-Constantin Mierla
>     http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> -
>     http://www.linkedin.com/in/miconda
>     Book: SIP Routing With Kamailio - http://www.asipto.com
>
>

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151026/8b259286/attachment.html>


More information about the sr-users mailing list