[SR-Users] kamailio error, failed to start ubuntu precisw 12.04LTS

jhandal jhandalnavy at gmail.com
Thu Jul 25 16:59:13 CEST 2013


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 at 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 at umg-desktop:~$
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p120222.html
> > 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-tp27069p120225.html
>  To unsubscribe from Error in Running kamailio !!, click here<http://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=27069&code=amhhbmRhbG5hdnlAZ21haWwuY29tfDI3MDY5fC0xMzg3NDM3NTk=>
> .
> NAML<http://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-tp27069p120248.html
Sent from the Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130725/b3d527a8/attachment-0001.html>


More information about the sr-users mailing list