Hi guys,
When I ran below the command, an error appeared, how do I fix this?
/etc/kamailio$ kamailio -E -e
loading modules under config path: /usr/lib/x86_64-linux-gnu/kamailio/modules/
Listening on
udp: 192.168.0.158:5090
tcp: 192.168.0.158:5090
tcp: 192.168.0.158:10080
sctp: 192.168.0.158:5090
Aliases:
sctp: vizoai1:5090
tcp: vizoai1:10080
tcp: vizoai1:5090
udp: vizoai1:5090
0(564421) INFO: <core> [core/tcp_main.c:4999]: init_tcp(): using epoll_lt as the io
watch method (auto detected)
0(564423) INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob -
maybe module is not loaded
0(564423) INFO: rr [rr_mod.c:188]: mod_init(): outbound module not available
0(564423) ERROR: ctl [init_socks.c:114]: init_unix_sock(): ERROR: init_unix_sock: bind:
Permission denied [13]
0(564423) ERROR: ctl [ctl.c:291]: mod_init(): ERROR: ctl: mod_init: init ctrl. sockets
failed
0(564423) ERROR: <core> [core/sr_module.c:945]: init_mod(): Error while
initializing module ctl (/usr/lib/x86_64-linux-gnu/kamailio/modules/ctl.so)
ERROR: error while initializing modules
0(564423) ERROR: jsonrpcs [jsonrpcs_fifo.c:599]: jsonrpc_fifo_destroy(): FIFO stat
failed: Permission denied
=============================================
grep loadmodule modules.cfg
loadmodule "db_mysql.so"
loadmodule "textopsx.so"
loadmodule "websocket.so"
loadmodule "xhttp.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 "sdpops.so"
loadmodule "jsonrpcs.so"
loadmodule "auth.so"
loadmodule "auth_db.so"
loadmodule "nathelper.so"
loadmodule "rtpengine.so"
loadmodule "tls.so"
loadmodule "debugger.so"
loadmodule "sctp.so"