On Mon, Mar 16, 2009 at 2:46 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
from the previous logs, seems that the module with problems is usrloc - check if db_url for that module is set properly.

Cheers,
Daniel


It was a problem in setting db_url for usrloc...
I set the param properly, but Kamailio is still not starting. Here's the log now:

ims@ims-desktop:~$ sudo /etc/init.d/kamailio start
Listening on
             udp: 127.0.0.1 [127.0.0.1]:5065
             udp: 192.168.0.99 [192.168.0.99]:5065
             tcp: 127.0.0.1 [127.0.0.1]:5065
             tcp: 192.168.0.99 [192.168.0.99]:5065
Aliases:
             tcp: ims-desktop.local:5065
             tcp: localhost:5065
             udp: ims-desktop.local:5065
             udp: localhost:5065

Mar 16 15:29:42 [5973] INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected)
Mar 16 15:29:42 [5975] NOTICE:core:main: version: kamailio 1.4.3-notls (i386/linux)
Mar 16 15:29:42 [5975] INFO:core:main: using 32 Mb shared memory
Mar 16 15:29:42 [5975] INFO:core:main: using 1 Mb private memory per process
Mar 16 15:29:42 [5975] INFO:sl:mod_init: Initializing StateLess engine
Mar 16 15:29:42 [5975] INFO:tm:mod_init: TM - initializing...
ims@ims-desktop:~$ Mar 16 15:29:42 [5975] INFO:maxfwd:mod_init: initializing...
Mar 16 15:29:42 [5975] INFO:usrloc:ul_init_locks: locks array size 512
Mar 16 15:29:42 [5975] INFO:registrar:mod_init: initializing...
Mar 16 15:29:42 [5975] INFO:textops:mod_init: initializing...
Mar 16 15:29:42 [5975] ERROR:db_mysql:db_mysql_submit_query: driver error on query: Can't find file: './openser/version.frm' (errno: 13)
Mar 16 15:29:42 [5975] ERROR:core:db_do_query: error while submitting query
Mar 16 15:29:42 [5975] ERROR:core:db_table_version: error in db_query
Mar 16 15:29:42 [5975] ERROR:uri_db:mod_init: Error while querying table version
Mar 16 15:29:42 [5975] ERROR:core:init_mod: failed to initialize module uri_db
Mar 16 15:29:42 [5975] ERROR:core:main: error while initializing modules
Mar 16 15:29:42 [5975] NOTICE:presence:destroy: destroy module ...





 



--
S.