[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-devel
Subject:    Re: [sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)
From:       iliesh <notifications () github ! com>
Date:       2022-11-28 18:30:13
Message-ID: kamailio/kamailio/issues/3253/1329554810 () github ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


unfortunately that didn't help either, the same error:

```
Nov 28 18:26:35 k1-dev k1-dev[27366]: INFO: nats [nats_mod.c:439]: \
                nats_init_connection(): adding server [nats://127.0.0.1:4222] [1]
Nov 28 18:26:35 k1-dev k1-dev[27366]: ERROR: nats [nats_mod.c:458]: \
                nats_init_connection(): could not create nats options [System Error]
Nov 28 18:26:35 k1-dev k1-dev[27366]: ERROR: nats [nats_mod.c:232]: init_worker(): \
                failed to init nat connections
Nov 28 18:26:35 k1-dev k1-dev[27366]: ERROR: nats [nats_mod.c:348]: mod_child_init(): \
                failed to init struct for worker [0]
Nov 28 18:26:35 k1-dev k1-dev[27366]: 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 18:26:35 k1-dev k1-dev[27366]: ERROR: <core> [main.c:1665]: main_loop(): error \
                in init_child(PROC_INT) -- exiting
Nov 28 18:26:35 k1-dev kamailio: ERROR: <core> [core/daemonize.c:303]: daemonize(): \
Main process exited before writing to pipe ```

in the kernel logs I do see also some error related to the libuv, not sure that this \
can cause nats module to panic ```
Nov 28 18:26:35 k1-dev kernel: kamailio[27366]: segfault at 70 ip 00007f42e55f0888 sp \
00007ffcce36f970 error 4 in libuv.so.1.0.0[7f42e55e0000+2c000] ```

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

Message ID: <kamailio/kamailio/issues/3253/1329554810@github.com>


[Attachment #5 (text/html)]

<p></p>
<p dir="auto">unfortunately that didn't help either, the same error:</p>
<pre class="notranslate"><code class="notranslate">Nov 28 18:26:35 k1-dev \
k1-dev[27366]: INFO: nats [nats_mod.c:439]: nats_init_connection(): adding server \
                [nats://127.0.0.1:4222] [1]
Nov 28 18:26:35 k1-dev k1-dev[27366]: ERROR: nats [nats_mod.c:458]: \
                nats_init_connection(): could not create nats options [System Error]
Nov 28 18:26:35 k1-dev k1-dev[27366]: ERROR: nats [nats_mod.c:232]: init_worker(): \
                failed to init nat connections
Nov 28 18:26:35 k1-dev k1-dev[27366]: ERROR: nats [nats_mod.c:348]: mod_child_init(): \
                failed to init struct for worker [0]
Nov 28 18:26:35 k1-dev k1-dev[27366]: ERROR: &lt;core&gt; [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 18:26:35 k1-dev k1-dev[27366]: ERROR: &lt;core&gt; [main.c:1665]: main_loop(): \
                error in init_child(PROC_INT) -- exiting
Nov 28 18:26:35 k1-dev kamailio: ERROR: &lt;core&gt; [core/daemonize.c:303]: \
daemonize(): Main process exited before writing to pipe </code></pre>
<p dir="auto">in the kernel logs I do see also some error related to the libuv, not \
sure that this can cause nats module to panic</p> <pre class="notranslate"><code \
class="notranslate">Nov 28 18:26:35 k1-dev kernel: kamailio[27366]: segfault at 70 ip \
00007f42e55f0888 sp 00007ffcce36f970 error 4 in libuv.so.1.0.0[7f42e55e0000+2c000] \
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br \
/>Reply to this email directly, <a \
href="https://github.com/kamailio/kamailio/issues/3253#issuecomment-1329554810">view \
it on GitHub</a>, or <a \
href="https://github.com/notifications/unsubscribe-auth/ABO7UZJPWOGK3D2XED3MUKTWKT23LANCNFSM6AAAAAAQXGUX5E">unsubscribe</a>.<br \
/>You are receiving this because you are subscribed to this thread.<img \
src="https://github.com/notifications/beacon/ABO7UZLNN2MZPGAW5TOCUELWKT23LA5CNFSM6AAAA \
AAQXGUX5GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSPH5SXU.gif" \
height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: \
none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; \
max-width: 0; max-height: 0; mso-hide: all">Message ID: \
<span>&lt;kamailio/kamailio/issues/3253/1329554810</span><span>@</span><span>github</span><span>.</span><span>com&gt;</span></span></p>
 <script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3253#issuecomment-1329554810",
"url": "https://github.com/kamailio/kamailio/issues/3253#issuecomment-1329554810",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>



_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic