<div dir="ltr">Creating a file in /etc/sysctl.d/ is a good place to make that setting persist on reboot on Debian/Ubuntu<div class="gmail_extra"><br><div class="gmail_quote">On 27 June 2015 at 14:27, Mi Ke <span dir="ltr">&lt;<a href="mailto:mi.ke@null.net" target="_blank">mi.ke@null.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>
<div>echo 1 &gt; /proc/sys/fs/suid_dumpable</div>

<div> </div>

<div>Worked perfectly for me - thank you very much</div>

<div> </div>

<div> </div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Sent:</b> Friday, June 26, 2015 at 7:24 PM<br>
<b>From:</b> <a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a><br>
<b>To:</b> &quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<b>Subject:</b> Re: [Freeswitch-users] freeswitch does not save the core when crashed</div><div><div>

<div name="quoted-content">You may need to echo 1 to /proc/sys/fs/suid_dumpable for this to work.<br>
<br>
Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Your user needs write permission on the dir its started from.<br>
&gt; Your problem is something to do with your user permissions. The core<br>
&gt; dumping works fine.<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Jun 26, 2015 at 10:49 AM, Mi Ke &lt;<a href="mailto:mi.ke@null.net" target="_blank">mi.ke@null.net</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi All,<br>
&gt; &gt;<br>
&gt; &gt; Please advise what I should do to have FS core saved when it crashes? I<br>
&gt; &gt; compile it with default options (with debug symbols), do ulimit -c<br>
&gt; &gt; unlimited under freeswitch user before running freeswitch -c in /tmp dir,<br>
&gt; &gt; however when it crashes it leaves no core. My OS is Centos 6.6<br>
&gt; &gt; 2.6.32-504.23.4.el6.x86_64 #1 SMP, FS version<br>
&gt; &gt; 1.7.0+git~20150624T224859Z~b788523f76~64bit (git b788523 2015-06-24<br>
&gt; &gt; 22:48:59Z 64bit)<br>
&gt; &gt;<br>
&gt; &gt; Thanks in advance,<br>
&gt; &gt; Mike<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _________________________________________________________________________<br>
&gt; &gt; Professional FreeSWITCH Consulting Services:<br>
&gt; &gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt; &gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt; &gt;<br>
&gt; &gt; Official FreeSWITCH Sites<br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; &gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt; &gt;<br>
&gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<br>
&gt;<br>
&gt; ☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞<br>
&gt; <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a><br>
&gt; ☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ *<a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a><br>
&gt; &lt;<a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a>&gt;*<br>
&gt;<br>
&gt; ClueCon Weekly Development Call<br>
&gt; <img goomoji="260e" style="margin:0 0.2ex;vertical-align:middle;max-height:24px" alt="☎" src="cid:260e@goomoji.gmail"> <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> <img goomoji="260e" style="margin:0 0.2ex;vertical-align:middle;max-height:24px" alt="☎" src="cid:260e@goomoji.gmail"> <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a><br>
&gt;<br>
&gt; <a href="https://www.youtube.com/watch?v=9XXgW34t40s" target="_blank">https://www.youtube.com/watch?v=9XXgW34t40s</a><br>
&gt; <a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br>
&gt;<br>
&gt; ----------------------------------------------------<br>
&gt; Alternatives:<br>
&gt;<br>
&gt; ----------------------------------------------------<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
--<br>
Your life is like a penny. You&#39;re going to lose it. The question is:<br>
How do<br>
you spend it?<br>
<br>
John Covici<br>
<a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div>
</div></div></div>
</div>
</div></div></div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>