[Spce-user] Unable to login to https://<myip>:1443/login/admin

Sai Sameer sameer.pras at gmail.com
Mon Dec 26 13:43:15 EST 2016


All,

I tried changing the IP and ran the command you mentioned.

I observed below in log:

2016-12-19 23:50:54: Warning:
/etc/ngcp-config/templates/etc/ngcp-sems/sems.conf.services returned with
error code, continuing anyway.
2016-12-19 23:50:54: Executing action for
/etc/ngcp-config/templates/etc/nginx/sites-available/kamailio-presence.services
Restarting nginx: nginx failed!
2016-12-19 23:50:58: Executing action for
/etc/ngcp-config/templates/etc/nginx/sites-available/ngcp-panel_admin_api.services
Restarting nginx: nginx failed!
2016-12-19 23:51:02: Executing action for
/etc/ngcp-config/templates/etc/nginx/sites-available/ngcp-panel_csc.services
Restarting nginx: nginx failed!


When I navigated through the log (/var/log/ngcp/nginx/error.log), I found
below errors:

Please let me know if I can share the complete error.log file to you so
that I can get some help on this.


2016/12/19 22:20:28 [emerg] 13478#0: bind() to 192.168.8.7:1080 failed (98:
Address already in use)
2016/12/19 22:20:28 [emerg] 13478#0: bind() to 192.168.8.7:1443 failed (98:
Address already in use)
2016/12/19 22:20:28 [emerg] 13478#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 22:20:28 [emerg] 13478#0: bind() to 192.168.8.7:443 failed (98:
Address already in use)
2016/12/19 22:20:28 [emerg] 13478#0: bind() to 127.0.0.1:1442 failed (98:
Address already in use)
2016/12/19 22:20:28 [emerg] 13478#0: bind() to [::1]:1442 failed (98:
Address already in use)
2016/12/19 22:20:28 [emerg] 13478#0: bind() to 127.0.0.1:8081 failed (98:
Address already in use)
2016/12/19 22:20:28 [emerg] 13476#0: still could not bind()
2016/12/19 22:20:28 [emerg] 13478#0: still could not bind()
2016/12/19 23:50:55 [emerg] 5296#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:50:55 [emerg] 5296#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:50:55 [emerg] 5296#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:50:55 [emerg] 5296#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:50:55 [emerg] 5296#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:50:55 [emerg] 5296#0: still could not bind()
2016/12/19 23:50:59 [emerg] 5323#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:50:59 [emerg] 5323#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:50:59 [emerg] 5323#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:50:59 [emerg] 5323#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:50:59 [emerg] 5323#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:50:59 [emerg] 5323#0: still could not bind()
2016/12/19 23:51:03 [emerg] 5448#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:51:03 [emerg] 5448#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:51:03 [emerg] 5448#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:51:03 [emerg] 5448#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:51:03 [emerg] 5448#0: bind() to [::]:80 failed (98: Address
already in use)
2016/12/19 23:51:03 [emerg] 5448#0: still could not bind()

Thanks,

On Mon, 19 Dec 2016 at 23:42 Sai Sameer <sameer.pras at gmail.com> wrote:

Alex,

Thanks for your quickest response.

I have checked "/etc/ngcp-config/network.yml". Its data is as below:

eth0:
      ip: 192.168.8.7
      netmask: 255.255.255.0
      type:
        - web_ext
        - sip_ext
        - rtp_ext
        - web_int
        - ssh_ext
    interfaces:
      - lo
      - eth0
    lo:
      cluster_sets:
        - default
      ip: 127.0.0.1
      netmask: 255.255.255.0
      shared_ip: []
      shared_v6ip: []



But I am not able to open any of the below to login to sipwise:


https://127.0.0.1:1443/login/admin
https://192.168.8.7:1443/login/admin

I am getting "Problem Loading Page" error.

Can you please help if I need to change anything else to able to login to
sipwise.

Thanks,
Sameer



On Mon, 19 Dec 2016 at 23:19 Alex Lutay <alutay at sipwise.com> wrote:

Hi,

On 12/19/2016 06:15 PM, Sai Sameer wrote:
> Now I am not able to login to https://<myip>:1443/login/admin

Please check web_int assignments in /etc/ngcp-config/network.yml
it is on localhost by default to do not expose your's Admin interface to
the public by mistake, please move it to the necessary interfase and
run: ngcpcfg apply "move web_int to new interface"

> I tried with local IP (127.0.0.1)

You should use IP on the interface where web_int is assigned.
Please share what does it means "not able to login".

Cannot connect at all? Password is not accepted? SSL verification
failed? Also check logs in /var/log/ngcp/ for more details.

--
Alex Lutay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20161226/04268a47/attachment-0001.html>


More information about the Spce-user mailing list