[Freeswitch-users] Recovering from database fault

Michael Collins msc at freeswitch.org
Fri Jun 24 03:39:01 MSD 2011

Which files in the db/ directory did you actually delete? There are several
files in there and generally it is "safe" to delete them all. Note that if
you delete the voicemail_xxx.db for your domain then you will lose user
voicemail information, like new vs. saved msgs. Of course, the recordings
themselves reside in storage/voicemail/xxx/. (xxx = the name of your domain,
so if it's the default configs then your domain is "default")


On Thu, Jun 23, 2011 at 4:21 PM, Clive Lansink <clive at lansink.co.nz> wrote:

> Hello list
> After a computer crash yesterday I noticed FreeSwitch reporting that the
> database disk image was malformed. After googling on this it seemed that the
> thing to do was to either delete or rename the db folder and get FreeSwitch
> to recreate it. After I did that and restarted Freeswitch, I found that all
> my phones seemed to register ok in that their web interfaces reported they
> were registered and I could make calls on them, but none of them could ring.
> When I rang another extension, it seemed from the log that the
> sofia/internal calling phone would get to the point where it would bridge to
> the sofia/internal for the extension, and then there would be an error
> something like could not create the channel, cause, user not registered. So
> all the phones could make calls but not receive them.
> I needed to get things working quickly and fortunately I achieved this by
> brute force - simply uninstalling Freeswitch, getting rid of its folder,
> installing again, and copying a saved copy of the conf directory back. Our
> installation is simple and we don't rely on the internal voicemail etc, so
> that was a quick way to get going again.
> But does anyone know what was going on here? Are there other data files
> apart from the db folder we should be aware of?
> Clive Lansink
> Email: Clive at Lansink.Co.NZ
> Phone: +64 9 520-4242
> Mobile: +64 21 663-999
> Fax: +64 21 789-150
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110623/f88d3fbc/attachment.html 

More information about the FreeSWITCH-users mailing list