[Freeswitch-users] SO we lost power at the office and battery backups went out...

Kevin Wormington kworm at sofnet.com
Sun Sep 1 21:34:57 MSD 2013


To remove the sofia profile dbs assuming a default install path:

rm -f /usr/local/freeswitch/db/sofia_reg*

There may be other db files corrupted in which case you could remove 
them all with:

rm -f /usr/local/freeswitch/db/*

NOTE: this will remove the voicemail preferences and messages table, so 
any preferences will be lost.  I'm not sure if the messages table is 
recreated from disk so you might lose saved/new voicemail messages.

HTH,

Kevin

On 09/01/2013 12:10 PM, Blake Priddy wrote:
> How does one do this magic? Lol
>
> On Sep 1, 2013 12:09 PM, "François" <fdelawarde at wirelessmundi.com
> <mailto:fdelawarde at wirelessmundi.com>> wrote:
>
>     __
>     The power loss must have caused database corruption. You can remove
>     the presence db and restart FS, it will be re-created from scratch
>     and registrations should start happening again!
>
>     François.
>
>     On Sun, 2013-09-01 at 11:47 -0500, Blake Priddy wrote:
>>     I had to manually start the internal profile. And now when a
>>     registration occurs i get this message.. School starts back
>>     tuesday please help haha
>>
>>
>>     2013-09-01 11:45:38.234642 [ERR] switch_core_sqldb.c:581 NATIVE
>>     SQL ERR [database is locked]
>>     update sip_subscriptions set version=version+1 where ((expires > 0
>>     and expires <= 1378053639)) and profile_name='internal' and
>>     hostname='voice'
>>     2013-09-01 11:45:38.234642 [ERR] switch_core_sqldb.c:581 NATIVE
>>     SQL ERR [database disk image is malformed]
>>     delete from sip_subscriptions where ((expires > 0 and expires <=
>>     1378053639)) and profile_name='internal' and hostname='voice'
>>
>>
>>
>>
>>
>>
>>
>>
>>     --
>>
>>
>>     *Blakelund Priddy*
>>     Network & Systems Engineer
>>     Bryant Public School District
>>     Bryant, Arkansas 72022
>>     http://www.bryantschools.org <http://www.bryantschools.org/>
>>
>>     p 501-653-5038 <tel:501-653-5038>
>>     f 501-847-5656 <tel:501-847-5656>
>>
>>
>>     _________________________________________________________________________
>>     Professional FreeSWITCH Consulting Services:
>>     consulting at freeswitch.org  <mailto:consulting at freeswitch.org>
>>     http://www.freeswitchsolutions.com
>>
>>     
>>     
>>
>>     Official FreeSWITCH Sites
>>     http://www.freeswitch.org
>>     http://wiki.freeswitch.org
>>     http://www.cluecon.com
>>
>>     FreeSWITCH-users mailing list
>>     FreeSWITCH-users at lists.freeswitch.org  <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>     http://www.freeswitch.org
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list