<div dir="ltr"><div><div>Hi again,<br><br></div><div>A small update.<br></div><div><br></div>If I raise debug from debug=2 to debug=3 it starts every time.<br><br></div>And once about every 20 times I start kamailio it also runs fine.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 27, 2013 at 11:02 AM, Morten Isaksen <span dir="ltr">&lt;<a href="mailto:misak@misak.dk" target="_blank">misak@misak.dk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>I have an older installation of Kamailio (3.1.1).<br><br>It is configured with <br>
<br>modparam(&quot;usrloc&quot;, &quot;db_mode&quot;, 2)<br><br></div>I tried to change this to<br>
<br>modparam(&quot;usrloc&quot;, &quot;db_mode&quot;, 3)<br><br></div>to not have to restart kamailio when I change the alias table directly from SQL.<br><br></div>But then kamailio shutsdown after about one second with this error:<br>

<br>Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11510]: ERROR: &lt;core&gt; [db.c:408]: invalid version 0 for table trusted found, expected 5 (check table structure and table &quot;version&quot;)<br>Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11510]: ERROR: permissions [trusted.c:250]: error during table version check.<br>

Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11510]: ERROR: &lt;core&gt; [sr_module.c:832]: init_mod_child(): Error while initializing module permissions (/usr/local/lib/kamailio/modules_k/permissions.so)<br>Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11510]: ERROR: &lt;core&gt; [pt.c:481]: ERROR: fork_tcp_process(): init_child failed for process 28, pid 11510, &quot;tcp receiver child=6&quot;<br>

Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11510]: ERROR: &lt;core&gt; [tcp_main.c:4811]: ERROR: tcp_main: fork failed: Success<br>Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11512]: : &lt;core&gt; [pass_fd.c:293]: ERROR: receive_fd: EOF on 44<br>

Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11482]: ALERT: &lt;core&gt; [main.c:738]: child process 11510 exited normally, status=255<br>Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11482]: INFO: &lt;core&gt; [main.c:756]: INFO: terminating due to SIGCHLD<br>

<br clear="all"><div><div><div><div><div><div>I have not made any changes to the permissions/trusted module, so I suspect it is some shared database conection problem.<br><br><br></div><div>Is it a known bug in this version? I would prefer not to upgrade the installation and hopes one of you can point me to a patch I can backport.<span class="HOEnZb"><font color="#888888"><br>

</font></span></div><span class="HOEnZb"><font color="#888888"><div><br>-- <br>Morten Isaksen<br>
</div></font></span></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Morten Isaksen<br>
</div>