<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.<br>
</div><div><br>-- <br>Morten Isaksen<br>
</div></div></div></div></div></div></div>