[Freeswitch-users] Freeswitch won't start up after crash

Steven Ayre steveayre at gmail.com
Wed Aug 27 18:16:37 MSD 2014


Often /var/lib/freeswitch/db/core.db

One trick is to get the PID of freeswitch, then as root 'ls -l
/proc/$pid/fd/' - you'll see an open file descriptor to the file and it'll
show the path.


On 27 August 2014 14:10, Callum Guy <guy.callum at gmail.com> wrote:

> Freeswitch home / db / core.db!
>
>
> On Wed, Aug 27, 2014 at 2:07 PM, Chris Martineau <chris at ghosttelecom.com>
> wrote:
>
>>  Thanks for that. Do you know where it is and what I need to delete?
>>
>>
>>
>> Regards
>>
>>
>>
>> Chris
>>
>>
>>
>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Steven Ayre
>> *Sent:* 27 August 2014 13:24
>> *To:* FreeSWITCH Users Help
>> *Subject:* Re: [Freeswitch-users] Freeswitch won't start up after crash
>>
>>
>>
>> There will be a core database unless you run with -nosql. If you're not
>> setting it to ODBC then a sqlite file is the default. I suspect that file
>> is corrupted. If you delete it freeswitch will recreate it when you restart.
>>
>>
>>
>>
>>
>> On 27 August 2014 13:21, Steven Ayre <steveayre at gmail.com> wrote:
>>
>> Are you using sqlite? Those files can get corrupted easily on a crash.
>>
>>
>>
>> On 27 August 2014 12:12, Chris Martineau <chris at ghosttelecom.com> wrote:
>>
>>   Hi,
>>
>>
>>
>> Experimenting with trying to get nibblebill working with conference and
>> caused a Floating point exception (core dumped). Ever since I cannot now
>> start up freeswitch and only get the following errors.
>>
>>
>>
>> I have no core database active only that required for nibblebill.
>>
>>
>>
>>
>>
>> 2014-08-27 10:56:00.240055 [INFO] switch_event.c:669 Activate Eventing
>> Engine.
>>
>> 2014-08-27 10:56:00.240290 [WARNING] switch_event.c:651 Create additional
>> event dispatch thread 0
>>
>> 2014-08-27 10:56:00.271503 [INFO] switch_nat.c:419 Scanning for NAT
>>
>> 2014-08-27 10:56:00.271654 [DEBUG] switch_nat.c:169 Checking for PMP 1/5
>>
>> 2014-08-27 10:56:00.521437 [DEBUG] switch_nat.c:169 Checking for PMP 2/5
>>
>> 2014-08-27 10:56:00.522435 [DEBUG] switch_nat.c:169 Checking for PMP 3/5
>>
>> 2014-08-27 10:56:01.022429 [DEBUG] switch_nat.c:169 Checking for PMP 4/5
>>
>> 2014-08-27 10:56:02.022380 [DEBUG] switch_nat.c:169 Checking for PMP 5/5
>>
>> 2014-08-27 10:56:04.022277 [ERR] switch_nat.c:200 Error checking for PMP
>> [general error]
>>
>> 2014-08-27 10:56:04.022309 [DEBUG] switch_nat.c:424 Checking for UPnP
>>
>> 2014-08-27 10:56:16.022732 [INFO] switch_nat.c:440 No PMP or UPnP NAT
>> devices detected!
>>
>> 2014-08-27 10:56:16.024856 [ERR] switch_core_db.c:108 SQL ERR [malformed
>> database schema (uuindex2) - no such table: main.channels]
>>
>> 2014-08-27 10:56:16.024882 [ERR] switch_core_db.c:223 SQL ERR [malformed
>> database schema (uuindex2) - no such table: main.channels]
>>
>> 2014-08-27 10:56:16.024927 [CRIT] switch_core_sqldb.c:507 Failure to
>> connect to CORE_DB core!
>>
>> 2014-08-27 10:56:16.024956 [ERR] switch_core_sqldb.c:3321 Error Opening
>> DB!
>>
>> Cannot Initialize [Error activating database]
>>
>>
>>
>> Any ideas what is going wrong as there is no database main?
>>
>>
>>
>> Obviously something has corrupted but what?
>>
>>
>>
>> Any ideas or pointers would be greatly appreciated.
>>
>>
>>
>> Thanks
>>
>>
>>
>>
>>
>> Chris
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140827/0a4ece2c/attachment.html 


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