[Freeswitch-users] database disk image is malformed

Moishe Grunstein max at nysolutions.com
Fri May 13 16:52:15 MSD 2016

You should be able to rename the core.db, it will be recreated when you restart freeswitch.

You can also move to postgres or a odbc for the core.


Moishe Grunstein
Tornado Computer Systems, Inc.
212.400.7650 888.IPPBX.US
Service Request Email: support at nysolutions.com<mailto:support at nysolutions.com>
[cid:image001.jpg at 01C72F94.9EE45D60]<http://www.nysolutions.com/>
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Steven Schoch
Sent: Friday, May 13, 2016 12:35 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] database disk image is malformed

I shut down freeswitch, removed all the sofia_*.db files, and restarted freeswitch.
The error still occurs soon after log entries that say it pinged the providers (flowroute and sip2sip). The sofia_*.db files were recreated, and using sqlite3, they seem to have valid tables, although the sip_registrations table is empty in sofia_reg_external.db.
The symptom of this problem is that outgoing calls work, but incoming calls are rejected, and Flowroute redirects it to the backup (sip2sip voicemail).
core.db seems to be a valid database that has tables, but not sip_registrations (which I don't think it's supposed to have anyway).
What will I lose if I delete core.db? I know voicemail_default.db has stuff that I don't want to lose, but what long-term stuff is in core.db?


On Thu, May 12, 2016 at 5:21 PM, Anthony Minessale <anthony.minessale at gmail.com<mailto:anthony.minessale at gmail.com>> wrote:
Do you know what profile is in use at the time from any other logs?  The name of the profile is in the db filename.

The sofia_* db all regenerate anyway on restart so you could just delete all the sofia ones.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160513/d12dcd21/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2424 bytes
Desc: image001.jpg
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160513/d12dcd21/attachment-0001.jpg 

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