[sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)

iliesh notifications at github.com
Mon Nov 28 17:25:00 CET 2022


Hi @miconda ,

Now it's compiling successfully and kamailio doesn't seem to crash anymore but it's not starting either.
Those are the errors from the log file:

```
Nov 28 16:20:26 k1-dev k1-dev[24701]: INFO: nats [nats_mod.c:439]: nats_init_connection(): adding server [nats://192.168.1.1:4222] [1]
Nov 28 16:20:26 k1-dev k1-dev[24701]: ERROR: nats [nats_mod.c:458]: nats_init_connection(): could not create nats options [System Error]
Nov 28 16:20:26 k1-dev k1-dev[24701]: ERROR: nats [nats_mod.c:232]: init_worker(): failed to init nat connections
Nov 28 16:20:26 k1-dev k1-dev[24701]: ERROR: nats [nats_mod.c:348]: mod_child_init(): failed to init struct for worker [0]
Nov 28 16:20:26 k1-dev k1-dev[24701]: ERROR: <core> [core/sr_module.c:903]: init_mod_child(): error while initializing module nats (/usr/local/lib64/kamailio/modules/nats.so) (idx: 0 rank: -127 desc: [main])
Nov 28 16:20:26 k1-dev k1-dev[24701]: ERROR: <core> [main.c:1665]: main_loop(): error in init_child(PROC_INT) -- exiting
Nov 28 16:20:26 k1-dev kamailio: ERROR: <core> [core/daemonize.c:303]: daemonize(): Main process exited before writing to pipe
```

OS: CentOS 7 X64, 
Kernel: 3.10.0-1160.76.1.el7.x86_64, 
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3253#issuecomment-1329378515
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3253/1329378515 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20221128/4545b898/attachment-0001.htm>


More information about the sr-dev mailing list