<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
txs a lot, it it starts now using the kamdbctl, I did not know about that tool, all the tutorials that I see are for openser and they use the opener_mysql.sh script, I asked for it to a friend of mine who installed openser several months ago [before kamailio was created] and tweaked it to be able to use it [paths, some values live version 6, 1004 etc]<br><br>again thank you for the prompt reply<br><br>Fabian<br><br><br><html><DIV><br><DIV>&nbsp;</DIV></DIV></html><br><br>> Date: Tue, 14 Oct 2008 21:09:44 -0400<br>> From: osas@voipembedded.com<br>> To: fborot@hotmail.com<br>> Subject: Re: [Kamailio-Users] problem starting kamailio<br>> CC: users@lists.kamailio.org<br>> <br>> Do not run openser_mysql.sh! How did you get that exacutable installed?<br>> The right tool for creating tables in the db is kamdbctl.<br>> <br>> Anyway, the fact that is segv-ing is bad. Can you get a backtrace using gdb?<br>> <br>> <br>> Regards,<br>> Ovidiu Sas<br>> <br>> On Tue, Oct 14, 2008 at 8:48 PM, Fabian Borot <fborot@hotmail.com> wrote:<br>> > hello<br>> ><br>> > I installed kamailio, and want to use mysql auth,loaded the mysql module,<br>> > uncomented the lines needed to use mysql in the .cfg file I ran the<br>> > openser_mysql.sh script, and when I try to started kamailio and this is what<br>> > I see in the console:<br>> ><br>> > [root@sp1094a sbin]# ./openser_mysql.sh create<br>> > MySql password for root:<br>> > Domain (realm) for the default user 'admin': 65.111.185.187<br>> ><br>> > creating database openser ...<br>> > Install SERWEB tables ?(y/n):n # I tried with and w/o the servweb tables<br>> > [root@sp1094a sbin]# ./kamctl start<br>> > database engine 'MYSQL' loaded<br>> > Control engine 'FIFO' loaded<br>> ><br>> > INFO: Starting Kamailio :<br>> ><br>> > ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start<br>> > failed<br>> ><br>> > in the var/log/message file this is what I see:<br>> ><br>> ><br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: NOTICE:core:main: version:<br>> > kamailio 1.4.1-notls (i386/linux)<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:core:main: using 32 Mb<br>> > shared memory<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:core:main: using 1 Mb<br>> > private memory per process<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:sl:mod_init: Initializing<br>> > StateLess engine<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:tm:mod_init: TM -<br>> > initializing...<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:maxfwd:mod_init:<br>> > initializing...<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:usrloc:ul_init_locks: locks<br>> > array size 512<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:registrar:mod_init:<br>> > initializing...<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:textops:mod_init:<br>> > initializing...<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:xlog:mod_init:<br>> > initializing...<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:acc:mod_init:<br>> > initializing...<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:auth:mod_init:<br>> > initializing...<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:auth_db:mod_init:<br>> > initializing...<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]:<br>> > INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 210 kb<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29253]:<br>> > ERROR:db_mysql:db_mysql_submit_query: driver error on query: Unknown column<br>> > 'cflags' in 'field list'<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29253]: ERROR:core:db_do_query: error<br>> > while submitting query<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29253]: ERROR:usrloc:preload_udomain:<br>> > db_query (1) failed<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29253]: ERROR:usrloc:child_init:<br>> > child(1): failed to preload domain 'location'<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29253]: ERROR:core:init_mod_child: failed<br>> > to initializing module usrloc, rank 1<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29253]: ERROR:core:main_loop: init_child<br>> > failed for UDP listener<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:core:handle_sigs: child<br>> > process 29253 exited normally, status=255<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29249]: INFO:core:handle_sigs:<br>> > terminating due to SIGCHLD<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29264]: INFO:core:sig_usr: signal 15<br>> > received<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29261]: INFO:core:sig_usr: signal 15<br>> > received<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29259]: INFO:core:sig_usr: signal 15<br>> > received<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29257]: INFO:core:sig_usr: signal 15<br>> > received<br>> > Oct 14 21:09:12 sp1094a ./kamailio[29255]: INFO:core:sig_usr: signal 15<br>> > received<br>> ><br>> > what can that be?<br>> ><br>> > txs<br>> ><br>> > Fabian<br>> ><br>> ><br>> > <html><DIV><br>> > <DIV>&nbsp;</DIV></DIV></html><br>> > ________________________________<br>> > Get more out of the Web. Learn 10 hidden secrets of Windows Live. Learn Now<br>> > _______________________________________________<br>> > Users mailing list<br>> > Users@lists.kamailio.org<br>> > http://lists.kamailio.org/cgi-bin/mailman/listinfo/users<br>> ><br>> ><br><br /><hr />See how Windows Mobile brings your life together—at home, work, or on the go. <a href='http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/' target='_new'>See Now</a></body>
</html>