Hi,
FYI
For mac osx it is illegal to use sed -r. As per a work around solution we
use -E instead of -r.

We used apache-stratos-4.0.0 version.

Thanks

On Tue, Sep 16, 2014 at 3:55 PM, Suhan Dharmasuriya <[email protected]> wrote:

> Hi,
>
> Myself and Thushara were following the tutorial [1] installing apache
> Stratos and came to the following section.
>
>    - Run the stratos-setup.sh file as the root.
>
> $ sudo ./setup.sh -p "default"
>
> After running the command we got the following error in our mac book pros.
> Detail terminal output is attached in the mail for reference.
>
> /WSO2/Products/stratos/opt/stratos-installer
> Warning: Using a password on the command line interface can be insecure.
> *ERROR 1061 (42000) at line 57: Duplicate key name
> 'REG_PATH_IND_BY_PATH_VALUE'*
>
> We also followed the apache stratos wiki [3].
> Please provide a direction to proceed from here.
>
> *Note*: *earlier setup.sh file gave an error saying,*
> sed: illegal option --r
> *Then the shell script was changed accordingly[2].*
> *Please note that we are using Mac OSX 10.9.4*
>
> *Then again an error appeared stating -i switch is not supported.*
>
> *Therefore the following shell script files were modified removing -i
> switch.*
> *ec2.sh*
> *openstack.sh*
> *setup.sh*
> *setup.conf*
>
> *Scripts are attached for reference. *
>
> [1]
> http://blog.ravihansa3000.com/2014/04/installing-apache-stratos-40-with.html
> [2] http://www.flashesofpanic.com/panic/002596.php
> [3]
> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Cloud+Controller+Configuration
>
> Thanks,
> Suhan and Thushara
> --
> Suhan Dharmasuriya
> Software Engineer - Test Automation
>
> *WSO2, Inc. *
>
> lean . enterprise . middleware
> Tel: +94 112 145345
> Mob: +94 779 869138
> Blog: http://suhancoold.blogspot.com/
>



-- 
Thushara Kasun Ranawaka
Software Engineer
WSO2 Inc.; <http://www.wso2.com>
lean.enterprise.middleware
Mobile : *+94 (0) 773438949*
*[email protected] <[email protected]>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to