<div dir="ltr">Have you told it to use pgsql for everything? There are several places to put the DSN, core-dsn in switch.conf.xml and odbc-dsn in sofia.conf.xml for example. I believe it&#39;ll only create the sqlite files if it is going to be using them.</div><div class="gmail_extra"><br><div class="gmail_quote">On 20 May 2016 at 06:17, Nick &#39;tarantul&#39; Novikov <span dir="ltr">&lt;<a href="mailto:tarantul@gmail.com" target="_blank">tarantul@gmail.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">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"><div><div class="h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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><font color="#888888"><div><br></div><div>-- </div><div>Steve</div></font></span><span><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></div></div><span class="">_________________________________________________________________________<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></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div>tarantul<br>Dios es Amor</div>
</font></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></div>