Dear Sir,
I am using kamailio 1.5.0, having installed and configured as given on the kamailio site http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn on my PC having Centos operating system. I have configured the config files kamailio.cfg, kamctlrc accordingly as given on site.
when I start the kamailio using kamctl start command. it gives the error message like
*[root@localhost ~]# kamctl start database engine 'MYSQL' loaded Control engine 'FIFO' loaded
INFO: Starting Kamailio :
ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed
*please* *help me out to solve this problem and suggest me where I am wrong. * *I have configured kamalio so many times it gives me the same kind of error message.
*
* - With Regards, Dinesh Kumar Gautam Noida, +919911838275
Hi,
What do you see in log? If you don't have any output in /var/log/messages then you should activate it from kamailio.cfg setting log_stderror=no
Always the log is pointing you where the problem is.
Cheers Alex
On Tue, Jan 5, 2010 at 11:48 AM, Dinesh gautam dineshgauta@gmail.comwrote:
Dear Sir,
I am using kamailio 1.5.0, having installed and configured as given on the kamailio site < http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn%3E on my PC having Centos operating system. I have configured the config files kamailio.cfg, kamctlrc accordingly as given on site.
when I start the kamailio using kamctl start command. it gives the error message like
*[root@localhost ~]# kamctl start database engine 'MYSQL' loaded Control engine 'FIFO' loaded
INFO: Starting Kamailio :
ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed
*please* *help me out to solve this problem and suggest me where I am wrong. * *I have configured kamalio so many times it gives me the same kind of error message.
With Regards, Dinesh Kumar Gautam Noida, +919911838275
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Try starting kamailio manually (e.g. "kamailio") or using the init scripts (/etc/init.d/kamailio start)
klaus
Dinesh gautam schrieb:
Dear Sir,
I am using kamailio 1.5.0, having installed and configured as given on the kamailio site http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn on my PC having Centos operating system. I have configured the config files kamailio.cfg, kamctlrc accordingly as given on site.
when I start the kamailio using kamctl start command. it gives the error message like
*[root@localhost ~]# kamctl start database engine 'MYSQL' loaded Control engine 'FIFO' loaded
INFO: Starting Kamailio :
ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed
*please* *help me out to solve this problem and suggest me where I am wrong. * *I have configured kamalio so many times it gives me the same kind of error message.
With Regards, Dinesh Kumar Gautam Noida, +919911838275
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
hi all,
when checking dst_ip with an expression like 'if(dst_ip=~ "10.1.*")' I always have a 'false' as answer... What do I wrong there?
Olivier
Olivier Taylor schrieb:
hi all,
when checking dst_ip with an expression like 'if(dst_ip=~ "10.1.*")' I
Maybe dst_ip is not a string representation of the IP address, but some internal structure, and thus the regexp fails?
regards klaus
always have a 'false' as answer... What do I wrong there?
Olivier
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
for sure it's something like that, but then how to get the IP range...
In fact, I have 2 interfaces, users are registered under the local one, 10.0.X.X with subnet 255.255.0.0 I need to know if their IPs are local or not. It's not even possible to 'print' via xlog the dst_ip.
I am lost :(
Thanks Klaus,
Olivier
Klaus Darilion a écrit :
Olivier Taylor schrieb:
hi all,
when checking dst_ip with an expression like 'if(dst_ip=~ "10.1.*")' I
Maybe dst_ip is not a string representation of the IP address, but some internal structure, and thus the regexp fails?
regards klaus
always have a 'false' as answer... What do I wrong there?
Olivier
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
On 1/5/10 2:42 PM, Olivier Taylor wrote:
for sure it's something like that, but then how to get the IP range...
In fact, I have 2 interfaces, users are registered under the local one, 10.0.X.X with subnet 255.255.0.0 I need to know if their IPs are local or not. It's not even possible to 'print' via xlog the dst_ip.
The dst_ip is the local interface where the message has been received and available via pseudo variable as $Ri: http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:1.5.x#received_ip_...
if($Ri =~ "...")
You can use this to match against regexp or string, print it via xlog, etc...
You can use dst_ip to compare against ip or network:
if(dst_ip==10.10.10.10)
if(dst_ip==10.10.0.0/16)
If you use dst_ip (as well as src_ip) to compare against strings (equal or regexp), it is a bit more tricky and time consuming as it does reverse dns and more steps of comparisons. But should work, even not recommended.
Cheers, Daniel
I am lost :(
Thanks Klaus,
Olivier
Klaus Darilion a écrit :
Olivier Taylor schrieb:
hi all,
when checking dst_ip with an expression like 'if(dst_ip=~ "10.1.*")' I
Maybe dst_ip is not a string representation of the IP address, but some internal structure, and thus the regexp fails?
regards klaus
always have a 'false' as answer... What do I wrong there?
Olivier
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
On 1/5/10 2:42 PM, Olivier Taylor wrote:
for sure it's something like that, but then how to get the IP range...
In fact, I have 2 interfaces, users are registered under the local one, 10.0.X.X with subnet 255.255.0.0
to be sure you get it right, you ave to compare dst_ip against the IP kamailio is listening on, not the IP of the users. So in this case would be comparison against one IP not against network address.
Say kamailio is listening on 10.0.0.1 and 192.168.0.1, to check if the message has been received on 10.0.0.1 you do:
if(dst_ip==10.0.0.1)
Cheers, Daniel
I need to know if their IPs are local or not. It's not even possible to 'print' via xlog the dst_ip.
On 1/5/10 11:34 AM, Klaus Darilion wrote:
Try starting kamailio manually (e.g. "kamailio") or using the init scripts (/etc/init.d/kamailio start)
init.d script is provided in the tutorial: http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn#th...
Note that kamctl and init.d scripts start kamailio with a different pid file, so it is not working to start using one and stop using the other.
To check for errors:
/usr/loca/sbin/kamailio -c
Cheers, Daniel
klaus
Dinesh gautam schrieb:
Dear Sir,
I am using kamailio 1.5.0, having installed and configured as given on the kamailio site http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn on my PC having Centos operating system. I have configured the config files kamailio.cfg, kamctlrc accordingly as given on site.
when I start the kamailio using kamctl start command. it gives the error message like
*[root@localhost ~]# kamctl start database engine 'MYSQL' loaded Control engine 'FIFO' loaded
INFO: Starting Kamailio :
ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed
*please* *help me out to solve this problem and suggest me where I am wrong. * *I have configured kamalio so many times it gives me the same kind of error message.
With Regards, Dinesh Kumar Gautam Noida, +919911838275
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Now I am able to start kamailio, As showing the message when started it.
*[root@localhost sbin]# kamailio start ; Listening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 192.168.3.13 [192.168.3.13]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 192.168.3.13 [192.168.3.13]:5060 Aliases: tcp: asd:5060 tcp: localhost:5060 tcp: localhost.localdomain:5060 udp: asd:5060 udp: localhost:5060 udp: localhost.localdomain:5060
Jan 6 10:55:00 [3025] NOTICE:core:main: config file ok, exiting...*
but kamailio is not stopping when I am trying to stop the kamailio by using command like kamailio stop. it shows the message *[root@localhost sbin]# kamailio stop; Listening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 192.168.3.13 [192.168.3.13]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 192.168.3.13 [192.168.3.13]:5060 Aliases: tcp: asd:5060 tcp: localhost:5060 tcp: localhost.localdomain:5060 udp: asd:5060 udp: localhost:5060 udp: localhost.localdomain:5060*
Please suggest me how can I stop kamailio?? .
On Tue, Jan 5, 2010 at 9:39 PM, Daniel-Constantin Mierla miconda@gmail.comwrote:
On 1/5/10 11:34 AM, Klaus Darilion wrote:
Try starting kamailio manually (e.g. "kamailio") or using the init scripts (/etc/init.d/kamailio start)
init.d script is provided in the tutorial:
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn#th...
Note that kamctl and init.d scripts start kamailio with a different pid file, so it is not working to start using one and stop using the other.
To check for errors:
/usr/loca/sbin/kamailio -c
Cheers, Daniel
klaus
Dinesh gautam schrieb:
Dear Sir,
I am using kamailio 1.5.0, having installed and configured as given on the kamailio site < http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn%3E on my PC having Centos operating system. I have configured the config files kamailio.cfg, kamctlrc accordingly as given on site.
when I start the kamailio using kamctl start command. it gives the error message like
*[root@localhost ~]# kamctl start database engine 'MYSQL' loaded Control engine 'FIFO' loaded
INFO: Starting Kamailio :
ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed
*please* *help me out to solve this problem and suggest me where I am wrong. * *I have configured kamalio so many times it gives me the same kind of error message.
With Regards, Dinesh Kumar Gautam Noida, +919911838275
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-- Daniel-Constantin Mierla
On 1/6/10 6:33 AM, Dinesh gautam wrote:
Now I am able to start kamailio, As showing the message when started it.
*[root@localhost sbin]# kamailio start ; Listening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 192.168.3.13 [192.168.3.13]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 192.168.3.13 [192.168.3.13]:5060 Aliases: tcp: asd:5060 tcp: localhost:5060 tcp: localhost.localdomain:5060 udp: asd:5060 udp: localhost:5060 udp: localhost.localdomain:5060
Jan 6 10:55:00 [3025] NOTICE:core:main: config file ok, exiting...*
but kamailio is not stopping when I am trying to stop the kamailio by using command like kamailio stop. it shows the message *[root@localhost sbin]# kamailio stop; Listening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 192.168.3.13 [192.168.3.13]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 192.168.3.13 [192.168.3.13]:5060 Aliases: tcp: asd:5060 tcp: localhost:5060 tcp: localhost.localdomain:5060 udp: asd:5060 udp: localhost:5060 udp: localhost.localdomain:5060*
Please suggest me how can I stop kamailio?? .
you do wrong, run:
kamailio -h
and you will see the options you can give there.
If you read carefully the link I provided: http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn#th...
you will see that is about /etc/init.d/kamailio script that you have first to create, according to indication in the wiki.
Daniel
On Tue, Jan 5, 2010 at 9:39 PM, Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> wrote:
On 1/5/10 11:34 AM, Klaus Darilion wrote: Try starting kamailio manually (e.g. "kamailio") or using the init scripts (/etc/init.d/kamailio start) init.d script is provided in the tutorial: http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn#the_init.d_script Note that kamctl and init.d scripts start kamailio with a different pid file, so it is not working to start using one and stop using the other. To check for errors: /usr/loca/sbin/kamailio -c Cheers, Daniel klaus Dinesh gautam schrieb: Dear Sir, I am using kamailio 1.5.0, having installed and configured as given on the kamailio site <http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn> on my PC having Centos operating system. I have configured the config files kamailio.cfg, kamctlrc accordingly as given on site. when I start the kamailio using kamctl start command. it gives the error message like *[root@localhost ~]# kamctl start database engine 'MYSQL' loaded Control engine 'FIFO' loaded INFO: Starting Kamailio : ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed *please* *help me out to solve this problem and suggest me where I am wrong. * *I have configured kamalio so many times it gives me the same kind of error message. * * - With Regards, Dinesh Kumar Gautam Noida, +919911838275 ------------------------------------------------------------------------ _______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org <mailto:Users@lists.kamailio.org> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users _______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org <mailto:Users@lists.kamailio.org> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users -- Daniel-Constantin Mierla * http://www.asipto.com/
-- With Regards, Dinesh Kumar Gautam Noida, +919911838275
Now, I have solve this problem.
Thanks to all On Wed, Jan 6, 2010 at 4:06 PM, Daniel-Constantin Mierla miconda@gmail.comwrote:
On 1/6/10 6:33 AM, Dinesh gautam wrote:
Now I am able to start kamailio, As showing the message when started it.
*[root@localhost sbin]# kamailio start ; Listening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 192.168.3.13 [192.168.3.13]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 192.168.3.13 [192.168.3.13]:5060 Aliases: tcp: asd:5060 tcp: localhost:5060 tcp: localhost.localdomain:5060 udp: asd:5060 udp: localhost:5060 udp: localhost.localdomain:5060
Jan 6 10:55:00 [3025] NOTICE:core:main: config file ok, exiting...*
but kamailio is not stopping when I am trying to stop the kamailio by using command like kamailio stop. it shows the message *[root@localhost sbin]# kamailio stop; Listening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 192.168.3.13 [192.168.3.13]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 192.168.3.13 [192.168.3.13]:5060 Aliases: tcp: asd:5060 tcp: localhost:5060 tcp: localhost.localdomain:5060 udp: asd:5060 udp: localhost:5060 udp: localhost.localdomain:5060*
Please suggest me how can I stop kamailio?? .
you do wrong, run:
kamailio -h
and you will see the options you can give there.
If you read carefully the link I provided:
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn#th...
you will see that is about /etc/init.d/kamailio script that you have first to create, according to indication in the wiki.
Daniel
On Tue, Jan 5, 2010 at 9:39 PM, Daniel-Constantin Mierla < miconda@gmail.com> wrote:
On 1/5/10 11:34 AM, Klaus Darilion wrote:
Try starting kamailio manually (e.g. "kamailio") or using the init scripts (/etc/init.d/kamailio start)
init.d script is provided in the tutorial:
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn#th...
Note that kamctl and init.d scripts start kamailio with a different pid file, so it is not working to start using one and stop using the other.
To check for errors:
/usr/loca/sbin/kamailio -c
Cheers, Daniel
klaus
Dinesh gautam schrieb:
Dear Sir,
I am using kamailio 1.5.0, having installed and configured as given on the kamailio site < http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn%3E on my PC having Centos operating system. I have configured the config files kamailio.cfg, kamctlrc accordingly as given on site.
when I start the kamailio using kamctl start command. it gives the error message like
*[root@localhost ~]# kamctl start database engine 'MYSQL' loaded Control engine 'FIFO' loaded
INFO: Starting Kamailio :
ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed
*please* *help me out to solve this problem and suggest me where I am wrong. * *I have configured kamalio so many times it gives me the same kind of error message.
With Regards, Dinesh Kumar Gautam Noida, +919911838275
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-- Daniel-Constantin Mierla
-- With Regards, Dinesh Kumar Gautam Noida, +919911838275
-- Daniel-Constantin Mierla
Hi All,
I installed the last version "Install And Maintain Kamailio Devel Version
From GIT"
http://www.kamailio.org/wiki/install/devel/git
This is my Log,I will appreciate any ideas. 0(8881) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'core' (num=49, size=196) 0(8881) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'tcp' (num=26, size=104) 0(8881) DEBUG: <core> [timer.c:272]: init_timer(): init_timer: starting with *ticks=1148741861 0(8881) DEBUG: <core> [timer.c:314]: init_timer(): init_timer: timer_list between 0x7f9865264a20 and 0x7f98652a8a20 0(8881) INFO: <core> [tcp_main.c:4836]: init_tcp(): init_tcp: using epoll_lt as the io watch method (auto detected) 0(8883) DEBUG: <core> [daemonize.c:219]: enable_dumpable(): trying enable core dumping... 0(8883) DEBUG: <core> [daemonize.c:237]: enable_dumpable(): core dumping is enabled now (1)... 0(8883) DEBUG: <core> [daemonize.c:575]: set_core_dump(): core dump limits set to 18446744073709551615 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: db_mysql 0(8883) DEBUG: db_mysql [km_db_mysql.c:93]: kam_mysql_mod_init(): MySQL client version is 5.5.31 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: mi_fifo 0(8883) DEBUG: mi_fifo [mi_fifo.c:124]: mi_mod_init(): testing mi_fifo existance ... 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: kex 0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [srid-51f00b9a-22b3-] (0 / 19) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: corex 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: tm 0(8883) DEBUG: tm [tm.c:789]: mod_init(): TM - (sizeof cell=5448, sip_msg=1768) initializing... 0(8883) DEBUG: tm [callid.c:105]: init_callid(): Call-ID initialization: '4afe050751bd8ca9' 0(8883) DEBUG: tm [lock.c:87]: lock_initialize(): DEBUG: lock_initialize: lock initialization started 0(8883) DEBUG: tm [timer.c:226]: tm_init_timers(): tm: tm_init_timers: fr=480 fr_inv=1920 wait=80 delete=4 t1=500 t2=4000 max_inv_lifetime=2880 max_noninv_lifetime=512 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'tm' (num=36, size=168) 0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed 0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: a6a1c5f60faecf035a1ae5b6e96e979a 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: tmx 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: sl 0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: b27e1a1d33761e85846fc98f5f3a7e58 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: rr 0(8883) DEBUG: <core> [sr_module.c:707]: find_mod_export_record(): find_export_record: <bind_ob> not found 0(8883) INFO: rr [../outbound/api.h:49]: ob_load_api(): Failed to import bind_ob 0(8883) INFO: rr [rr_mod.c:159]: mod_init(): outbound module not available 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: pv 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: maxfwd 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'maxfwd' (num=1, size=4) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: usrloc 0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [ulcx-51f00b9a-22b3-] (0 / 19) 0(8883) INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size 512 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/local/lib64/kamailio/modules/db_mysql.so] 0(8883) DEBUG: <core> [db.c:213]: db_bind_mod(): using db bind api for db_mysql 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: registrar 0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [uloc-51f00b9a-22b3-] (0 / 19) 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'registrar' (num=10, size=56) 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <ul_bind_usrloc> in module usrloc [/usr/local/lib64/kamailio/modules/usrloc.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: textops 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: siputils 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [usr_avp.c:895]: parse_avp_ident(): Parsing 's:rpid' 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'siputils' (num=1, size=4) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: xlog 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: sanity 0(8883) DEBUG: sanity [mod_sanity.c:103]: mod_init(): sanity initializing 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: sanity [mod_sanity.c:111]: mod_init(): parsing proxy requires string: 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: ctl 0(8883) DEBUG: ctl [ctl.c:242]: mod_init(): listening on: 0(8883) DEBUG: ctl [ctl.c:252]: mod_init(): [binrpc:unix stream] /tmp/kamailio_ctl 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: cfg_rpc 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: mi_rpc 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: acc 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: auth 0(8883) DEBUG: auth [auth_mod.c:278]: mod_init(): auth module - initializing 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [usr_avp.c:895]: parse_avp_ident(): Parsing 'digest_challenge' 0(8883) INFO: auth [auth_mod.c:350]: mod_init(): auth: qop set, but nonce-count (nc_enabled) support disabled 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: auth_db 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/local/lib64/kamailio/modules/db_mysql.so] 0(8883) DEBUG: <core> [db.c:213]: db_bind_mod(): using db bind api for db_mysql 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_auth_s> in module auth [/usr/local/lib64/kamailio/modules/auth.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: debugger 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'dbg' (num=2, size=8) 0(8883) DEBUG: debugger [debugger_mod.c:139]: mod_init(): cfg level_mode:0 hash_size:0 0(8883) DEBUG: <core> [main.c:2502]: main(): Expect (at least) 18 SER processes in your process list 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [CANCEL/2] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_check_trans() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_check_trans() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing remove_hf() 0(8883) DEBUG: textops [textops.c:1669]: hname_fixup(): using hdr type (9) instead of <Route> 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,SUBSCRIBE/65] 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing record_route() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [INVITE/1] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 7 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 7 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_send_reply() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,BYE,SUBSCRIBE,UPDATE/2121] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_on_branch() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,SUBSCRIBE,UPDATE/2113] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_on_reply() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [INVITE/1] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_on_failure() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_relay() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_reply_error() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing mf_process_maxfwd_header() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_send_reply() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sanity_check() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog() 0(8883) DEBUG: <core> [pvapi.c:419]: pv_spec_lookup(): PV <$si> is not in cache 0(8883) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$si] added in cache 0(8883) DEBUG: <core> [pvapi.c:419]: pv_spec_lookup(): PV <$sp> is not in cache 0(8883) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$sp] added in cache 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing has_totag() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing loose_route() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [BYE/8] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [ACK/4] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [NOTIFY/128] 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing record_route() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [SUBSCRIBE/64] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 3 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [ACK/4] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_check_trans() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_send_reply() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [REGISTER/32] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing setbflag() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing save() 0(8883) DEBUG: <core> [db.c:318]: db_do_init2(): connection 0x7f986e4655f0 not found in pool 0(8883) DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@localhost/kamailio 0(8883) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 0(8883) ERROR: <core> [db.c:322]: db_do_init2(): could not add connection to the pool 0(8883) ERROR: usrloc [dlist.c:635]: register_udomain(): failed to open database connection 0(8883) ERROR: registrar [reg_mod.c:545]: domain_fixup(): failed to register domain 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:628 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:631 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:633 ERROR: error -1 while trying to fix configuration 0(8883) DEBUG: tm [t_funcs.c:118]: tm_shutdown(): DEBUG: tm_shutdown : start 0(8883) DEBUG: tm [t_funcs.c:121]: tm_shutdown(): DEBUG: tm_shutdown : emptying hash table 0(8883) DEBUG: tm [t_funcs.c:123]: tm_shutdown(): DEBUG: tm_shutdown : removing semaphores 0(8883) DEBUG: tm [t_funcs.c:125]: tm_shutdown(): DEBUG: tm_shutdown : destroying tmcb lists 0(8883) DEBUG: tm [t_funcs.c:128]: tm_shutdown(): DEBUG: tm_shutdown : done 0(8883) DEBUG: <core> [mem/shm_mem.c:242]: shm_mem_destroy(): shm_mem_destroy 0(8883) DEBUG: <core> [mem/shm_mem.c:245]: shm_mem_destroy(): destroying the shared memory lock kamailio error, failed to start. umg@umg-desktop:~$
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p12... Sent from the Users mailing list archive at Nabble.com.
Hello,
the error is:
0(8883) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Is mysql server running? Is it installed from packages or sources? What about the client library, installed from sources or packages?
Cheers, Daniel
On 7/24/13 7:49 PM, jhandal wrote:
Hi All,
I installed the last version "Install And Maintain Kamailio Devel Version From GIT"
http://www.kamailio.org/wiki/install/devel/git
This is my Log,I will appreciate any ideas. 0(8881) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'core' (num=49, size=196) 0(8881) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'tcp' (num=26, size=104) 0(8881) DEBUG: <core> [timer.c:272]: init_timer(): init_timer: starting with *ticks=1148741861 0(8881) DEBUG: <core> [timer.c:314]: init_timer(): init_timer: timer_list between 0x7f9865264a20 and 0x7f98652a8a20 0(8881) INFO: <core> [tcp_main.c:4836]: init_tcp(): init_tcp: using epoll_lt as the io watch method (auto detected) 0(8883) DEBUG: <core> [daemonize.c:219]: enable_dumpable(): trying enable core dumping... 0(8883) DEBUG: <core> [daemonize.c:237]: enable_dumpable(): core dumping is enabled now (1)... 0(8883) DEBUG: <core> [daemonize.c:575]: set_core_dump(): core dump limits set to 18446744073709551615 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: db_mysql 0(8883) DEBUG: db_mysql [km_db_mysql.c:93]: kam_mysql_mod_init(): MySQL client version is 5.5.31 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: mi_fifo 0(8883) DEBUG: mi_fifo [mi_fifo.c:124]: mi_mod_init(): testing mi_fifo existance ... 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: kex 0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [srid-51f00b9a-22b3-] (0 / 19) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: corex 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: tm 0(8883) DEBUG: tm [tm.c:789]: mod_init(): TM - (sizeof cell=5448, sip_msg=1768) initializing... 0(8883) DEBUG: tm [callid.c:105]: init_callid(): Call-ID initialization: '4afe050751bd8ca9' 0(8883) DEBUG: tm [lock.c:87]: lock_initialize(): DEBUG: lock_initialize: lock initialization started 0(8883) DEBUG: tm [timer.c:226]: tm_init_timers(): tm: tm_init_timers: fr=480 fr_inv=1920 wait=80 delete=4 t1=500 t2=4000 max_inv_lifetime=2880 max_noninv_lifetime=512 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'tm' (num=36, size=168) 0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed 0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: a6a1c5f60faecf035a1ae5b6e96e979a 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: tmx 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: sl 0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: b27e1a1d33761e85846fc98f5f3a7e58 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: rr 0(8883) DEBUG: <core> [sr_module.c:707]: find_mod_export_record(): find_export_record: <bind_ob> not found 0(8883) INFO: rr [../outbound/api.h:49]: ob_load_api(): Failed to import bind_ob 0(8883) INFO: rr [rr_mod.c:159]: mod_init(): outbound module not available 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: pv 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: maxfwd 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'maxfwd' (num=1, size=4) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: usrloc 0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [ulcx-51f00b9a-22b3-] (0 / 19) 0(8883) INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size 512 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/local/lib64/kamailio/modules/db_mysql.so] 0(8883) DEBUG: <core> [db.c:213]: db_bind_mod(): using db bind api for db_mysql 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: registrar 0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [uloc-51f00b9a-22b3-] (0 / 19) 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'registrar' (num=10, size=56) 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <ul_bind_usrloc> in module usrloc [/usr/local/lib64/kamailio/modules/usrloc.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: textops 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: siputils 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [usr_avp.c:895]: parse_avp_ident(): Parsing 's:rpid' 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'siputils' (num=1, size=4) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: xlog 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: sanity 0(8883) DEBUG: sanity [mod_sanity.c:103]: mod_init(): sanity initializing 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: sanity [mod_sanity.c:111]: mod_init(): parsing proxy requires string: 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: ctl 0(8883) DEBUG: ctl [ctl.c:242]: mod_init(): listening on: 0(8883) DEBUG: ctl [ctl.c:252]: mod_init(): [binrpc:unix stream] /tmp/kamailio_ctl 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: cfg_rpc 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: mi_rpc 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: acc 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: auth 0(8883) DEBUG: auth [auth_mod.c:278]: mod_init(): auth module - initializing 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [usr_avp.c:895]: parse_avp_ident(): Parsing 'digest_challenge' 0(8883) INFO: auth [auth_mod.c:350]: mod_init(): auth: qop set, but nonce-count (nc_enabled) support disabled 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: auth_db 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/local/lib64/kamailio/modules/db_mysql.so] 0(8883) DEBUG: <core> [db.c:213]: db_bind_mod(): using db bind api for db_mysql 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_auth_s> in module auth [/usr/local/lib64/kamailio/modules/auth.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: debugger 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'dbg' (num=2, size=8) 0(8883) DEBUG: debugger [debugger_mod.c:139]: mod_init(): cfg level_mode:0 hash_size:0 0(8883) DEBUG: <core> [main.c:2502]: main(): Expect (at least) 18 SER processes in your process list 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [CANCEL/2] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_check_trans() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_check_trans() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing remove_hf() 0(8883) DEBUG: textops [textops.c:1669]: hname_fixup(): using hdr type (9) instead of <Route> 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,SUBSCRIBE/65] 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing record_route() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [INVITE/1] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 7 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 7 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_send_reply() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,BYE,SUBSCRIBE,UPDATE/2121] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_on_branch() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,SUBSCRIBE,UPDATE/2113] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_on_reply() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [INVITE/1] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_on_failure() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_relay() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_reply_error() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing mf_process_maxfwd_header() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_send_reply() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sanity_check() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog() 0(8883) DEBUG: <core> [pvapi.c:419]: pv_spec_lookup(): PV <$si> is not in cache 0(8883) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$si] added in cache 0(8883) DEBUG: <core> [pvapi.c:419]: pv_spec_lookup(): PV <$sp> is not in cache 0(8883) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$sp] added in cache 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing has_totag() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing loose_route() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [BYE/8] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [ACK/4] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [NOTIFY/128] 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing record_route() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [SUBSCRIBE/64] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 3 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [ACK/4] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_check_trans() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_send_reply() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [REGISTER/32] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing setbflag() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing save() 0(8883) DEBUG: <core> [db.c:318]: db_do_init2(): connection 0x7f986e4655f0 not found in pool 0(8883) DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@localhost/kamailio 0(8883) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 0(8883) ERROR: <core> [db.c:322]: db_do_init2(): could not add connection to the pool 0(8883) ERROR: usrloc [dlist.c:635]: register_udomain(): failed to open database connection 0(8883) ERROR: registrar [reg_mod.c:545]: domain_fixup(): failed to register domain 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:628 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:631 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:633 ERROR: error -1 while trying to fix configuration 0(8883) DEBUG: tm [t_funcs.c:118]: tm_shutdown(): DEBUG: tm_shutdown : start 0(8883) DEBUG: tm [t_funcs.c:121]: tm_shutdown(): DEBUG: tm_shutdown : emptying hash table 0(8883) DEBUG: tm [t_funcs.c:123]: tm_shutdown(): DEBUG: tm_shutdown : removing semaphores 0(8883) DEBUG: tm [t_funcs.c:125]: tm_shutdown(): DEBUG: tm_shutdown : destroying tmcb lists 0(8883) DEBUG: tm [t_funcs.c:128]: tm_shutdown(): DEBUG: tm_shutdown : done 0(8883) DEBUG: <core> [mem/shm_mem.c:242]: shm_mem_destroy(): shm_mem_destroy 0(8883) DEBUG: <core> [mem/shm_mem.c:245]: shm_mem_destroy(): destroying the shared memory lock kamailio error, failed to start. umg@umg-desktop:~$
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p12... Sent from the Users mailing list archive at Nabble.com.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Thanks,
I installed Kamailio last version from
git clone --depth 1 git://git.sip-router.org/sip-router kamailio
then
apt-get install libmysqlclient-dev libssl-dev
Fine.
Then I tried
sudo apt-get install mysql-server Fine !!!!!!!!!!!!!!!!! Then
sudo service mysql restart
Fine!!!!
I got this error about Passwords
0(7493) DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@localhost/kamailio 0(7493) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Access denied for user 'kamailio'@'localhost' (using password: YES) 0(7493) ERROR: <core> [db.c:322]: db_do_init2(): could not add connection to the pool 0(7493) ERROR: usrloc [dlist.c:635]: register_udomain(): failed to open database connection 0(7493) ERROR: registrar [reg_mod.c:545]: domain_fixup(): failed to register domain 0(7493) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:628 0(7493) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:631 0(7493) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:633 ERROR: error -1 while trying to fix configuration 0(7493) DEBUG: tm [t_funcs.c:118]: tm_shutdown(): DEBUG: tm_shutdown : start 0(7493) DEBUG: tm [t_funcs.c:121]: tm_shutdown(): DEBUG: tm_shutdown : emptying hash table 0(7493) DEBUG: tm [t_funcs.c:123]: tm_shutdown(): DEBUG: tm_shutdown : removing semaphores 0(7493) DEBUG: tm [t_funcs.c:125]: tm_shutdown(): DEBUG: tm_shutdown : destroying tmcb lists 0(7493) DEBUG: tm [t_funcs.c:128]: tm_shutdown(): DEBUG: tm_shutdown : done 0(7493) DEBUG: <core> [mem/shm_mem.c:242]: shm_mem_destroy(): shm_mem_destroy 0(7493) DEBUG: <core> [mem/shm_mem.c:245]: shm_mem_destroy(): destroying the shared memory lock kamailio error, failed to start.
I changed the password in kamctlrc to match the password of MySql ,still the same Error driver error: Access denied for user 'kamailio'@'localhost' (using password: YES) In what file is the YES password setup?
Thanks again.
On Wed, Jul 24, 2013 at 1:58 PM, Daniel-Constantin Mierla-6 [via SIP Router] ml-node+s1086192n120225h94@n5.nabble.com wrote:
Hello,
the error is:
0(8883) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Is mysql server running? Is it installed from packages or sources? What about the client library, installed from sources or packages?
Cheers, Daniel
On 7/24/13 7:49 PM, jhandal wrote:
Hi All,
I installed the last version "Install And Maintain Kamailio Devel
Version
From GIT"
http://www.kamailio.org/wiki/install/devel/git
This is my Log,I will appreciate any ideas. 0(8881) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'core'
(num=49,
size=196) 0(8881) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'tcp' (num=26, size=104) 0(8881) DEBUG: <core> [timer.c:272]: init_timer(): init_timer:
starting
with *ticks=1148741861 0(8881) DEBUG: <core> [timer.c:314]: init_timer(): init_timer:
timer_list
between 0x7f9865264a20 and 0x7f98652a8a20 0(8881) INFO: <core> [tcp_main.c:4836]: init_tcp(): init_tcp: using epoll_lt as the io watch method (auto detected) 0(8883) DEBUG: <core> [daemonize.c:219]: enable_dumpable(): trying
enable
core dumping... 0(8883) DEBUG: <core> [daemonize.c:237]: enable_dumpable(): core
dumping is
enabled now (1)... 0(8883) DEBUG: <core> [daemonize.c:575]: set_core_dump(): core dump
limits
set to 18446744073709551615 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: db_mysql 0(8883) DEBUG: db_mysql [km_db_mysql.c:93]: kam_mysql_mod_init():
MySQL
client version is 5.5.31 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: mi_fifo 0(8883) DEBUG: mi_fifo [mi_fifo.c:124]: mi_mod_init(): testing mi_fifo existance ... 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
kex
0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [srid-51f00b9a-22b3-] (0 / 19) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
corex
0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
tm
0(8883) DEBUG: tm [tm.c:789]: mod_init(): TM - (sizeof cell=5448, sip_msg=1768) initializing... 0(8883) DEBUG: tm [callid.c:105]: init_callid(): Call-ID
initialization:
'4afe050751bd8ca9' 0(8883) DEBUG: tm [lock.c:87]: lock_initialize(): DEBUG:
lock_initialize:
lock initialization started 0(8883) DEBUG: tm [timer.c:226]: tm_init_timers(): tm: tm_init_timers: fr=480 fr_inv=1920 wait=80 delete=4 t1=500 t2=4000 max_inv_lifetime=2880 max_noninv_lifetime=512 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'tm' (num=36, size=168) 0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed 0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: a6a1c5f60faecf035a1ae5b6e96e979a 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
tmx
0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
sl
0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: b27e1a1d33761e85846fc98f5f3a7e58 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
rr
0(8883) DEBUG: <core> [sr_module.c:707]: find_mod_export_record(): find_export_record: <bind_ob> not found 0(8883) INFO: rr [../outbound/api.h:49]: ob_load_api(): Failed to
import
bind_ob 0(8883) INFO: rr [rr_mod.c:159]: mod_init(): outbound module not
available
0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
pv
0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: maxfwd 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'maxfwd'
(num=1,
size=4) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: usrloc 0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [ulcx-51f00b9a-22b3-] (0 / 19) 0(8883) INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size
512
0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/local/lib64/kamailio/modules/db_mysql.so] 0(8883) DEBUG: <core> [db.c:213]: db_bind_mod(): using db bind api for db_mysql 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: registrar 0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [uloc-51f00b9a-22b3-] (0 / 19) 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'registrar' (num=10, size=56) 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <ul_bind_usrloc> in module usrloc [/usr/local/lib64/kamailio/modules/usrloc.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: textops 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: siputils 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [usr_avp.c:895]: parse_avp_ident(): Parsing
's:rpid'
0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'siputils'
(num=1,
size=4) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
xlog
0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: sanity 0(8883) DEBUG: sanity [mod_sanity.c:103]: mod_init(): sanity
initializing
0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: sanity [mod_sanity.c:111]: mod_init(): parsing proxy requires string: 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
ctl
0(8883) DEBUG: ctl [ctl.c:242]: mod_init(): listening on: 0(8883) DEBUG: ctl [ctl.c:252]: mod_init(): [binrpc:unix
stream]
/tmp/kamailio_ctl 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: cfg_rpc 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: mi_rpc 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
acc
0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
auth
0(8883) DEBUG: auth [auth_mod.c:278]: mod_init(): auth module - initializing 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [usr_avp.c:895]: parse_avp_ident(): Parsing 'digest_challenge' 0(8883) INFO: auth [auth_mod.c:350]: mod_init(): auth: qop set, but nonce-count (nc_enabled) support disabled 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: auth_db 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/local/lib64/kamailio/modules/db_mysql.so] 0(8883) DEBUG: <core> [db.c:213]: db_bind_mod(): using db bind api for db_mysql 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_auth_s> in module auth [/usr/local/lib64/kamailio/modules/auth.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: debugger 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'dbg' (num=2, size=8) 0(8883) DEBUG: debugger [debugger_mod.c:139]: mod_init(): cfg
level_mode:0
hash_size:0 0(8883) DEBUG: <core> [main.c:2502]: main(): Expect (at least) 18 SER processes in your process list 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [CANCEL/2] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_check_trans()
0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_check_trans()
0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing remove_hf() 0(8883) DEBUG: textops [textops.c:1669]: hname_fixup(): using hdr type
(9)
instead of <Route> 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,SUBSCRIBE/65] 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
record_route()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [INVITE/1] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 7 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 7 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
sl_send_reply()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,BYE,SUBSCRIBE,UPDATE/2121] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_on_branch()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,SUBSCRIBE,UPDATE/2113] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_on_reply()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [INVITE/1] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_on_failure()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_relay() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
sl_reply_error()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing mf_process_maxfwd_header() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
sl_send_reply()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
sanity_check()
0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog() 0(8883) DEBUG: <core> [pvapi.c:419]: pv_spec_lookup(): PV <$si> is not
in
cache 0(8883) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$si] added
in
cache 0(8883) DEBUG: <core> [pvapi.c:419]: pv_spec_lookup(): PV <$sp> is not
in
cache 0(8883) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$sp] added
in
cache 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing has_totag() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
loose_route()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [BYE/8] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [ACK/4] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [NOTIFY/128] 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
record_route()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [SUBSCRIBE/64] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 3 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [ACK/4] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_check_trans()
0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
sl_send_reply()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method() 0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [REGISTER/32] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing setbflag() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing save() 0(8883) DEBUG: <core> [db.c:318]: db_do_init2(): connection
0x7f986e4655f0
not found in pool 0(8883) DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@localhost/kamailio 0(8883) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 0(8883) ERROR: <core> [db.c:322]: db_do_init2(): could not add
connection
to the pool 0(8883) ERROR: usrloc [dlist.c:635]: register_udomain():
failed
to open database connection 0(8883) ERROR: registrar [reg_mod.c:545]: domain_fixup(): failed to register domain 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:628 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:631 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:633 ERROR: error -1 while trying to fix configuration 0(8883) DEBUG: tm [t_funcs.c:118]: tm_shutdown(): DEBUG: tm_shutdown : start 0(8883) DEBUG: tm [t_funcs.c:121]: tm_shutdown(): DEBUG: tm_shutdown : emptying hash table 0(8883) DEBUG: tm [t_funcs.c:123]: tm_shutdown(): DEBUG: tm_shutdown : removing semaphores 0(8883) DEBUG: tm [t_funcs.c:125]: tm_shutdown(): DEBUG: tm_shutdown : destroying tmcb lists 0(8883) DEBUG: tm [t_funcs.c:128]: tm_shutdown(): DEBUG: tm_shutdown :
done
0(8883) DEBUG: <core> [mem/shm_mem.c:242]: shm_mem_destroy(): shm_mem_destroy 0(8883) DEBUG: <core> [mem/shm_mem.c:245]: shm_mem_destroy():
destroying
the shared memory lock kamailio error, failed to start. umg@umg-desktop:~$
-- View this message in context:
http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p12...
Sent from the Users mailing list archive at Nabble.com.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list [hidden email] http://user/SendEmail.jtp?type=node&node=120225&i=0 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list [hidden email] http://user/SendEmail.jtp?type=node&node=120225&i=1 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
If you reply to this email, your message will be added to the discussion below:
http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p12... To unsubscribe from Error in Running kamailio !!, click herehttp://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=27069&code=amhhbmRhbG5hdnlAZ21haWwuY29tfDI3MDY5fC0xMzg3NDM3NTk= . NAMLhttp://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
Kamailio not starting.odt (43K) http://sip-router.1086192.n5.nabble.com/attachment/120248/0/Kamailio%20not%20starting.odt
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p12... Sent from the Users mailing list archive at Nabble.com.
kamctlrc
## your SIP domain # SIP_DOMAIN=kamailio.org
## chrooted directory # $CHROOT_DIR="/path/to/chrooted/directory"
## database type: MYSQL, PGSQL, ORACLE, DB_BERKELEY, DBTEXT, or SQLITE # by default none is loaded # # If you want to setup a database with kamdbctl, you must at least specify # this parameter. DBENGINE=MYSQL
## database host DBHOST=localhost:5060
## database name (for ORACLE this is TNS name) DBNAME=kamailio
# database path used by dbtext, db_berkeley or sqlite # DB_PATH="/usr/local/etc/kamailio/dbtext"
## database read/write user DBRWUSER="kamailiorw"
## password for database read/write user DBRWPW="YES"
## database read only user DBROUSER="kamailioro"
## password for database read only user DBROPW="YES"
## database access host (from where is kamctl used) DBACCESSHOST=192.168.1.33
## database super user (for ORACLE this is 'scheme-creator' user) DBROOTUSER="root"
# user name column # USERCOL="username"
# SQL definitions # If you change this definitions here, then you must change them # in db/schema/entities.xml too. # FIXME
# FOREVER="2030-05-28 21:32:15" # DEFAULT_ALIASES_EXPIRES=$FOREVER # DEFAULT_Q="1.0" # DEFAULT_CALLID="Default-Call-ID" # DEFAULT_CSEQ="13" # DEFAULT_LOCATION_EXPIRES=$FOREVER
# Program to calculate a message-digest fingerprint # MD5="md5sum"
# awk tool # AWK="awk"
# If you use a system with a grep and egrep that is not 100% gnu grep compatible, # e.g. solaris, install the gnu grep (ggrep) and specify this below. # # grep tool # GREP="grep"
# egrep tool # EGREP="egrep"
# sed tool # SED="sed"
# tail tool # LAST_LINE="tail -n 1"
# expr tool # EXPR="expr"
# Describe what additional tables to install. Valid values for the variables # below are yes/no/ask. With ask (default) it will interactively ask the user # for an answer, while yes/no allow for automated, unassisted installs. #
# If to install tables for the modules in the EXTRA_MODULES variable. # INSTALL_EXTRA_TABLES=ask
# If to install presence related tables. # INSTALL_PRESENCE_TABLES=ask
# Define what module tables should be installed. # If you use the postgres database and want to change the installed tables, then you # must also adjust the STANDARD_TABLES or EXTRA_TABLES variable accordingly in the # kamdbctl.base script.
# Kamailio standard modules # STANDARD_MODULES="standard acc lcr domain group permissions registrar usrloc msilo # alias_db uri_db speeddial avpops auth_db pdt dialog dispatcher # dialplan"
# Kamailio extra modules # EXTRA_MODULES="imc cpl siptrace domainpolicy carrierroute userblacklist htable purple sca"
## type of aliases used: DB - database aliases; UL - usrloc aliases ## - default: none # ALIASES_TYPE="DB"
## control engine: FIFO or UNIXSOCK ## - default FIFO # CTLENGINE="FIFO"
## path to FIFO file # OSER_FIFO="FIFO"
## check ACL names; default on (1); off (0) # VERIFY_ACL=1
## ACL names - if VERIFY_ACL is set, only the ACL names from below list ## are accepted # ACL_GROUPS="local ld int voicemail free-pstn"
## verbose - debug purposes - default '0' # VERBOSE=1
## do (1) or don't (0) store plaintext passwords ## in the subscriber table - default '1' # STORE_PLAINTEXT_PW=0
## Kamailio START Options ## PID file path - default is: /var/run/kamailio.pid # PID_FILE=/var/run/kamailio.pid
## Extra start options - default is: not set # example: start Kamailio with 64MB share memory: STARTOPTIONS="-m 64" # STARTOPTIONS=
On Thu, Jul 25, 2013 at 9:58 AM, J Handal M jhandalnavy@gmail.com wrote:
Thanks,
I installed Kamailio last version from
git clone --depth 1 git://git.sip-router.org/sip-router kamailio
then
apt-get install libmysqlclient-dev libssl-dev
Fine.
Then I tried
sudo apt-get install mysql-server Fine !!!!!!!!!!!!!!!!! Then
sudo service mysql restart
Fine!!!!
I got this error about Passwords
0(7493) DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@localhost/kamailio 0(7493) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Access denied for user 'kamailio'@'localhost' (using password: YES) 0(7493) ERROR: <core> [db.c:322]: db_do_init2(): could not add connection to the pool 0(7493) ERROR: usrloc [dlist.c:635]: register_udomain(): failed to open database connection 0(7493) ERROR: registrar [reg_mod.c:545]: domain_fixup(): failed to register domain 0(7493) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:628 0(7493) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:631 0(7493) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:633
ERROR: error -1 while trying to fix configuration 0(7493) DEBUG: tm [t_funcs.c:118]: tm_shutdown(): DEBUG: tm_shutdown : start 0(7493) DEBUG: tm [t_funcs.c:121]: tm_shutdown(): DEBUG: tm_shutdown : emptying hash table 0(7493) DEBUG: tm [t_funcs.c:123]: tm_shutdown(): DEBUG: tm_shutdown : removing semaphores 0(7493) DEBUG: tm [t_funcs.c:125]: tm_shutdown(): DEBUG: tm_shutdown : destroying tmcb lists 0(7493) DEBUG: tm [t_funcs.c:128]: tm_shutdown(): DEBUG: tm_shutdown : done 0(7493) DEBUG: <core> [mem/shm_mem.c:242]: shm_mem_destroy(): shm_mem_destroy 0(7493) DEBUG: <core> [mem/shm_mem.c:245]: shm_mem_destroy(): destroying the shared memory lock
kamailio error, failed to start.
I changed the password in kamctlrc to match the password of MySql ,still the same Error driver error: Access denied for user 'kamailio'@'localhost' (using password: YES) In what file is the YES password setup?
Thanks again.
On Wed, Jul 24, 2013 at 1:58 PM, Daniel-Constantin Mierla-6 [via SIP Router] ml-node+s1086192n120225h94@n5.nabble.com wrote:
Hello,
the error is:
0(8883) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Is mysql server running? Is it installed from packages or sources? What about the client library, installed from sources or packages?
Cheers, Daniel
On 7/24/13 7:49 PM, jhandal wrote:
Hi All,
I installed the last version "Install And Maintain Kamailio Devel
Version
From GIT"
http://www.kamailio.org/wiki/install/devel/git
This is my Log,I will appreciate any ideas. 0(8881) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'core'
(num=49,
size=196) 0(8881) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'tcp'
(num=26,
size=104) 0(8881) DEBUG: <core> [timer.c:272]: init_timer(): init_timer:
starting
with *ticks=1148741861 0(8881) DEBUG: <core> [timer.c:314]: init_timer(): init_timer:
timer_list
between 0x7f9865264a20 and 0x7f98652a8a20 0(8881) INFO: <core> [tcp_main.c:4836]: init_tcp(): init_tcp: using epoll_lt as the io watch method (auto detected) 0(8883) DEBUG: <core> [daemonize.c:219]: enable_dumpable(): trying
enable
core dumping... 0(8883) DEBUG: <core> [daemonize.c:237]: enable_dumpable(): core
dumping is
enabled now (1)... 0(8883) DEBUG: <core> [daemonize.c:575]: set_core_dump(): core dump
limits
set to 18446744073709551615 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: db_mysql 0(8883) DEBUG: db_mysql [km_db_mysql.c:93]: kam_mysql_mod_init():
MySQL
client version is 5.5.31 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: mi_fifo 0(8883) DEBUG: mi_fifo [mi_fifo.c:124]: mi_mod_init(): testing
mi_fifo
existance ... 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
kex
0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [srid-51f00b9a-22b3-] (0 / 19) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
corex
0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
tm
0(8883) DEBUG: tm [tm.c:789]: mod_init(): TM - (sizeof cell=5448, sip_msg=1768) initializing... 0(8883) DEBUG: tm [callid.c:105]: init_callid(): Call-ID
initialization:
'4afe050751bd8ca9' 0(8883) DEBUG: tm [lock.c:87]: lock_initialize(): DEBUG:
lock_initialize:
lock initialization started 0(8883) DEBUG: tm [timer.c:226]: tm_init_timers(): tm:
tm_init_timers:
fr=480 fr_inv=1920 wait=80 delete=4 t1=500 t2=4000
max_inv_lifetime=2880
max_noninv_lifetime=512 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'tm' (num=36, size=168) 0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed 0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: a6a1c5f60faecf035a1ae5b6e96e979a 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
tmx
0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
sl
0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5 calculated: b27e1a1d33761e85846fc98f5f3a7e58 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
rr
0(8883) DEBUG: <core> [sr_module.c:707]: find_mod_export_record(): find_export_record: <bind_ob> not found 0(8883) INFO: rr [../outbound/api.h:49]: ob_load_api(): Failed to
import
bind_ob 0(8883) INFO: rr [rr_mod.c:159]: mod_init(): outbound module not
available
0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
pv
0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: maxfwd 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'maxfwd'
(num=1,
size=4) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: usrloc 0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [ulcx-51f00b9a-22b3-] (0 / 19) 0(8883) INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size
512
0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/local/lib64/kamailio/modules/db_mysql.so] 0(8883) DEBUG: <core> [db.c:213]: db_bind_mod(): using db bind api
for
db_mysql 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: registrar 0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is [uloc-51f00b9a-22b3-] (0 / 19) 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'registrar' (num=10, size=56) 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <ul_bind_usrloc> in module usrloc [/usr/local/lib64/kamailio/modules/usrloc.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: textops 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: siputils 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [usr_avp.c:895]: parse_avp_ident(): Parsing
's:rpid'
0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'siputils'
(num=1,
size=4) 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
xlog
0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: sanity 0(8883) DEBUG: sanity [mod_sanity.c:103]: mod_init(): sanity
initializing
0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: sanity [mod_sanity.c:111]: mod_init(): parsing proxy requires string: 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
ctl
0(8883) DEBUG: ctl [ctl.c:242]: mod_init(): listening on: 0(8883) DEBUG: ctl [ctl.c:252]: mod_init(): [binrpc:unix
stream]
/tmp/kamailio_ctl 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: cfg_rpc 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: mi_rpc 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
acc
0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
auth
0(8883) DEBUG: auth [auth_mod.c:278]: mod_init(): auth module - initializing 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so] 0(8883) DEBUG: <core> [usr_avp.c:895]: parse_avp_ident(): Parsing 'digest_challenge' 0(8883) INFO: auth [auth_mod.c:350]: mod_init(): auth: qop set, but nonce-count (nc_enabled) support disabled 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: auth_db 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/local/lib64/kamailio/modules/db_mysql.so] 0(8883) DEBUG: <core> [db.c:213]: db_bind_mod(): using db bind api
for
db_mysql 0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record(): find_export_record: found <bind_auth_s> in module auth [/usr/local/lib64/kamailio/modules/auth.so] 0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: debugger 0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'dbg' (num=2, size=8) 0(8883) DEBUG: debugger [debugger_mod.c:139]: mod_init(): cfg
level_mode:0
hash_size:0 0(8883) DEBUG: <core> [main.c:2502]: main(): Expect (at least) 18 SER processes in your process list 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [CANCEL/2] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_check_trans()
0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_check_trans()
0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
remove_hf()
0(8883) DEBUG: textops [textops.c:1669]: hname_fixup(): using hdr
type (9)
instead of <Route> 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,SUBSCRIBE/65] 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
record_route()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [INVITE/1] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 7 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 7 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
sl_send_reply()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,BYE,SUBSCRIBE,UPDATE/2121] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_on_branch()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for methods [INVITE,SUBSCRIBE,UPDATE/2113] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_on_reply()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [INVITE/1] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_on_failure()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_relay() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
sl_reply_error()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing mf_process_maxfwd_header() 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
sl_send_reply()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
sanity_check()
0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog() 0(8883) DEBUG: <core> [pvapi.c:419]: pv_spec_lookup(): PV <$si> is
not in
cache 0(8883) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$si] added
in
cache 0(8883) DEBUG: <core> [pvapi.c:419]: pv_spec_lookup(): PV <$sp> is
not in
cache 0(8883) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$sp] added
in
cache 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
has_totag()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
loose_route()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [BYE/8] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [ACK/4] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [NOTIFY/128] 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
record_route()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [SUBSCRIBE/64] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 3 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [ACK/4] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
t_check_trans()
0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
sl_send_reply()
0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
is_method()
0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for method [REGISTER/32] 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing setbflag() 0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4 0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing save() 0(8883) DEBUG: <core> [db.c:318]: db_do_init2(): connection
0x7f986e4655f0
not found in pool 0(8883) DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@localhost/kamailio 0(8883) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 0(8883) ERROR: <core> [db.c:322]: db_do_init2(): could not add
connection
to the pool 0(8883) ERROR: usrloc [dlist.c:635]: register_udomain():
failed
to open database connection 0(8883) ERROR: registrar [reg_mod.c:545]: domain_fixup(): failed to register domain 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:628 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:631 0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:633 ERROR: error -1 while trying to fix configuration 0(8883) DEBUG: tm [t_funcs.c:118]: tm_shutdown(): DEBUG: tm_shutdown
:
start 0(8883) DEBUG: tm [t_funcs.c:121]: tm_shutdown(): DEBUG: tm_shutdown
:
emptying hash table 0(8883) DEBUG: tm [t_funcs.c:123]: tm_shutdown(): DEBUG: tm_shutdown
:
removing semaphores 0(8883) DEBUG: tm [t_funcs.c:125]: tm_shutdown(): DEBUG: tm_shutdown
:
destroying tmcb lists 0(8883) DEBUG: tm [t_funcs.c:128]: tm_shutdown(): DEBUG: tm_shutdown
: done
0(8883) DEBUG: <core> [mem/shm_mem.c:242]: shm_mem_destroy(): shm_mem_destroy 0(8883) DEBUG: <core> [mem/shm_mem.c:245]: shm_mem_destroy():
destroying
the shared memory lock kamailio error, failed to start. umg@umg-desktop:~$
-- View this message in context:
http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p12...
Sent from the Users mailing list archive at Nabble.com.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list [hidden email] http://user/SendEmail.jtp?type=node&node=120225&i=0 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list [hidden email] http://user/SendEmail.jtp?type=node&node=120225&i=1 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
If you reply to this email, your message will be added to the discussion below:
http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p12... To unsubscribe from Error in Running kamailio !!, click herehttp://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=27069&code=amhhbmRhbG5hdnlAZ21haWwuY29tfDI3MDY5fC0xMzg3NDM3NTk= . NAMLhttp://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p12... Sent from the Users mailing list archive at Nabble.com.