<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>it looks like access rights problem, the logs show:</p>
<p>... socket send failed: Permission denied ...<br>
</p>
<p>Probably the user that runs the web server is restricted. Check
selinux and the other system rules.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 21.09.21 10:04, 岩間理佐 wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFif9VLezCc-gVxw60JVwdJu8HoP7XqOXpEJ_+oVJ8Xz40D7zQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I have a question regarding the jsonRPC commands in the
siremis GUI.</div>
<div><br>
</div>
<div>【Environment】</div>
<div>・Centos7</div>
<div>・Kamailio 5.5.2</div>
<div>・siremis 5.3 (installed by git clone <a
href="https://github.com/asipto/siremis"
moz-do-not-send="true">https://github.com/asipto/siremis</a>
siremis-5.3.x)</div>
<div>・php</div>
<div>php-mysqlnd-7.1.33-16.el7.remi.x86_64<br>
php-json-7.1.33-16.el7.remi.x86_64<br>
php-mbstring-7.1.33-16.el7.remi.x86_64<br>
php-pdo-7.1.33-16.el7.remi.x86_64<br>
php-gd-7.1.33-16.el7.remi.x86_64<br>
php-xml-7.1.33-16.el7.remi.x86_64<br>
php-pecl-zip-1.19.4-1.el7.remi.7.1.x86_64<br>
php-xmlrpc-7.1.33-16.el7.remi.x86_64<br>
php-cli-7.1.33-16.el7.remi.x86_64<br>
php-process-7.1.33-16.el7.remi.x86_64<br>
php-pear-1.10.13-1.el7.remi.noarch<br>
php-common-7.1.33-16.el7.remi.x86_64<br>
php-7.1.33-16.el7.remi.x86_64<br>
</div>
<div>
<pre style="box-sizing:inherit;margin-top:0px;margin-bottom:0px;padding:0px 4px;font-size:13px;line-height:inherit;font-variant-ligatures:contextual;white-space:pre-wrap;word-break:normal;font-family:inherit;border-width:0px;border-radius:0px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;color:rgb(29,28,29);overflow:visible">
</pre>
<pre style="box-sizing:inherit;margin-top:0px;margin-bottom:0px;padding:0px 4px;font-size:13px;line-height:inherit;font-variant-ligatures:contextual;white-space:pre-wrap;word-break:normal;border-width:0px;border-radius:0px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;color:rgb(29,28,29);overflow:visible"><font face="arial, sans-serif">
</font></pre>
<pre style="box-sizing:inherit;margin-top:0px;margin-bottom:0px;padding:0px 4px;font-size:13px;line-height:inherit;font-variant-ligatures:contextual;white-space:pre-wrap;word-break:normal;border-width:0px;border-radius:0px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;color:rgb(29,28,29);overflow:visible"><font face="arial, sans-serif">When I execute commands in command service →JSONRPC commands from siremis GUI, it always shows error page.</font></pre>
</div>
<div>I tried some <a
href="https://eow.alc.co.jp/search?q=approaches&ref=awlj"
style="margin:0px;padding:0px;color:rgb(0,0,0);text-decoration-line:none;border-bottom:1px
solid rgb(190,190,190);font-family:Arial,"Arial
New","\00ff2d\00ff33 \00ff30
\0030b4\0030b7\0030c3\0030af",sans-serif;font-size:12.8px"
moz-do-not-send="true">approaches</a> referring to this
page, </div>
<div> <a href="https://github.com/asipto/siremis/issues/26"
moz-do-not-send="true">https://github.com/asipto/siremis/issues/26</a></div>
<div>but I still have this error message in
/var/log/httpd/error_log</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[Tue
Sep 21 16:43:26.396967 2021] [php7:warn] [pid 6181] [client <a
href="http://152.165.116.138:55822" moz-do-not-send="true">152.165.116.138:55822</a>]
PHP Warning: strstr() expects parameter 1 to be string,
resource given in
/var/www/siremis-5.3.x/openbiz/bin/ErrorHandler.php on line
158, referer: <a
href="http://kamailio.xcallyjp.com/siremis/sipadmin/jrcmds"
moz-do-not-send="true">http://kamailio.xcallyjp.com/siremis/sipadmin/jrcmds</a><br>
[Tue Sep 21 16:43:26.401139 2021] [php7:notice] [pid 6181]
[client <a href="http://152.165.116.138:55822"
moz-do-not-send="true">152.165.116.138:55822</a>] u socket
send failed: Permission denied, referer: <a
href="http://kamailio.xcallyjp.com/siremis/sipadmin/jrcmds"
moz-do-not-send="true">http://kamailio.xcallyjp.com/siremis/sipadmin/jrcmds</a></blockquote>
<div><br>
</div>
<div>I have tried my best to do some researches about it, but
still stuck.</div>
<div>Any help is appreciated. Thank you!</div>
<div> </div>
<div><br>
</div>
<div>Lisa Iwama</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
* <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</body>
</html>