Hi,
I have an older installation of Kamailio (3.1.1).
It is configured with
modparam("usrloc", "db_mode", 2)
I tried to change this to
modparam("usrloc", "db_mode", 3)
to not have to restart kamailio when I change the alias table directly from
SQL.
But then kamailio shutsdown after about one second with this error:
Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11510]: ERROR: <core>
[db.c:408]: invalid version 0 for table trusted found, expected 5 (check
table structure and table "version")
Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11510]: ERROR: permissions
[trusted.c:250]: error during table version check.
Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11510]: ERROR: <core>
[sr_module.c:832]: init_mod_child(): Error while initializing module
permissions (/usr/local/lib/kamailio/modules_k/permissions.so)
Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11510]: ERROR: <core>
[pt.c:481]: ERROR: fork_tcp_process(): init_child failed for process 28,
pid 11510, "tcp receiver child=6"
Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11510]: ERROR: <core>
[tcp_main.c:4811]: ERROR: tcp_main: fork failed: Success
Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11512]: : <core>
[pass_fd.c:293]: ERROR: receive_fd: EOF on 44
Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11482]: ALERT: <core>
[main.c:738]: child process 11510 exited normally, status=255
Mar 26 20:38:55 sip-3-1 /usr/local/sbin/kamailio[11482]: INFO: <core>
[main.c:756]: INFO: terminating due to SIGCHLD
I have not made any changes to the permissions/trusted module, so I suspect
it is some shared database conection problem.
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.
--
Morten Isaksen