<div dir="ltr">Sometime I reckon with this bug. FS restart fails and I need to remove all file in db directory. Is it possible to disable usage sqlite db files because I have configured pgsql storage?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 13, 2016 at 7:49 PM, Steven Schoch <span dir="ltr">&lt;<a href="mailto:schoch+freeswitch.org@xwin32.com" target="_blank">schoch+freeswitch.org@xwin32.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I&#39;ll try again:<div><div>root@pbx:/var/lib/freeswitch/db# service freeswitch stop</div><div>root@pbx:/var/lib/freeswitch/db# rm call_limit.db core.db directory.db fifo.db share_presence.db sofia_reg_*.db</div><div>root@pbx:/var/lib/freeswitch/db# ls -l</div><div>total 48</div><div>-rw-r--r-- 1 freeswitch freeswitch 49152 May 12 16:03 voicemail_default.db</div><div>root@pbx:/var/lib/freeswitch/db# service freeswitch start</div><div>root@pbx:/var/lib/freeswitch/db# ls -l</div><div>total 564</div><div>-rw-r----- 1 freeswitch freeswitch  14336 May 13 09:39 call_limit.db</div><div>-rw-r----- 1 freeswitch freeswitch 204800 May 13 09:39 core.db</div><div>-rw-r----- 1 freeswitch freeswitch   2048 May 13 09:39 directory.db</div><div>-rw-r----- 1 freeswitch freeswitch   5120 May 13 09:39 fifo.db</div><div>-rw-r----- 1 freeswitch freeswitch  95232 May 13 09:39 share_presence.db</div><div>-rw-r----- 1 freeswitch freeswitch  95232 May 13 09:39 sofia_reg_external.db</div><div>-rw-r----- 1 freeswitch freeswitch  95232 May 13 09:39 sofia_reg_lan.db</div><div>-rw-r--r-- 1 freeswitch freeswitch  49152 May 12 16:03 voicemail_default.db</div></div><div><br></div><div>Hey! It worked! the DB error isn&#39;t there anymore!</div><div><br></div><div>Now I can work on the next problem, which is that incoming calls are immediately rejected. That&#39;s just me digging through the logs, reading the documentation, and seeing what I messed up when I moved them to the new system.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- </div><div>Steve</div></font></span><span class=""><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 13, 2016 at 9:29 AM, Ken Rice <span dir="ltr">&lt;<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Make sure the filesystem perms are correct for the user that freeswitch is running as.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">It is safe to stop FreeSWITCH, remove the files, and allow FreeSWITCH to recreate them with the correct permissions. The only file that needs to hang around across reboots is the voicemail one which contains the metadata for any voicemails that are still on the system. If you are not using mod_voicemail on a particular FreeSWITCH install, it is also safe to delete.<u></u><u></u></span></p><p class="MsoNormal"><br></p></div></blockquote></div></div></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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><br clear="all"><br>-- <br><div class="gmail_signature">tarantul<br>Dios es Amor</div>
</div>