[OpenSIPS-Users] Cannot connect to OpenSIPS Server via Management Interface (/tmp/opensips_fifo)

Liviu Chircu liviu at opensips.org
Thu Aug 17 03:43:48 EDT 2017


Hi jhchinn,

Are you sure it's not a SElinux problem?

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 16.08.2017 21:24, jhchinn wrote:
> Greetings,
>
> I am running control panel v6.2 on OpenSIPS v2.3.1 on
> centos-release-7-3.1611.el7.centos.x86_64.
> When CP is loaded I get the following error on the Load Balancer display:
> Cannot connect to OpenSIPS Server via Management Interface
> (/tmp/opensips_fifo).
>
> I have verified that the opensips_fifo file is present in the tmp directory:
> [root at jhchinnfs ~]# cd /tmp
> [root at jhchinnfs tmp]# ls
> opensips_fifo
> pear
> systemd-private-3ec9d05546f7423196c5843c339bfeba-httpd.service-bXanPw
> systemd-private-a8a03bab03fd4cf7bae7555a9923a5f9-httpd.service-PUJo1Z
> systemd-private-d63de36b3da94bddba2494cc36aef558-httpd.service-12nIa9
>
> And have checked the config/boxes.global.inc.php file:
> $box_id=0;
>
> // Options:
> //   FIFO backend:   fifo:/path/to/fifo_file
> //   XMLRPC backend: xmlrpc:host:port/RPC2
> //   UDP backend:    udp:host:port
> //   JSON backedn:   json:json_url/JSON
> $boxes[$box_id]['mi']['conn']="fifo:/tmp/opensips_fifo";
>
> // monit host:port
> $boxes[$box_id]['monit']['conn']="127.0.0.1:2812";
> $boxes[$box_id]['monit']['user']="admin";
> $boxes[$box_id]['monit']['pass']="monit";
> $boxes[$box_id]['monit']['has_ssl']=0;
>
>
> // description (appears in mi , monit )
> $boxes[$box_id]['desc']="SIP server";
>
>   
> $boxes[$box_id]['assoc_id']=1;
>
> // enable local smonitor charts on this box : 0=disabled 1=enabled
> // (cron)
> $boxes[$box_id]['smonitor']['charts']=1;
>
> Here is a netstat -tlnp
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State
> PID/Program name
> tcp        0      0 10.2.112.29:80          0.0.0.0:*               LISTEN
> 2629/httpd
> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
> 1022/sshd
> tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
> 2366/master
> tcp        0      0 127.0.0.1:2812          0.0.0.0:*               LISTEN
> 2650/monit
> tcp6       0      0 :::3306                 :::*                    LISTEN
> 2039/mysqld
> tcp6       0      0 :::22                   :::*                    LISTEN
> 1022/sshd
> tcp6       0      0 ::1:25                  :::*                    LISTEN
> 2366/master
>
> Any ideas why this is not connecting to the opensips server?
>
> I have this up and working in Debian 8 but need to make it work in Centos7.
>
> Thanks,
>
> Jerry Chinn
> Telecom VoIP Specialist
> NAVIS More Performance. More Profit.
> tel 541-330-3562
> www.TheNavisWay.com
> Facebook | Twitter | LinkedIn | Blog
>
>
>
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Cannot-connect-to-OpenSIPS-Server-via-Management-Interface-tmp-opensips-fifo-tp7608288.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list