Re: [Freeswitch-users] Recovering from database fault
Hello Michael and others. I deleted the whold db folder which in our case was ok because we don't use voice mail. Then when I ran Freeswitchconsole, the db folder was recreated. But that was when we had the problem. The phones could make calls but none could ring. Clive Lansink Email: Clive@Lansink.Co.NZ Phone: +64 9 520-4242 Mobile: +64 21 663-999 Fax: +64 21 789-150 -----Original message----- From: Michael Collins <msc@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Recovering from database fault Reply-to: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Date: Thu, 23 Jun 2011 16:39:01 -0700 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") -MC On Thu, Jun 23, 2011 at 4:21 PM, Clive Lansink <clive@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@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@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 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Fri, Jun 24, 2011 at 4:26 PM, Clive Lansink <clive@lansink.co.nz> wrote:
Hello Michael and others.
I deleted the whold db folder which in our case was ok because we don't use voice mail. Then when I ran Freeswitchconsole, the db folder was recreated. But that was when we had the problem. The phones could make calls but none could ring.
Okay, so you removed the whole db folder then restarted FS and everything worked except for the registrations? Then when you did a complete re-install of FS then everything, including registrations, seemed to work? I'd recommend that you update to the latest git and watch and wait. If the symptom returns then maybe you could collect a gcore and open a jira, unless you're on Windows. (We have Windows guys who can guide you on what to do for troubleshooting - I just don't happen to be one of them...) -MC
participants (2)
-
Clive Lansink
-
Michael Collins