you can check via logs like

rt_sigaction(SIGALRM, {sa_handler=0x420090, sa_mask=[ALRM], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=60, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
wait4(-1, NULL, 0, NULL)                = -1 ECHILD (No child processes)
rt_sigaction(SIGALRM, {sa_handler=0x4200b0, sa_mask=[ALRM], sa_flags=SA_RESTART}, {sa_handler=0x420090, sa_mask=[ALRM], sa_flags=SA_RESTART}, 8) = 0
newfstatat(AT_FDCWD, "/var/run/kamailio/kamailio_rpc.fifo", 0xffffc50c4a90, 0) = -1 EACCES (Permission denied)
getpid()                                = 1577871
write(2, " 0(1577871) ERROR: jsonrpcs [jso"..., 111 0(1577871) ERROR: jsonrpcs [jsonrpcs_fifo.c:599]: jsonrpc_fifo_destroy(): FIFO stat failed: Permission denied
) = 111
newfstatat(AT_FDCWD, "kamailio_rpc.sock", 0xffffc50c4a90, 0) = -1 ENOENT (No such file or directory)
getpid()                                = 1577871

Stated using command
strace kamailio -D -E

Here is 
/var/run/kamailio/kamailio_rpc.fifo need to check

On Mon, Dec 18, 2023 at 12:06 AM Chinh NQ via sr-dev <sr-dev@lists.kamailio.org> wrote:
Hi Daniel,
Thank you for your answer.

How to run Kamailio with root or grant appropriate privileges.
What is the Privilege or permission that Kamailio needed to run? Can you teach me?

Cheers,
Chinh
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-leave@lists.kamailio.org