[Freeswitch-users] FreeSWITCH startup failure

Rupa Schomaker rupa at rupa.com
Wed May 12 06:49:27 PDT 2010


THat commit just removes a .rej file, don't see how it can affect

$ git diff
--stat 1d2c64d33bf033788c5521c212b861ba11c229af..5530de66ef6880621086c6276731504459eb6709

(those are the two SHA1s I'm getting stats on,  first is tony's just before
my changes, second is mine)

 src/include/switch_types.h.orig                    | 1714 ------
 .../mod_conference/mod_conference.c.orig           | 6343
--------------------
 .../mod_conference/mod_conference.c.rej            |   50 -
 src/mod/formats/mod_sndfile/mod_sndfile.c.orig     |  462 --
 .../languages/mod_python/mod_python_wrap.cpp.rej   |   38 -
 src/switch_core.c.orig                             | 2018 -------
 src/switch_time.c.orig                             | 1962 ------
 7 files changed, 0 insertions(+), 12587 deletions(-)


Don't see how removing patch droppings can possibly cause your problem.

The real issue is that the interfaces table doesn't exist.  The last error
is because the table didn't exist for the records to be inserted into.  As
with all core tables, this SHOULD be auto-created.

Are you running against odbc for core or sqlite?

On Wed, May 12, 2010 at 6:48 AM, Muhammad Shahzad <
shaheryarkh at googlemail.com> wrote:

> Hi,
>
> For last two days i am trying to setup a freeswitch box for an voip
> application testing against it. FreeSWITCH compiles successfully but when i
> try to start it i get a lot critical errors from switch_core_sqldb.c, e.g.
>
>
> 2010-05-12 16:35:42.691358 [ERR] switch_core_sqldb.c:404 SQL ERR [no such
> table: interfaces]
> insert into interfaces
> (type,name,description,syntax,ikey,filename,hostname)
> values('chat','event','','','mod_dptools','/usr/local/freeswitch/mod/mod_dptools.so','lenovo');
> insert into interfaces
> (type,name,description,syntax,ikey,filename,hostname)
> values('chat','api','','','mod_dptools','/usr/local/freeswitch/mod/mod_dptools.so','lenovo');
> insert into interfaces
> (type,name,description,syntax,ikey,filename,hostname)
> values('api','expr','Eval an
> expression','<expr>','mod_expr','/usr/local/freeswitch/mod/mod_expr.so','lenovo');
>
> 2010-05-12 16:35:42.691419 [ERR] switch_core_sqldb.c:670 SQL ERR [no such
> table: interfaces]
> 2010-05-12 16:35:42.791490 [CRIT] switch_core_sqldb.c:889 SQL thread unable
> to commit transaction, records lost!
>
> and it continues till my machine eventually hangs. Its happening with
> latest git revision, i don't know how to get revision number in git (i am
> not much familiar with it) but "git log" command give this as first line.
>
> commit 5530de66ef6880621086c6276731504459eb6709
> Author: Rupa Schomaker <rupa at rupa.com>
> Date:   Wed May 12 03:32:18 2010 -0500
>
> I suspect the last line, i.e.
> 2010-05-12 16:35:42.791490 [CRIT] switch_core_sqldb.c:889 SQL thread unable
> to commit transaction, records lost!
>
> is the reason for these errors but i am not sure why its happening.
>
> Thank you.
>
>
> --
> Muhammad Shahzad
> -----------------------------------
> CISCO Rich Media Communication Specialist (CRMCS)
> CISCO Certified Network Associate (CCNA)
> Cell: +92 334 422 40 88
> MSN: shari_786pk at hotmail.com
> Email: shaheryarkh at googlemail.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
>
>


-- 
-Rupa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100512/a19bd498/attachment-0001.html 


More information about the FreeSWITCH-users mailing list