[Spce-user] Can't access admin interface 3.1

Alexander Lutay alutay at sipwise.com
Fri Mar 7 04:48:36 EST 2014


Dear Sergey,

So, accordingly to the lines:
>> root at voip:/home/admin# service nginx status
>> [ok ] nginx is running.
>>
>> root at voip:/home/admin# service ngcp-panel status
>> [ok ] Status of NGCP-Panel Webapp: :[....] ngcp-panel is running.

Nginx is running on your server, so it should listen 1443.

Can you please share the output of the following command:
> root at spce:~# sudo netstat -anp | grep nginx
> tcp        0      0 127.0.0.1:8081          0.0.0.0:*               LISTEN      3910/nginx
> tcp        0      0 127.0.0.1:8081          127.0.0.1:36171         ESTABLISHED 3914/nginx: worker
> tcp6       0      0 :::80                   :::*                    LISTEN      3910/nginx
> tcp6       0      0 :::1080                 :::*                    LISTEN      3910/nginx
> tcp6       0      0 :::443                  :::*                    LISTEN      3910/nginx
> tcp6       0      0 :::1443                 :::*                    LISTEN      3910/nginx
to check that it is really listening on server side
(I saw your Nmap output, but still want to be sure that Nginx doesn't 
listen the port).

On my mind I suspect that it can be the problem with latest Nginx,
which required "ipv6only=off" to listen IPv4 addresses. The fix has been 
released long time ago, maybe you missed it for some reason.

Can you please run the following commands and share the output:
> root at spce:~# grep -H ipv6only /etc/nginx/sites-enabled/*
> /etc/nginx/sites-enabled/kamailio-presence:		listen [::]:1080 ipv6only=off default;
> /etc/nginx/sites-enabled/ngcp-panel:	listen [::]:1443 ipv6only=off;
> /etc/nginx/sites-enabled/ngcp-www-csc:    listen   [::]:80 ipv6only=off;
> /etc/nginx/sites-enabled/ngcp-www-csc:        listen [::]:443 ipv6only=off;

> root at spce:~# nginx -v
> nginx version: nginx/1.4.4

Thank you!

P.S. I confirm that the correct command to update 3.1 to latest released 
fixes is (executed as root):
> apt-get update && apt-get upgrade && ngcp-update-db-schema && ngcp-update-cfg-schema && ngcpcfg apply

On 06/03/14 17:58, Sergey Kharlamov wrote:
[...skipped...]

-- 
Alexander Lutay
Head of Quality Assurance
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)13012036
Email: alutay at sipwise.com
Website: http://www.sipwise.com




More information about the Spce-user mailing list