Hello,
the log suggests that the client tries to bind to an IP socket, not an
unix file socket. Check your xml file with the configuration for jsonrpc
sockets, some details at:
*
https://kb.asipto.com/siremis:install53x:jsonrpc-commands
Cheers,
Daniel
On 06.06.22 11:02, Joseph Goettgens wrote:
Hi,
I seem to have a problem setting up Siremis 5.3 on a Debian 11 box
using the Kamailio 5.6.0 release (installed from repo).
When I enter something like core.uptime into the JSONRPC Command
Panel, I get a "System Internal Error" alert. The Apache error log
then says:
[Mon Jun 06 10:48:41.459377 2022] [php7:notice] [pid 22322] [client
192.168.xxx.xxx:45030] socket bind failed: No such file or directory,
referer:
http://deb11srv1-kamailio/siremis/sipadmin/jrcmds
The path siremis/sipadmin/jrcmds obviously does not seem to exist and
I assume that one needs some internal adjustments for some paths.
As far as the socket is concerned,
siremis/modules/sipadmin/service/siremisJRCommands.xml has the
definition:
UnixSockRemote name="unixsockremote"
address="/var/run/kamailio/kamailio_rpc.sock" timeout="3.0"/>
and the corresponding definition in /etc/kamailio/kamailio.cfg is:
modparam("jsonrpcs", "dgram_socket",
"/var/run/kamailio/kamailio_rpc.sock")
modparam("jsonrpcs", "dgram_mode", 0666)
which looks fine to me. I also checked for the existence of the socket
and its access rights.
Any suggestions?
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)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: June 20-23, 2022
*
https://www.asipto.com/sw/kamailio-advanced-training-online/