Hi Asiri,

Can you please try setting private IP as mb IP?


On Fri, Aug 1, 2014 at 2:37 PM, Asiri Liyana Arachchi <asiriw...@gmail.com>
wrote:

> On Fri, Aug 1, 2014 at 8:29 AM, Akila Ravihansa Perera <raviha...@wso2.com
> > wrote:
>
>> Hi Asiri,
>>
>> I presume you were able to telnet to ActiveMQ only after changing the
>> security group in EC2?
>>
>
> Yes. In setup.conf
> export mb_ip="54.191.12.21" # Machine ip on which mb run
>
>
>>
>> Check your /etc/hosts file again for any duplicate entries for that
>> hostname. Also try doing a dnslookup and see whether
>> stratos.apache.org actually points to the desired IP.
>>
>
>
> Checked again with deleting duplicate entries created on each start up of
> stratos in /etc/hosts .
> /etc/hosts content :
> *127.0.0.1  localhost*
> *127.0.0.1  puppet.test.org <http://puppet.test.org>*
> *54.191.12.21 stratostest.apache.org <http://stratostest.apache.org> #
> stratos domain*
>
> dns lookup
>
> *nslookup stratostest.apache.org <http://stratostest.apache.org> :*
> *Server: 172.31.0.2*
> *Address: 172.31.0.2#53*
>
> *** server can't find stratostest.apache.org
> <http://stratostest.apache.org>: NXDOMAIN*
>
>
> (changed setup.conf
> *export stratos_domain="stratostest.apache.org
> <http://stratostest.apache.org>" )*
>
>
> Thanks.
>
>
>
>
>
> On Fri, Aug 1, 2014 at 11:33 AM, Nirmal Fernando <nirmal070...@gmail.com>
> wrote:
>
>> For AWS internal calls, it's always better to use private IP of the
>> instance rather than public IPs.
>>
>>
>> On Fri, Aug 1, 2014 at 8:29 AM, Akila Ravihansa Perera <
>> raviha...@wso2.com> wrote:
>>
>>> Hi Asiri,
>>>
>>> I presume you were able to telnet to ActiveMQ only after changing the
>>> security group in EC2?
>>>
>>> Check your /etc/hosts file again for any duplicate entries for that
>>> hostname. Also try doing a dnslookup and see whether
>>> stratos.apache.org actually points to the desired IP.
>>>
>>> Thanks.
>>>
>>> On Fri, Aug 1, 2014 at 2:17 AM, Asiri Liyana Arachchi
>>> <asiriw...@gmail.com> wrote:
>>> > On Thu, Jul 31, 2014 at 11:23 PM, Akila Ravihansa Perera
>>> > <raviha...@wso2.com> wrote:
>>> >>
>>> >> Hi Asiri,
>>> >>
>>> >> I think this is because of the EC2 security group that you have
>>> configured
>>> >> in your instance. Have you opened the ports required by Stratos and
>>> ActiveMQ
>>> >> (Message Broker)?
>>> >
>>> >
>>> > Yep after changing the security group settings now it's possible to
>>> access
>>> > https://ip:9443/console .
>>> > But still can't access https://stratos.apache.org:9443/console .
>>> >
>>> >
>>> >
>>> > On Fri, Aug 1, 2014 at 12:01 AM, Udara Liyanage <ud...@wso2.com>
>>> wrote:
>>> >>
>>> >> Hi,
>>> >>
>>> >> Can you check whether ActiveMQ is accessible from Stratos machine. Try
>>> >>
>>> >> telnet 54.191.61.79 61616
>>> >> Touched, not typed. Erroneous words are a feature, not a typo.
>>> >
>>> > It's accessible. output:
>>> >
>>> > Trying 54.191.61.79...
>>> > Connected to 54.191.61.79.
>>> > Escape character is '^]'.
>>> > � ActiveMQ ....
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > On Fri, Aug 1, 2014 at 12:01 AM, Udara Liyanage <ud...@wso2.com>
>>> wrote:
>>> >>
>>> >>
>>> >> Hi,
>>> >>
>>> >> Can you check whether ActiveMQ is accessible from Stratos machine. Try
>>> >>
>>> >> telnet 54.191.61.79 61616
>>> >>
>>> >> Touched, not typed. Erroneous words are a feature, not a typo.
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> Software Engineer
>>> WSO2 Inc.
>>> http://wso2.com
>>>
>>> Phone: +94 77 64 154 38
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Reply via email to