Hello,

it looks like ctl module cannot create the socket file for rpc commands, which should be /var/run/kamailio/kamailio_ctl. Do you start kamailio as root? If not, be sure the user can create the folder or you create it in advance and allow the user to create files inside it.

Cheers,
Daniel

On 17/02/16 04:33, Ed Todd wrote:
I am installing KAMAILIO under DEBIAN. I have got it to work fine (TLS) until I upgraded my Comcast to business service to get static IP’s. Now it no longer works.
I am using the Cisco DPC3941 modem/router and am tring to connect an IPhone on WIFI to the PC SIP server on the LAN. Here are the log entries:
 
Feb 16 19:14:59 SIP-Server kamailio[2010]: NOTICE: <core> [main.c:738]: handle_sigs(): Thank you for flying kamailio!!!
Feb 16 19:14:59 SIP-Server kamailio[2019]: INFO: <core> [main.c:849]: sig_usr(): signal 15 received
Feb 16 20:01:25 SIP-Server kamailio: INFO: tls [tls_init.c:385]: init_tls_compression(): tls: init_tls: disabling compression...
Feb 16 20:01:26 SIP-Server kamailio: INFO: <core> [tcp_main.c:4745]: init_tcp(): using epoll_lt as the io watch method (auto detected)
Feb 16 20:01:26 SIP-Server kamailio[3876]: INFO: rr [../outbound/api.h:54]: ob_load_api(): Failed to import bind_ob
Feb 16 20:01:26 SIP-Server kamailio[3876]: INFO: rr [rr_mod.c:160]: mod_init(): outbound module not available
Feb 16 20:01:26 SIP-Server kamailio[3876]: INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size 1024
Feb 16 20:01:26 SIP-Server kamailio[3876]: ERROR: ctl [init_socks.c:126]: init_unix_sock(): ERROR: init_unix_sock: bind: No such file or directory [2]
Feb 16 20:01:26 SIP-Server kamailio[3876]: ERROR: ctl [ctl.c:283]: mod_init(): ERROR: ctl: mod_init: init ctrl. sockets failed
Feb 16 20:01:26 SIP-Server kamailio[3876]: ERROR: <core> [sr_module.c:968]: init_mod(): Error while initializing module ctl (/usr/lib/x86_64-linux-gnu/kamailio/modules/ctl.so)
 
I am informed that SIP-ALG is disabled. Any ideas?
 


_______________________________________________
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://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu