<div dir="ltr"> kamctlrc<br><br><br>## your SIP domain<br># SIP_DOMAIN=<a href="http://kamailio.org" target="_top" rel="nofollow" link="external">kamailio.org</a><br><br>## chrooted directory<br># $CHROOT_DIR="/path/to/chrooted/directory"<br><br>## database type: MYSQL, PGSQL, ORACLE, DB_BERKELEY, DBTEXT, or SQLITE<br>
# by default none is loaded<br>#<br># If you want to setup a database with kamdbctl, you must at least specify<br># this parameter.<br>DBENGINE=MYSQL<br><br>## database host<br>DBHOST=localhost:5060<br><br>## database name (for ORACLE this is TNS name)<br>
DBNAME=kamailio<br><br># database path used by dbtext, db_berkeley or sqlite<br># DB_PATH="/usr/local/etc/kamailio/dbtext"<br><br>## database read/write user<br>DBRWUSER="kamailiorw"<br><br>#<span style="color:rgb(255,0,0)"># password for database read/write user</span><br style="color:rgb(255,0,0)">
<span style="color:rgb(255,0,0)">DBRWPW="YES"</span><br><br>## database read only user<br>DBROUSER="kamailioro"<br><br>## password for database read only user<br>DBROPW="YES"<br><br>## database access host (from where is kamctl used)<br>
 DBACCESSHOST=192.168.1.33<br><br>## database super user (for ORACLE this is 'scheme-creator' user)<br> DBROOTUSER="root"<br><br># user name column<br># USERCOL="username"<br><br><br># SQL definitions<br>
# If you change this definitions here, then you must change them <br># in db/schema/entities.xml too.<br># FIXME<br><br># FOREVER="2030-05-28 21:32:15"<br># DEFAULT_ALIASES_EXPIRES=$FOREVER<br># DEFAULT_Q="1.0"<br>
# DEFAULT_CALLID="Default-Call-ID"<br># DEFAULT_CSEQ="13"<br># DEFAULT_LOCATION_EXPIRES=$FOREVER<br><br><br># Program to calculate a message-digest fingerprint <br># MD5="md5sum"<br><br># awk tool<br>
# AWK="awk"<br><br># If you use a system with a grep and egrep that is not 100% gnu grep compatible,<br># e.g. solaris, install the gnu grep (ggrep) and specify this below.<br>#<br># grep tool<br># GREP="grep"<br>
<br># egrep tool<br># EGREP="egrep"<br><br># sed tool<br># SED="sed"<br><br># tail tool<br># LAST_LINE="tail -n 1"<br><br># expr tool<br># EXPR="expr"<br><br><br># Describe what additional tables to install. Valid values for the variables<br>
# below are yes/no/ask. With ask (default) it will interactively ask the user<br># for an answer, while yes/no allow for automated, unassisted installs.<br>#<br><br># If to install tables for the modules in the EXTRA_MODULES variable.<br>
# INSTALL_EXTRA_TABLES=ask<br><br># If to install presence related tables.<br># INSTALL_PRESENCE_TABLES=ask<br><br># Define what module tables should be installed.<br># If you use the postgres database and want to change the installed tables, then you<br>
# must also adjust the STANDARD_TABLES or EXTRA_TABLES variable accordingly in the<br># kamdbctl.base script.<br><br># Kamailio standard modules<br># STANDARD_MODULES="standard acc lcr domain group permissions registrar usrloc msilo<br>
#                   alias_db uri_db speeddial avpops auth_db pdt dialog dispatcher<br>#                   dialplan"<br><br># Kamailio extra modules<br># EXTRA_MODULES="imc cpl siptrace domainpolicy carrierroute userblacklist htable purple sca"<br>
<br><br>## type of aliases used: DB - database aliases; UL - usrloc aliases<br>## - default: none<br># ALIASES_TYPE="DB"<br><br>## control engine: FIFO or UNIXSOCK<br>## - default FIFO<br># CTLENGINE="FIFO"<br>
<br>## path to FIFO file<br># OSER_FIFO="FIFO"<br><br>## check ACL names; default on (1); off (0)<br># VERIFY_ACL=1<br><br>## ACL names - if VERIFY_ACL is set, only the ACL names from below list<br>## are accepted<br>
# ACL_GROUPS="local ld int voicemail free-pstn"<br><br>## verbose - debug purposes - default '0'<br># VERBOSE=1<br><br>## do (1) or don't (0) store plaintext passwords<br>## in the subscriber table - default '1'<br>
# STORE_PLAINTEXT_PW=0<br><br>## Kamailio START Options<br>## PID file path - default is: /var/run/kamailio.pid<br># PID_FILE=/var/run/kamailio.pid<br><br>## Extra start options - default is: not set<br># example: start Kamailio with 64MB share memory: STARTOPTIONS="-m 64"<br>
# STARTOPTIONS=<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 25, 2013 at 9:58 AM, J Handal M <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=120256&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks,<br><br>I installed Kamailio last version from <br><br><pre> git clone --depth 1 git://<a href="http://git.sip-router.org/sip-router" target="_blank" rel="nofollow" link="external">git.sip-router.org/sip-router</a> kamailio</pre>
<br>
</div>then<br><div><pre>apt-get install libmysqlclient-dev libssl-dev<br><br></pre><pre>Fine.<br><br>  </pre><pre>Then I tried <br></pre><div>sudo apt-get install mysql-server<br>
</div>Fine !!!!!!!!!!!!!!!!!<br></div><div>Then<br><pre><span>sudo service mysql restart<br></span></pre><pre><span>Fine!!!!<br></span></pre><br></div><div><pre>I got this error about Passwords<br>
</pre><pre><br></pre>0(7493) DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@localhost/kamailio<br> <span style="color:rgb(255,0,0)">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)</span><br style="color:rgb(255,0,0)">

<span style="color:rgb(255,0,0)"> 0(7493) ERROR: <core> [db.c:322]: db_do_init2(</span>): could not add connection to the pool 0(7493) ERROR: usrloc [dlist.c:635]: register_udomain(): failed to open database connection<br>

 0(7493) ERROR: registrar [reg_mod.c:545]: domain_fixup(): failed to register domain<br> 0(7493) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:628<br>

 0(7493) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:631<br> 0(7493) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:633<div class="im">
<br>
ERROR: error -1 while trying to fix configuration<br></div> 0(7493) DEBUG: tm [t_funcs.c:118]: tm_shutdown(): DEBUG: tm_shutdown : start<br> 0(7493) DEBUG: tm [t_funcs.c:121]: tm_shutdown(): DEBUG: tm_shutdown : emptying hash table<br>

 0(7493) DEBUG: tm [t_funcs.c:123]: tm_shutdown(): DEBUG: tm_shutdown : removing semaphores<br> 0(7493) DEBUG: tm [t_funcs.c:125]: tm_shutdown(): DEBUG: tm_shutdown : destroying tmcb lists<br> 0(7493) DEBUG: tm [t_funcs.c:128]: tm_shutdown(): DEBUG: tm_shutdown : done<br>

 0(7493) DEBUG: <core> [mem/shm_mem.c:242]: shm_mem_destroy(): shm_mem_destroy<br> 0(7493) DEBUG: <core> [mem/shm_mem.c:245]: shm_mem_destroy(): destroying the shared memory lock<div class="im"><br>kamailio error, failed to start.<br>

</div></div><div><br></div><div><span style="color:rgb(255,0,0)">I changed the<span style="color:rgb(0,255,0)"> password in kamctlrc</span> to match the password of MySql ,still the same Error</span><br style="color:rgb(255,0,0)">

<span style="color:rgb(255,0,0)"> driver error: Access denied for user 'kamailio'@'localhost' (using password: YES)</span><br style="color:rgb(255,0,0)"></div><div>In what file is the YES password setup?<br>

<br></div><div>Thanks again.<br><br></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 1:58 PM, Daniel-Constantin Mierla-6 [via SIP Router] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=120256&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>

