[SR-Users] kamailio TLS mod_register failed
Hi, i got the follow error when i try to start Kamailio with "TLS" enabled (#!define WITH_TLS): 2016-06-13T11:11:41.316540+02:00 host kamailio: ERROR: tls [tls_init.c:490]: tls_pre_init(): Unable to set the memory allocation functions 2016-06-13T11:11:41.316918+02:00 host kamailio: ERROR: [sr_module.c:607]: load_module(): /usr/local/lib64/kamailio/modules/tls.so: mod_register failed 2016-06-13T11:11:41.317119+02:00 host kamailio: : [cfg.y:3388]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 292, column 12-19: failed to load module 2016-06-13T11:11:41.318624+02:00 host kamailio: ERROR: [modparam.c:150]: set_mod_param_regex(): No module matching found 2016-06-13T11:11:41.318842+02:00 host kamailio: : [cfg.y:3391]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 451, column 60: Can't set module parameter 2016-06-13T11:11:41.325100+02:00 host kamailio: INFO: [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized kamailio -V version: kamailio 5.0.0-dev3 (x86_64/linux) flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown compiled on 10:21:35 Jun 13 2016 with gcc 4.8.5 How can i fix it? Thanks in advance, ___ 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
Re: [SR-Users] kamailio TLS mod_register failed
this one: #!define WITH_MYSQL #!define WITH_AUTH #!define WITH_ALIASDB #!define WITH_NAT #!define WITH_USRLOCDB #!define WITH_TLS Regards, Gesendet: Montag, 13. Juni 2016 um 11:46 Uhr Von: "Daniel-Constantin Mierla" An: "Kamailio (SER) - Users Mailing List" Betreff: Re: [SR-Users] kamailio TLS mod_register failed Hello, can you paste the list of laodmodule lines you have in the kamailio.cfg? Cheers, Daniel On 13/06/16 11:07, wanmon wanmon wrote: Hi, i got the follow error when i try to start Kamailio with "TLS" enabled (#!define WITH_TLS): 2016-06-13T11:11:41.316540+02:00 host kamailio: ERROR: tls [tls_init.c:490]: tls_pre_init(): Unable to set the memory allocation functions 2016-06-13T11:11:41.316918+02:00 host kamailio: ERROR: [sr_module.c:607]: load_module(): /usr/local/lib64/kamailio/modules/tls.so: mod_register failed 2016-06-13T11:11:41.317119+02:00 host kamailio: : [cfg.y:3388]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 292, column 12-19: failed to load module 2016-06-13T11:11:41.318624+02:00 host kamailio: ERROR: [modparam.c:150]: set_mod_param_regex(): No module matching found 2016-06-13T11:11:41.318842+02:00 host kamailio: : [cfg.y:3391]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 451, column 60: Can't set module parameter 2016-06-13T11:11:41.325100+02:00 host kamailio: INFO: [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized kamailio -V version: kamailio 5.0.0-dev3 (x86_64/linux) flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown compiled on 10:21:35 Jun 13 2016 with gcc 4.8.5 How can i fix it? Thanks in advance, ___ 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 -- Daniel-Constantin Mierla http://www.asipto.com - http://www.kamailio.org http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ 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 ___ 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
Re: [SR-Users] kamailio TLS mod_register failed
or this one? : cat kamailio.cfg | grep loadmodule loadmodule "db_mysql.so" loadmodule "mi_fifo.so" loadmodule "kex.so" loadmodule "corex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "rr.so" loadmodule "pv.so" loadmodule "maxfwd.so" loadmodule "usrloc.so" loadmodule "registrar.so" loadmodule "textops.so" loadmodule "siputils.so" loadmodule "xlog.so" loadmodule "sanity.so" loadmodule "ctl.so" loadmodule "cfg_rpc.so" loadmodule "mi_rpc.so" loadmodule "acc.so" loadmodule "ldap.so" loadmodule "websocket.so" loadmodule "xhttp.so" loadmodule "auth.so" loadmodule "auth_db.so" loadmodule "permissions.so" loadmodule "alias_db.so" loadmodule "speeddial.so" loadmodule "domain.so" loadmodule "presence.so" loadmodule "presence_xml.so" loadmodule "nathelper.so" loadmodule "rtpproxy.so" loadmodule "tls.so" loadmodule "htable.so" loadmodule "pike.so" loadmodule "xmlrpc.so" loadmodule "debugger.so" Regards, Gesendet: Montag, 13. Juni 2016 um 13:36 Uhr Von: "wanmon wanmon" An: mico...@gmail.com, sr-users@lists.sip-router.org Cc: "Kamailio (SER) - Users Mailing List" Betreff: Re: [SR-Users] kamailio TLS mod_register failed this one: #!define WITH_MYSQL #!define WITH_AUTH #!define WITH_ALIASDB #!define WITH_NAT #!define WITH_USRLOCDB #!define WITH_TLS Regards, Gesendet: Montag, 13. Juni 2016 um 11:46 Uhr Von: "Daniel-Constantin Mierla" An: "Kamailio (SER) - Users Mailing List" Betreff: Re: [SR-Users] kamailio TLS mod_register failed Hello, can you paste the list of laodmodule lines you have in the kamailio.cfg? Cheers, Daniel On 13/06/16 11:07, wanmon wanmon wrote: Hi, i got the follow error when i try to start Kamailio with "TLS" enabled (#!define WITH_TLS): 2016-06-13T11:11:41.316540+02:00 host kamailio: ERROR: tls [tls_init.c:490]: tls_pre_init(): Unable to set the memory allocation functions 2016-06-13T11:11:41.316918+02:00 host kamailio: ERROR: [sr_module.c:607]: load_module(): /usr/local/lib64/kamailio/modules/tls.so: mod_register failed 2016-06-13T11:11:41.317119+02:00 host kamailio: : [cfg.y:3388]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 292, column 12-19: failed to load module 2016-06-13T11:11:41.318624+02:00 host kamailio: ERROR: [modparam.c:150]: set_mod_param_regex(): No module matching found 2016-06-13T11:11:41.318842+02:00 host kamailio: : [cfg.y:3391]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 451, column 60: Can't set module parameter 2016-06-13T11:11:41.325100+02:00 host kamailio: INFO: [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized kamailio -V version: kamailio 5.0.0-dev3 (x86_64/linux) flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown compiled on 10:21:35 Jun 13 2016 with gcc 4.8.5 How can i fix it? Thanks in advance, ___ 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 -- Daniel-Constantin Mierla http://www.asipto.com - http://www.kamailio.org http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ 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 ___ 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 ___ 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
Re: [SR-Users] kamailio TLS mod_register failed
still same error: 2016-06-13T16:02:54.359934+02:00 host kamailio: ERROR: tls [tls_init.c:490]: tls_pre_init(): Unable to set the memory allocation functions 2016-06-13T16:02:54.360414+02:00 host kamailio: ERROR: [sr_module.c:607]: load_module(): /usr/local/lib64/kamailio/modules/tls.so: mod_register failed 2016-06-13T16:02:54.360608+02:00 host kamailio: : [cfg.y:3388]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 231, column 12-19: failed to load module 2016-06-13T16:02:54.415654+02:00 host kamailio: ERROR: [modparam.c:150]: set_mod_param_regex(): No module matching found 2016-06-13T16:02:54.415875+02:00 host kamailio: : [cfg.y:3391]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 450, column 60: Can't set module parameter 2016-06-13T16:02:54.422231+02:00 host kamailio: INFO: [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized cat kamailio.cfg | grep loadmodule loadmodule "tls.so" loadmodule "db_mysql.so" loadmodule "mi_fifo.so" loadmodule "kex.so" loadmodule "corex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "rr.so" loadmodule "pv.so" loadmodule "maxfwd.so" loadmodule "usrloc.so" loadmodule "registrar.so" loadmodule "textops.so" loadmodule "siputils.so" loadmodule "xlog.so" loadmodule "sanity.so" loadmodule "ctl.so" loadmodule "cfg_rpc.so" loadmodule "mi_rpc.so" loadmodule "acc.so" loadmodule "ldap.so" loadmodule "websocket.so" loadmodule "xhttp.so" loadmodule "auth.so" loadmodule "auth_db.so" loadmodule "permissions.so" loadmodule "alias_db.so" loadmodule "speeddial.so" loadmodule "domain.so" loadmodule "presence.so" loadmodule "presence_xml.so" loadmodule "nathelper.so" loadmodule "rtpproxy.so" loadmodule "htable.so" loadmodule "pike.so" loadmodule "xmlrpc.so" loadmodule "debugger.so" (...) #!define WITH_TLS #!define WITH_MYSQL #!define WITH_AUTH #!define WITH_ALIASDB #!define WITH_NAT #!define WITH_USRLOCDB (...) Gesendet: Montag, 13. Juni 2016 um 14:46 Uhr Von: "Daniel-Constantin Mierla" An: "wanmon wanmon" , sr-users@lists.sip-router.org Betreff: Re: Aw: Re: [SR-Users] kamailio TLS mod_register failed Try by loading first tls module. Cheers, Daniel On 13/06/16 13:45, wanmon wanmon wrote: or this one? : cat kamailio.cfg | grep loadmodule loadmodule "db_mysql.so" loadmodule "mi_fifo.so" loadmodule "kex.so" loadmodule "corex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "rr.so" loadmodule "pv.so" loadmodule "maxfwd.so" loadmodule "usrloc.so" loadmodule "registrar.so" loadmodule "textops.so" loadmodule "siputils.so" loadmodule "xlog.so" loadmodule "sanity.so" loadmodule "ctl.so" loadmodule "cfg_rpc.so" loadmodule "mi_rpc.so" loadmodule "acc.so" loadmodule "ldap.so" loadmodule "websocket.so" loadmodule "xhttp.so" loadmodule "auth.so" loadmodule "auth_db.so" loadmodule "permissions.so" loadmodule "alias_db.so" loadmodule "speeddial.so" loadmodule "domain.so" loadmodule "presence.so" loadmodule "presence_xml.so" loadmodule "nathelper.so" loadmodule "rtpproxy.so" loadmodule "tls.so" loadmodule "htable.so" loadmodule "pike.so" loadmodule "xmlrpc.so" loadmodule "debugger.so" Regards, Gesendet: Montag, 13. Juni 2016 um 13:36 Uhr Von: "wanmon wanmon" An: mico...@gmail.com, sr-users@lists.sip-router.org Cc: "Kamailio (SER) - Users Mailing List" Betreff: Re: [SR-Users] kamailio TLS mod_register failed this one: #!define WITH_MYSQL #!define WITH_AUTH #!define WITH_ALIASDB #!define WITH_NAT #!define WITH_USRLOCDB #!define WITH_TLS Regards, Gesendet: Montag, 13. Juni 2016 um 11:46 Uhr Von: "Daniel-Constantin Mierla" An: "Kamailio (SER) - Users Mailing List" Betreff: Re: [SR-Users] kamailio TLS mod_register failed Hello, can you paste the list of laodmodule lines you have in the kamailio.cfg? Cheers, Daniel On 13/06/16 11:07, wanmon wanmon wrote: Hi, i got the follow error when i try to start Kamailio with "TLS" enabled (#!define WITH_TLS): 2016-06-13T11:11:41.316540+02:00 host kamailio: ERROR: tls [tls_init.c:490]: tls_pre_init(): Unabl
Re: [SR-Users] kamailio TLS mod_register failed
kamctl start ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed 2016-06-14T13:29:39.269439+02:00 host kamailio: DEBUG: [cfg.y:1619]: yyparse(): loading modules under /usr/local/lib64/kamailio/modules/ 2016-06-14T13:29:39.270075+02:00 host kamailio: DEBUG: [cfg.y:1600]: yyparse(): loading module tls.so 2016-06-14T13:29:39.270384+02:00 host kamailio: DEBUG: [sr_module.c:575]: load_module(): trying to load 2016-06-14T13:29:39.318055+02:00 host kamailio: DEBUG: [mem/q_malloc.c:189]: qm_malloc_init(): qm_malloc_init: QM_OPTIMIZE=16384, /ROUNDTO=2048 2016-06-14T13:29:39.318269+02:00 host kamailio: DEBUG: [mem/q_malloc.c:191]: qm_malloc_init(): qm_malloc_init: QM_HASH_SIZE=2099, qm_block size=235152 2016-06-14T13:29:39.318462+02:00 host kamailio: DEBUG: [mem/q_malloc.c:192]: qm_malloc_init(): qm_malloc_init(0x7f119bf96000, 67108864), start=0x7f119bf96000 2016-06-14T13:29:39.318672+02:00 host kamailio: DEBUG: [mem/q_malloc.c:200]: qm_malloc_init(): qm_malloc_init: size= 67108864, init_overhead=235256 2016-06-14T13:29:39.318871+02:00 host kamailio: ERROR: tls [tls_init.c:490]: tls_pre_init(): Unable to set the memory allocation functions 2016-06-14T13:29:39.319072+02:00 host kamailio: ERROR: [sr_module.c:607]: load_module(): /usr/local/lib64/kamailio/modules/tls.so: mod_register failed 2016-06-14T13:29:39.319292+02:00 host kamailio: : [cfg.y:3388]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 231, column 12-19: failed to load module 2016-06-14T13:29:39.319486+02:00 host kamailio: DEBUG: [cfg.y:1600]: yyparse(): loading module db_mysql.so 2016-06-14T13:29:39.319705+02:00 host kamailio: DEBUG: [sr_module.c:575]: load_module(): trying to load 2016-06-14T13:29:39.320569+02:00 host kamailio: DEBUG: [db_query.c:403]: db_query_init(): About to allocate sql_buf size = 65535 2016-06-14T13:29:39.320807+02:00 host kamailio: DEBUG: [cfg.lex:1697]: pp_define(): defining id: MOD_db_mysql 2016-06-14T13:29:39.321020+02:00 host kamailio: DEBUG: [cfg.y:1600]: yyparse(): loading module mi_fifo.so 2016-06-14T13:29:39.321220+02:00 host kamailio: DEBUG: [sr_module.c:575]: load_module(): trying to load 2016-06-14T13:29:39.321437+02:00 host kamailio: DEBUG: [cfg.lex:1697]: pp_define(): defining id: MOD_mi_fifo 2016-06-14T13:29:39.321683+02:00 host kamailio: DEBUG: [cfg.y:1600]: yyparse(): loading module kex.so 2016-06-14T13:29:39.321979+02:00 host kamailio: DEBUG: [sr_module.c:575]: load_module(): trying to load 2016-06-14T13:29:39.322237+02:00 host kamailio: DEBUG: [sr_module.c:345]: register_module(): register PV from: kex 2016-06-14T13:29:39.322537+02:00 host kamailio: DEBUG: [cfg.lex:1697]: pp_define(): defining id: MOD_kex 2016-06-14T13:29:39.322836+02:00 host kamailio: DEBUG: [cfg.y:1600]: yyparse(): loading module corex.so 2016-06-14T13:29:39.323120+02:00 host kamailio: DEBUG: [sr_module.c:575]: load_module(): trying to load 2016-06-14T13:29:39.323424+02:00 host kamailio: DEBUG: [sr_module.c:345]: register_module(): register PV from: corex 2016-06-14T13:29:39.323690+02:00 host kamailio: DEBUG: [cfg.lex:1697]: pp_define(): defining id: MOD_corex 2016-06-14T13:29:39.323916+02:00 host kamailio: DEBUG: [cfg.y:1600]: yyparse(): loading module tm.so 2016-06-14T13:29:39.324247+02:00 host kamailio: DEBUG: [sr_module.c:575]: load_module(): trying to load 2016-06-14T13:29:39.324536+02:00 host kamailio: DEBUG: [kemi.c:723]: sr_kemi_modules_add(): adding core module 2016-06-14T13:29:39.324839+02:00 host kamailio: DEBUG: [kemi.c:727]: sr_kemi_modules_add(): adding hdr module 2016-06-14T13:29:39.325138+02:00 host kamailio: DEBUG: [kemi.c:732]: sr_kemi_modules_add(): adding module: tm 2016-06-14T13:29:39.325433+02:00 host kamailio: DEBUG: [cfg.lex:1697]: pp_define(): defining id: MOD_tm 2016-06-14T13:29:39.325736+02:00 host kamailio: DEBUG: [cfg.y:1600]: yyparse(): loading module tmx.so 2016-06-14T13:29:39.326032+02:00 host kamailio: DEBUG: [sr_module.c:575]: load_module(): trying to load 2016-06-14T13:29:39.326330+02:00 host kamailio: DEBUG: [kemi.c:732]: sr_kemi_modules_add(): adding module: tmx 2016-06-14T13:29:39.326631+02:00 host kamailio: DEBUG: [sr_module.c:345]: register_module(): register PV from: tmx 2016-06-14T13:29:39.326930+02:00 host kamailio: DEBUG: [cfg.lex:1697]: pp_define(): defining id: MOD_tmx 2016-06-14T13:29:39.327202+02:00 host kamailio: DEBUG: [cfg.y:1600]: yyparse(): loading module sl.so 2016-06-14T13:29:39.327395+02:00 host kamailio: DEBUG: [sr_module.c:575]: load_module(): trying to load 2016-06-14T13:29:39.327611+02:00 host kamailio: DEBUG: [kemi.c:732]: sr_kemi_modules_add(): adding module: sl 2016-06-14T13:29:39.327808+02:00 host kamailio: DEBUG: [cfg.lex:1697]: pp_define(): defining id: MOD_sl 2016-06-14T13:29:39.327993+02:00 host kamailio: DEBUG: [cfg.y:1600]: yyparse(): loading module rr.so 2016-06-14T13:29:39.328222+02:00 host kamailio: DEBUG: [sr_module.c:575]: load_module()
[SR-Users] kamailio mysql+ldap+radius authentication
Dear list, I have Kamailio 4.4.1 running with local mysql authentication (WITH_MYSQL/WITH_AUTH). i have RADIUS and LDAP services running. I would like to use all of them (MYSQL+RADIUS+LDAP) for Authentication. How is the best "kamailio.cfg" approach to use all defined users on RADIUS and LDAP? so, when a user try to login, kamailio will try MYSQL, them LDAP, them RADIUS. If user/password are not define on any of those 3 system, authentication will fail. Do i need modify my current LDAP tree? Im trying to using standart "userPassword" attribute. This is my reference: http://www.kamailio.org/wiki/tutorials/mini-howto-admin/ldap-user-auth i would like to "add" route[LDAPAUTH], not to "replace" route [AUTH]. Kind Regards ___ 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
Re: [SR-Users] kamailio TLS mod_register failed
exactly the same error! just disabling "#!define WITH_TLS" and start immediately with "kamailio -m 64" or "kamctl start" may help re-compile openssl from scratch (i installed from .rpm)? any specific version? openssl-1.0? openssl-0.98? Regards, On 14 June 2016 16:03:30 CEST, Daniel-Constantin Mierla wrote: >Hello, > >are you providing -m command line parameter? If not, can you try adding >it (e.g., -m 64) to the command starting kamailio, like: > >kamailio -m 64 ... > >Using kamctl is not really recommended to start kamailio. > >Cheers, >Daniel > >On 14/06/16 13:21, wanmon wanmon wrote: >> >> kamctl start >> ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio >start >> failed >> >> >> *2016-06-14T13:29:39.269439+02:00 host kamailio: DEBUG: >> [cfg.y:1619]: yyparse(): loading modules under >> /usr/local/lib64/kamailio/modules/ >> 2016-06-14T13:29:39.270075+02:00 host kamailio: DEBUG: >> [cfg.y:1600]: yyparse(): loading module tls.so >> 2016-06-14T13:29:39.270384+02:00 host kamailio: DEBUG: >> [sr_module.c:575]: load_module(): trying to load* >> * >> 2016-06-14T13:29:39.318055+02:00 host kamailio: DEBUG: >> [mem/q_malloc.c:189]: qm_malloc_init(): qm_malloc_init: >> QM_OPTIMIZE=16384,* >> */ROUNDTO=2048 >> 2016-06-14T13:29:39.318269+02:00 host kamailio: DEBUG: >> [mem/q_malloc.c:191]: qm_malloc_init(): qm_malloc_init: >> QM_HASH_SIZE=2099,* >> *qm_block size=235152 >> 2016-06-14T13:29:39.318462+02:00 host kamailio: DEBUG: >> [mem/q_malloc.c:192]: qm_malloc_init(): >qm_malloc_init(0x7f119bf96000, >> 67108864),* >> *start=0x7f119bf96000 >> 2016-06-14T13:29:39.318672+02:00 host kamailio: DEBUG: >> [mem/q_malloc.c:200]: qm_malloc_init(): qm_malloc_init: size= >67108864,* >> *init_overhead=235256 >> 2016-06-14T13:29:39.318871+02:00 host kamailio: ERROR: tls >> [tls_init.c:490]: tls_pre_init(): Unable to set the memory allocation >> functions >> 2016-06-14T13:29:39.319072+02:00 host kamailio: ERROR: >> [sr_module.c:607]: load_module(): >> /usr/local/lib64/kamailio/modules/tls.so:* >> *mod_register failed* >[...] > >-- >Daniel-Constantin Mierla >http://www.asipto.com - http://www.kamailio.org >http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ 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
Re: [SR-Users] kamailio TLS mod_register failed
i dont have "libssl-dev", im using SUSE, by default is coming with "libopenssl-devel" im using SLEs12 with "libopenssl-devel-1.0.1i-34.1" This trick seems is not valid for me :( any other sugestion? Regards, On 13 August 2016 09:44:16 CEST, Daniel-Constantin Mierla wrote: >Hello, > >thanks for providing the hint -- I will add a note to the issue >tracker. > >Cheers, >Daniel > > >On 13/08/16 06:08, Hai Bui Duc Ha wrote: >> Hi all, >> >> I found the solution for this issue, just downgrade version >libssl-dev >> to 1.0.2d. >> Ref: https://github.com/kamailio/kamailio/issues/714 >> >> Regards, >> Hai Bui >> >> On Fri, Aug 12, 2016 at 7:01 PM, Hai Bui Duc Ha > <mailto:hai@htklabs.com>> wrote: >> >> Hi all, >> >> I have the same problem when update my libssl-dev to 1.0.2h. >> Do we have any solution ? I'm running Ubuntu 14.04 sever >> >> Regards, >> Hai Bui >> >> On Fri, Jun 17, 2016 at 6:59 PM, Daniel-Constantin Mierla >> mailto:mico...@gmail.com>> wrote: >> >> Is any chance that I get access to the system to do some >tests >> myself? It looks like something specific for your system, >> running tls fine in many servers... >> >> Cheers, >> Daniel >> >> >> On 15/06/16 16:16, wanmon wrote: >>> exactly the same error! >>> >>> just disabling "#!define WITH_TLS" and start immediately >with >>> "kamailio -m 64" or "kamctl start" >>> >>> may help re-compile openssl from scratch (i installed from >>> .rpm)? any specific version? openssl-1.0? openssl-0.98? >>> >>> Regards, >>> >>> >>> >>> On 14 June 2016 16:03:30 CEST, Daniel-Constantin Mierla >>> <mailto:mico...@gmail.com> wrote: >>> >>> Hello, >>> >>> are you providing -m command line parameter? If not, can >>> you try adding it (e.g., -m 64) to the command starting >>> kamailio, like: >>> >>> kamailio -m 64 ... >>> >>> Using kamctl is not really recommended to start >kamailio. >>> >>> Cheers, >>> Daniel >>> >>> On 14/06/16 13:21, wanmon wanmon wrote: >>>> >>>> kamctl start >>>> ERROR: PID file /var/run/kamailio.pid does not exist -- >>>> Kamailio start failed >>>> >>>> >>>> *2016-06-14T13:29:39.269439+02:00 host kamailio: DEBUG: >>>> [cfg.y:1619]: yyparse(): loading modules under >>>> /usr/local/lib64/kamailio/modules/ >>>> 2016-06-14T13:29:39.270075+02:00 host kamailio: DEBUG: >>>> [cfg.y:1600]: yyparse(): loading module tls.so >>>> 2016-06-14T13:29:39.270384+02:00 host kamailio: DEBUG: >>>> [sr_module.c:575]: load_module(): trying to >load* >>>> * >>>> 2016-06-14T13:29:39.318055+02:00 host kamailio: DEBUG: >>>> [mem/q_malloc.c:189]: qm_malloc_init(): >>>> qm_malloc_init: QM_OPTIMIZE=16384,* >>>> */ROUNDTO=2048 >>>> 2016-06-14T13:29:39.318269+02:00 host kamailio: DEBUG: >>>> [mem/q_malloc.c:191]: qm_malloc_init(): >>>> qm_malloc_init: QM_HASH_SIZE=2099,* >>>> *qm_block size=235152 >>>> 2016-06-14T13:29:39.318462+02:00 host kamailio: DEBUG: >>>> [mem/q_malloc.c:192]: qm_malloc_init(): >>>> qm_malloc_init(0x7f119bf96000, 67108864),* >>>> *start=0x7f119bf96000 >>>> 2016-06-14T13:29:39.318672+02:00 host kamailio: DEBUG: >>>> [mem/q_malloc.c:200]: qm_malloc_init(): >>>> qm_malloc_init: size= 67108864,* >>>> *init_overhead=235256 >>>> 2016-06-14T13:29:39.318871+02:00 host kamailio: ERROR: >>>> tls [tls_init.c:490]: tls_pre_init(): Unable to set the >>>> memory allocation functions >>>> 2016-06-14T13:29:39.319072+02:00 host kamailio: ERROR