[SR-Users] JSONRPC ERROR in siremis GUI.

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 22 08:16:06 CEST 2021


Hello,

it looks like access rights problem, the logs show:

... socket send failed: Permission denied ...

Probably the user that runs the web server is restricted. Check selinux
and the other system rules.

Cheers,
Daniel

On 21.09.21 10:04, 岩間理佐 wrote:
> Hi,
>
> I have a question regarding the jsonRPC commands in the siremis GUI.
>
> 【Environment】
> ・Centos7
> ・Kamailio 5.5.2
> ・siremis 5.3 (installed by git clone https://github.com/asipto/siremis
> <https://github.com/asipto/siremis> siremis-5.3.x)
> ・php
> php-mysqlnd-7.1.33-16.el7.remi.x86_64
> php-json-7.1.33-16.el7.remi.x86_64
> php-mbstring-7.1.33-16.el7.remi.x86_64
> php-pdo-7.1.33-16.el7.remi.x86_64
> php-gd-7.1.33-16.el7.remi.x86_64
> php-xml-7.1.33-16.el7.remi.x86_64
> php-pecl-zip-1.19.4-1.el7.remi.7.1.x86_64
> php-xmlrpc-7.1.33-16.el7.remi.x86_64
> php-cli-7.1.33-16.el7.remi.x86_64
> php-process-7.1.33-16.el7.remi.x86_64
> php-pear-1.10.13-1.el7.remi.noarch
> php-common-7.1.33-16.el7.remi.x86_64
> php-7.1.33-16.el7.remi.x86_64
> When I execute commands in command service →JSONRPC commands from
> siremis GUI, it always shows error page.
> I tried some approaches
> <https://eow.alc.co.jp/search?q=approaches&ref=awlj> referring to this
> page, 
>  https://github.com/asipto/siremis/issues/26
> <https://github.com/asipto/siremis/issues/26>
> but I still have this error message in /var/log/httpd/error_log
>
>     [Tue Sep 21 16:43:26.396967 2021] [php7:warn] [pid 6181] [client
>     152.165.116.138:55822 <http://152.165.116.138:55822>] 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: http://kamailio.xcallyjp.com/siremis/sipadmin/jrcmds
>     <http://kamailio.xcallyjp.com/siremis/sipadmin/jrcmds>
>     [Tue Sep 21 16:43:26.401139 2021] [php7:notice] [pid 6181] [client
>     152.165.116.138:55822 <http://152.165.116.138:55822>] u socket
>     send failed: Permission denied, referer:
>     http://kamailio.xcallyjp.com/siremis/sipadmin/jrcmds
>     <http://kamailio.xcallyjp.com/siremis/sipadmin/jrcmds>
>
>
> I have tried my best to do some researches about it, but still stuck.
> Any help is appreciated. Thank you!
>  
>
> Lisa Iwama
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210922/e9394252/attachment.htm>


More information about the sr-users mailing list