<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        Hello,
<br><br>the error is:
<br><div><br>0(8883) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection():
<br>driver error: Can't connect to local MySQL server through socket
<br>'/var/run/mysqld/mysqld.sock' (2)
<br><br></div>Is mysql server running? Is it installed from packages or sources? What about the client library, installed from sources or packages?
<br><br>Cheers,
<br>Daniel
<br><div><div><br><br>On 7/24/13 7:49 PM, jhandal wrote:
</div></div><div><div><div><div class='shrinkable-quote'><br>>   Hi All,
<br>>
<br>> I installed  the last version  "Install And Maintain Kamailio Devel Version
<br>>  From GIT"
<br>>
<br>> <a href="http://www.kamailio.org/wiki/install/devel/git" rel="nofollow" link="external" target="_blank">http://www.kamailio.org/wiki/install/devel/git</a><br>>
<br>> This is my Log,I will appreciate any ideas.
<br>>   0(8881) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG:
<br>> register_cfg_def(): new config group has been registered: 'core' (num=49,
<br>> size=196)
<br>>   0(8881) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG:
<br>> register_cfg_def(): new config group has been registered: 'tcp' (num=26,
<br>> size=104)
<br>>   0(8881) DEBUG: <core> [timer.c:272]: init_timer(): init_timer: starting
<br>> with *ticks=1148741861
<br>>   0(8881) DEBUG: <core> [timer.c:314]: init_timer(): init_timer: timer_list
<br>> between 0x7f9865264a20 and 0x7f98652a8a20
<br>>   0(8881) INFO: <core> [tcp_main.c:4836]: init_tcp(): init_tcp: using
<br>> epoll_lt as the io watch method (auto detected)
<br>>   0(8883) DEBUG: <core> [daemonize.c:219]: enable_dumpable(): trying enable
<br>> core dumping...
<br>>   0(8883) DEBUG: <core> [daemonize.c:237]: enable_dumpable(): core dumping is
<br>> enabled now (1)...
<br>>   0(8883) DEBUG: <core> [daemonize.c:575]: set_core_dump(): core dump limits
<br>> set to 18446744073709551615
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> db_mysql
<br>>   0(8883) DEBUG: db_mysql [km_db_mysql.c:93]: kam_mysql_mod_init(): MySQL
<br>> client version is 5.5.31
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> mi_fifo
<br>>   0(8883) DEBUG: mi_fifo [mi_fifo.c:124]: mi_mod_init(): testing mi_fifo
<br>> existance ...
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: kex
<br>>   0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is
<br>> [srid-51f00b9a-22b3-] (0 / 19)
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: corex
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: tm
<br>>   0(8883) DEBUG: tm [tm.c:789]: mod_init(): TM - (sizeof cell=5448,
<br>> sip_msg=1768) initializing...
<br>>   0(8883) DEBUG: tm [callid.c:105]: init_callid(): Call-ID initialization:
<br>> '4afe050751bd8ca9'
<br>>   0(8883) DEBUG: tm [lock.c:87]: lock_initialize(): DEBUG: lock_initialize:
<br>> lock initialization started
<br>>   0(8883) DEBUG: tm [timer.c:226]: tm_init_timers(): tm: tm_init_timers:
<br>> fr=480 fr_inv=1920 wait=80 delete=4 t1=500 t2=4000 max_inv_lifetime=2880
<br>> max_noninv_lifetime=512
<br>>   0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG:
<br>> register_cfg_def(): new config group has been registered: 'tm' (num=36,
<br>> size=168)
<br>>   0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5
<br>> calculated: 533cb9e91f4b999cf76861cbb9ed54ed
<br>>   0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5
<br>> calculated: a6a1c5f60faecf035a1ae5b6e96e979a
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: tmx
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <load_tm> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_newtran> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_relay_to_tcp> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_relay_to_udp> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_relay> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_forward_nonack> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_release> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: sl
<br>>   0(8883) DEBUG: <core> [md5utils.c:67]: MD5StringArray(): DEBUG: MD5
<br>> calculated: b27e1a1d33761e85846fc98f5f3a7e58
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <load_tm> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_newtran> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_relay_to_tcp> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_relay_to_udp> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_relay> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_forward_nonack> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_release> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: rr
<br>>   0(8883) DEBUG: <core> [sr_module.c:707]: find_mod_export_record():
<br>> find_export_record: <bind_ob> not found
<br>>   0(8883) INFO: rr [../outbound/api.h:49]: ob_load_api(): Failed to import
<br>> bind_ob
<br>>   0(8883) INFO: rr [rr_mod.c:159]: mod_init(): outbound module not available
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: pv
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> maxfwd
<br>>   0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG:
<br>> register_cfg_def(): new config group has been registered: 'maxfwd' (num=1,
<br>> size=4)
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> usrloc
<br>>   0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is
<br>> [ulcx-51f00b9a-22b3-] (0 / 19)
<br>>   0(8883) INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size 512
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <db_bind_api> in module db_mysql
<br>> [/usr/local/lib64/kamailio/modules/db_mysql.so]
<br>>   0(8883) DEBUG: <core> [db.c:213]: db_bind_mod(): using db bind api for
<br>> db_mysql
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> registrar
<br>>   0(8883) DEBUG: <core> [sruid.c:100]: sruid_init(): root for sruid is
<br>> [uloc-51f00b9a-22b3-] (0 / 19)
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <bind_sl> in module sl
<br>> [/usr/local/lib64/kamailio/modules/sl.so]
<br>>   0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG:
<br>> register_cfg_def(): new config group has been registered: 'registrar'
<br>> (num=10, size=56)
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <ul_bind_usrloc> in module usrloc
<br>> [/usr/local/lib64/kamailio/modules/usrloc.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> textops
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> siputils
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <bind_sl> in module sl
<br>> [/usr/local/lib64/kamailio/modules/sl.so]
<br>>   0(8883) DEBUG: <core> [usr_avp.c:895]: parse_avp_ident(): Parsing 's:rpid'
<br>>   0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG:
<br>> register_cfg_def(): new config group has been registered: 'siputils' (num=1,
<br>> size=4)
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: xlog
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> sanity
<br>>   0(8883) DEBUG: sanity [mod_sanity.c:103]: mod_init(): sanity initializing
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <bind_sl> in module sl
<br>> [/usr/local/lib64/kamailio/modules/sl.so]
<br>>   0(8883) DEBUG: sanity [mod_sanity.c:111]: mod_init(): parsing proxy
<br>> requires string:
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: ctl
<br>>   0(8883) DEBUG: ctl [ctl.c:242]: mod_init(): listening on:
<br>>   0(8883) DEBUG: ctl [ctl.c:252]: mod_init():         [binrpc:unix stream]
<br>> /tmp/kamailio_ctl
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> cfg_rpc
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> mi_rpc
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: acc
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <load_tm> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_newtran> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_relay_to_tcp> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_relay_to_udp> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_relay> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_forward_nonack> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <t_release> in module tm
<br>> [/usr/local/lib64/kamailio/modules/tm.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod: auth
<br>>   0(8883) DEBUG: auth [auth_mod.c:278]: mod_init(): auth module -
<br>> initializing
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <bind_sl> in module sl
<br>> [/usr/local/lib64/kamailio/modules/sl.so]
<br>>   0(8883) DEBUG: <core> [usr_avp.c:895]: parse_avp_ident(): Parsing
<br>> 'digest_challenge'
<br>>   0(8883) INFO: auth [auth_mod.c:350]: mod_init(): auth: qop set, but
<br>> nonce-count (nc_enabled) support disabled
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> auth_db
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <db_bind_api> in module db_mysql
<br>> [/usr/local/lib64/kamailio/modules/db_mysql.so]
<br>>   0(8883) DEBUG: <core> [db.c:213]: db_bind_mod(): using db bind api for
<br>> db_mysql
<br>>   0(8883) DEBUG: <core> [sr_module.c:701]: find_mod_export_record():
<br>> find_export_record: found <bind_auth_s> in module auth
<br>> [/usr/local/lib64/kamailio/modules/auth.so]
<br>>   0(8883) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG: init_mod:
<br>> debugger
<br>>   0(8883) DEBUG: <core> [cfg/cfg.c:178]: cfg_declare(): DEBUG:
<br>> register_cfg_def(): new config group has been registered: 'dbg' (num=2,
<br>> size=8)
<br>>   0(8883) DEBUG: debugger [debugger_mod.c:139]: mod_init(): cfg level_mode:0
<br>> hash_size:0
<br>>   0(8883) DEBUG: <core> [main.c:2502]: main(): Expect (at least) 18 SER
<br>> processes in your process list
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for
<br>> method [CANCEL/2]
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_check_trans()
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_check_trans()
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing remove_hf()
<br>>   0(8883) DEBUG: textops [textops.c:1669]: hname_fixup(): using hdr type (9)
<br>> instead of <Route>
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for
<br>> methods [INVITE,SUBSCRIBE/65]
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing record_route()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for
<br>> method [INVITE/1]
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 7
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 7
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_send_reply()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for
<br>> methods [INVITE,BYE,SUBSCRIBE,UPDATE/2121]
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set()
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_on_branch()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1746]: fixup_method(): using id for
<br>> methods [INVITE,SUBSCRIBE,UPDATE/2113]
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set()
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_on_reply()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for
<br>> method [INVITE/1]
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_is_set()
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_on_failure()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_relay()
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_reply_error()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing
<br>> mf_process_maxfwd_header()
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_send_reply()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sanity_check()
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()
<br>>   0(8883) DEBUG: <core> [pvapi.c:419]: pv_spec_lookup(): PV <$si> is not in
<br>> cache
<br>>   0(8883) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$si] added in
<br>> cache
<br>>   0(8883) DEBUG: <core> [pvapi.c:419]: pv_spec_lookup(): PV <$sp> is not in
<br>> cache
<br>>   0(8883) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$sp] added in
<br>> cache
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing has_totag()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing loose_route()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for
<br>> method [BYE/8]
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for
<br>> method [ACK/4]
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for
<br>> method [NOTIFY/128]
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing record_route()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for
<br>> method [SUBSCRIBE/64]
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 3
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for
<br>> method [ACK/4]
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing t_check_trans()
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing sl_send_reply()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing is_method()
<br>>   0(8883) DEBUG: textops [textops.c:1753]: fixup_method(): using id for
<br>> method [REGISTER/32]
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing setbflag()
<br>>   0(8883) DEBUG: <core> [rvalue.c:2857]: fix_rval(): RV fixing type 4
<br>>   0(8883) DEBUG: <core> [route.c:928]: fix_actions(): fixing save()
<br>>   0(8883) DEBUG: <core> [db.c:318]: db_do_init2(): connection 0x7f986e4655f0
<br>> not found in pool
<br>>   0(8883) DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection():
<br>> opening connection: mysql://xxxx:xxxx@localhost/kamailio
<br>>   0(8883) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection():
<br>> driver error: Can't connect to local MySQL server through socket
<br>> '/var/run/mysqld/mysqld.sock' (2)
<br>>   0(8883) ERROR: <core> [db.c:322]: db_do_init2(): could not add connection
<br>> to the pool 0(8883) ERROR: usrloc [dlist.c:635]: register_udomain(): failed
<br>> to open database connection
<br>>   0(8883) ERROR: registrar [reg_mod.c:545]: domain_fixup(): failed to
<br>> register domain
<br>>   0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed
<br>> (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:628
<br>>   0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed
<br>> (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:631
<br>>   0(8883) ERROR: <core> [route.c:1215]: fix_actions(): fixing failed
<br>> (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:633
<br>> ERROR: error -1 while trying to fix configuration
<br>>   0(8883) DEBUG: tm [t_funcs.c:118]: tm_shutdown(): DEBUG: tm_shutdown :
<br>> start
<br>>   0(8883) DEBUG: tm [t_funcs.c:121]: tm_shutdown(): DEBUG: tm_shutdown :
<br>> emptying hash table
<br>>   0(8883) DEBUG: tm [t_funcs.c:123]: tm_shutdown(): DEBUG: tm_shutdown :
<br>> removing semaphores
<br>>   0(8883) DEBUG: tm [t_funcs.c:125]: tm_shutdown(): DEBUG: tm_shutdown :
<br>> destroying tmcb lists
<br>>   0(8883) DEBUG: tm [t_funcs.c:128]: tm_shutdown(): DEBUG: tm_shutdown : done
<br>>   0(8883) DEBUG: <core> [mem/shm_mem.c:242]: shm_mem_destroy():
<br>> shm_mem_destroy
<br>>   0(8883) DEBUG: <core> [mem/shm_mem.c:245]: shm_mem_destroy(): destroying
<br>> the shared memory lock
<br>> kamailio error, failed to start.
<br>> umg@umg-desktop:~$
<br>>
<br>>
<br>>
<br>>
<br>>
</div></div></div>> --
<br>> View this message in context: <a href="http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p120222.html" rel="nofollow" link="external" target="_blank">http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p120222.html</a><br>

> Sent from the Users mailing list archive at Nabble.com.
<br>>
<br>> _______________________________________________
<br>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<br>> <a href="http://user/SendEmail.jtp?type=node&node=120225&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="nofollow" link="external" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></div><br>-- 
<br>Daniel-Constantin Mierla - <a href="http://www.asipto.com" rel="nofollow" link="external" target="_blank">http://www.asipto.com</a><br><a href="http://twitter.com/#%21/miconda" rel="nofollow" link="external" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" rel="nofollow" link="external" target="_blank">http://www.linkedin.com/in/miconda</a><br>

<br><br>_______________________________________________
<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=120225&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="nofollow" link="external" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div>
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p120225.html" target="_blank" rel="nofollow" link="external">http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p120225.html</a>
        </div><div><div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Error in Running kamailio !!, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>


                <a href="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" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://sip-router.1086192.n5.nabble.com/Error-in-Running-kamailio-tp27069p120256.html">Re: kamailio error, failed to start ubuntu precisw 12.04LTS</a><br/>
Sent from the <a href="http://sip-router.1086192.n5.nabble.com/Users-f3.html">Users mailing list archive</a> at Nabble.com.<br/>