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 <[hidden email]> 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] <[hidden email]> 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-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://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://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.
NAML




View this message in context: Re: kamailio error, failed to start ubuntu precisw 12.04LTS
Sent from the Users mailing list archive at Nabble.com.