[Spce-user] Can't access https admin web site after ngcp install on AWS
Andreas Granig
agranig at sipwise.com
Thu Jun 1 09:19:09 EDT 2017
Hi,
Just tried it in your region with the same AMI, and it worked out of the
box.
Actually the network mapping on AWS should be done automatically
anyways, so no need for the manual steps noted below.
My setup:
m3.xlarge with AMI ami-b9c19bd9 and an inbound security rule allowing
access to TCP/1443.
The overall system got more RAM intense over time, so maybe you're using
a too small instance type?
Andreas
On 06/01/2017 03:03 PM, Andreas Granig wrote:
> Hi Shoma,
>
> The most important thing (and probably the root the the issue) is that
> the network type web_int (which is defining where the admin web panel
> binds to) is listening on localhost only for security reasons after a
> fresh installation.
>
> So
> https://www.sipwise.org/doc/mr5.2.1/spce/ar01s04.html#_network_configuration
> describes the steps required to move web_int from lo to eth0 to be
> reachable from the outside:
>
> ngcp-network --set-interface=eth0 --ip=auto --netmask=auto
>
> ngcp-network --move-from=lo --move-to=eth0 --type=web_ext --type=sip_ext
> --type=rtp_ext --type=ssh_ext --type=web_int
>
> Let me know if this helps.
>
> Best regards,
> Andreas
>
> On 05/31/2017 11:08 PM, Yaroslav Fedorina wrote:
>> hi, Shoma!
>>
>> Please check that you executed the post-installation steps from section
>> 4.1 Network Configuration of the mr5.2.1 handbook (network configuration
>> and changes application).
>>
>> if you did, please check if someone is listening on port 443 or not:
>>
>> netstat -tulpn | grep 443
>>
>> and if nginx and ngcp-panel (perl-fcgi-pm) are running:
>>
>> ps aux | egrep 'nginx|perl'
>>
>> The below two commands might also help to investigate:
>>
>> tail -50 /var/log/ngcp/nginx/error.log
>> tail -50 /var/log/ngcp/panel.log
>>
>>
>> On Wed, May 31, 2017 at 9:54 PM, Chakravarty, Shoma <sschakra at amazon.com
>> <mailto:sschakra at amazon.com>> wrote:
>>
>> I’ve followed the instructions on the following web-site to install
>> an AWS AMI for sip wise --
>> https://www.sipwise.org/doc/mr5.2.1/spce/ar01s03.html#_amazon_ec2_image
>> <https://www.sipwise.org/doc/mr5.2.1/spce/ar01s03.html#_amazon_ec2_image>
>>
>> I am using AMI ngcp-ce-mr5.2.1 (ami-b9c19bd9) — in the Northern
>> California region.
>>
>> But I am unable to access the admin web page.
>> It appears that the web server is not installed or started correctly..
>>
>> Please help!
>> Thank you!
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>> https://lists.sipwise.com/listinfo/spce-user
>> <https://lists.sipwise.com/listinfo/spce-user>
>>
>>
>>
>>
>> --
>> Sincerely,
>>
>> Yaroslav Fedorina
>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> https://lists.sipwise.com/listinfo/spce-user
>>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
More information about the Spce-user
mailing list