[Kamailio-Users] Kamailio in Red Hat 4 with mysql and carrierroute
Juan Asencio
juan at asencio.dk
Thu Dec 18 15:59:01 CET 2008
>> On Monday 08 December 2008, Juan Asencio wrote:
>>> Thank you for your fast response. So after I compile them, the files
>>> carrierroute.so should appear on the directory of modules?
>>>
>>> Because I thought did it right, but I can't see the carrierroute.so
>>> anywhere. So I'm not sure if I did it right :(
>>
>> Hi Juan,
>>
>> you need to edit the exclude_modules parameter in the Makefile, and
>> remove
>> the
>> db_mysql and carrierroute module. After a new make; make install this
>> modules
>> should also be available.
>>
>> Cheers,
>>
>> Henning
>>
>
>
> Hi Henning, now the modules are available on the kamailio.cfg file, but
> when I run the command "kamctl start" I got the following error:
>
> ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start
> failed
>
> But, if comment on the .cfg file the carrierroute.so line, Kamailio is
> able to start.
>
> Do you have any suggestions about what I'm doing wrong?
>
> Cheers,
>
> Juan.-
>
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
Here is the info that I get after checking the log/messages, any suggestions?
[root at localhost ~]# cat /var/log/messages
Dec 18 16:33:03 localhost /sbin/kamailio[5540]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5544]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5546]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5548]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5550]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5525]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5527]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5529]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5531]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5533]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5535]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5536]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5538]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5542]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:03 localhost /sbin/kamailio[5552]: INFO:core:sig_usr: signal
15 received
Dec 18 16:33:05 localhost kamailio: WARNING:core:fix_socket_list: could
not rev. resolve 192.168.50.93
Dec 18 16:33:05 localhost kamailio: WARNING:core:fix_socket_list: could
not rev. resolve 192.168.50.93
Dec 18 16:33:05 localhost kamailio: INFO:core:init_tcp: using epoll_lt as
the TCP io watch method (auto detected)
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: NOTICE:core:main: version:
kamailio 1.4.1-notls (i386/linux)
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: INFO:core:main: using 32
Mb shared memory
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: INFO:core:main: using 1 Mb
private memory per process
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: INFO:sl:mod_init:
Initializing StateLess engine
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: INFO:tm:mod_init: TM -
initializing...
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: INFO:maxfwd:mod_init:
initializing...
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: INFO:usrloc:ul_init_locks:
locks array size 512
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: INFO:registrar:mod_init:
initializing...
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: INFO:textops:mod_init:
initializing...
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: INFO:xlog:mod_init:
initializing...
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: INFO:acc:mod_init:
initializing...
Dec 18 16:33:05 localhost /sbin/kamailio[5579]:
INFO:carrierroute:bind_data_loader: use file as configuration source
Dec 18 16:33:05 localhost /sbin/kamailio[5579]:
ERROR:carrierroute:bind_data_loader: can't stat config file
Dec 18 16:33:05 localhost /sbin/kamailio[5579]:
ERROR:carrierroute:mod_init: could not init route data
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: ERROR:core:init_mod:
failed to initialize module carrierroute
Dec 18 16:33:05 localhost /sbin/kamailio[5579]: ERROR:core:main: error
while initializing modules
[root at localhost ~]#
Cheers,
Juan.-
More information about the Users
mailing list