<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">Starting via cli works and via systemctl not. That's an sign for some permissions that systemctl what's to set (group for example or user) are not there. </div><div dir="auto"><br></div><div dir="auto">Also included files like tls.cfg and certificates are not readable for the user:group systemctl what's to start Kamailio. </div><div dir="auto"><br></div><div dir="auto">Cheers </div><div dir="auto">Karsten </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> schrieb am Di., 4. Juni 2019, 15:16:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_-8496881999468984961moz-cite-prefix">Hello,</div>
<div class="m_-8496881999468984961moz-cite-prefix"><br>
</div>
<div class="m_-8496881999468984961moz-cite-prefix">what is the operating system you are
using?</div>
<div class="m_-8496881999468984961moz-cite-prefix"><br>
</div>
<div class="m_-8496881999468984961moz-cite-prefix">Cheers,<br>
Daniel</div>
<div class="m_-8496881999468984961moz-cite-prefix"><br>
</div>
<div class="m_-8496881999468984961moz-cite-prefix">On 04.06.19 14:21, Олег Подгуйко wrote:<br>
</div>
<blockquote type="cite">
Im trying to use kamailio with websocket and tls. It will be use
as registrar for websocket clients.<br>
I'm using default config with additional websocket, https and tls
modules. I created some certs for it and everething looks like
good.<br>
But when I started kamailio via (systemctl start kamailio) I get
some errors<br>
<br>
<p>июн 04 15:00:52 p534507.kvmvps kamailio[23502]: 0(23502) INFO:
<core> [core/udp_server.c:205]:
probe_max_receive_buffer(): SO_RCVBUF is finally 425984<br>
июн 04 15:00:52 p534507.kvmvps kamailio[23502]: 0(23502) DEBUG:
<core> [core/tcp_main.c:2753]: tcp_init(): added
<a href="http://37.143.9.210:443" target="_blank" rel="noreferrer">37.143.9.210:443</a><br>
июн 04 15:00:52 p534507.kvmvps kamailio[23502]: 0(23502) ERROR:
<core> [core/tcp_main.c:2855]: tcp_init(): bind(9,
0x7fb6ef026f84, 16) on <a href="http://37.143.9.210:443" target="_blank" rel="noreferrer">37.143.9.210:443</a> : Permission denied<br>
июн 04 15:00:52 p534507.kvmvps kamailio[23502]: 0(23502) ERROR:
tls [tls_init.c:342]: tls_h_init_si(): Error while initializing
TCP part of TLS socket <a href="http://37.143.9.210:443" target="_blank" rel="noreferrer">37.143.9.210:443</a><br>
июн 04 15:00:52 p534507.kvmvps kamailio[23502]: 0(23502) DEBUG:
rtpengine [rtpengine.c:1986]: mod_destroy():
rtpengine_hash_table_destroy() success!<br>
<br>
<br>
If I start it via /usr/sbin/kamailio - all work.<br>
<br>
What I do wrong?</p>
<br>
<br>
<br>
<br>
-- <br>
Олег Подгуйко
<br>
<fieldset class="m_-8496881999468984961mimeAttachmentHeader"></fieldset>
<pre class="m_-8496881999468984961moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="m_-8496881999468984961moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a>
<a class="m_-8496881999468984961moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" rel="noreferrer">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<p><br>
</p>
<pre class="m_-8496881999468984961moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="m_-8496881999468984961moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" rel="noreferrer">www.asipto.com</a>
<a class="m_-8496881999468984961moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" rel="noreferrer">www.twitter.com/miconda</a> -- <a class="m_-8496881999468984961moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" rel="noreferrer">www.linkedin.com/in/miconda</a></pre>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>