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

Sergey Kharlamov mentax at bk.ru
Fri Mar 7 08:50:41 EST 2014


sudo netstat -anp | grep nginx
tcp        0      0 127.0.0.1:8081          0.0.0.0:*               LISTEN      2793/nginx      
tcp        0      0 127.0.0.1:8081          127.0.0.1:50030         ESTABLISHED 2797/nginx: worker 
tcp6       0      0 :::80                   :::*                    LISTEN      2793/nginx      
tcp6       0      0 :::1080                 :::*                    LISTEN      2793/nginx      
tcp6       0      0 :::443                  :::*                    LISTEN      2793/nginx      
tcp6       0      0 :::1443                 :::*                    LISTEN      2793/nginx      
unix  3      [ ]         STREAM     CONNECTED     6955     2793/nginx          
unix  3      [ ]         STREAM     CONNECTED     6954     2793/nginx          
unix  3      [ ]         STREAM     CONNECTED     6953     2793/nginx          
unix  3      [ ]         STREAM     CONNECTED     6952     2793/nginx          
unix  3      [ ]         STREAM     CONNECTED     6951     2793/nginx          
unix  3      [ ]         STREAM     CONNECTED     6950     2793/nginx          
unix  3      [ ]         STREAM     CONNECTED     6949     2793/nginx          
unix  3      [ ]         STREAM     CONNECTED     6948     2793/nginx         


grep -H ipv6only /etc/nginx/sites-enabled/*
/etc/nginx/sites-enabled/kamailio-presence:listen [::]:1080 ipv6only=off default;
/etc/nginx/sites-enabled/ngcp-www-csc:    listen   [::]:80 ipv6only=off;
/etc/nginx/sites-enabled/ngcp-www-csc:        listen [::]:443 ipv6only=off;
nginx -v
nginx version: nginx/1.4.4
/etc/nginx/sites-enabled/ngcp-panel: listen [::]:1443 ipv6only=off;  is missed. 

I was fix it by editing 
/etc/ngcp-config/templates/etc/nginx/sites-available/ngcp-panel.tt


Thanks for a help!!!



>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
>
>_______________________________________________
>Spce-user mailing list
>Spce-user at lists.sipwise.com
>http://lists.sipwise.com/listinfo/spce-user


-- 
Sergey Kharlamov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20140307/f0ae211f/attachment-0001.html>


More information about the Spce-user mailing list