Re: [Dev] Vagrent from puppet modules startup error

2016-05-26 Thread Manuranga Perera
Hi,
Solved by adding a git attribute file.

# sh scripts must have unix line endings to work
*.erb text eol=lf

I'll send a PR later.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Vagrent from puppet modules startup error

2016-05-25 Thread Imesh Gunaratne
Hi Manu,

On Thu, May 26, 2016 at 1:56 AM, Manuranga Perera  wrote:

> I think I found the issue: I am running from windows the end-of-line
> marker is different.
>

Yes, we might need to run this on a Linux box or using a bash shell on
Windows.

Thanks

>
> On Wed, May 25, 2016 at 4:09 PM, Manuranga Perera  wrote:
>
>>
>>
>> On Wed, May 25, 2016 at 4:07 PM, Manuranga Perera  wrote:
>>
>>> I am running vagrent up [1] and I following error
>>>
>>> ==> wso2esb.4.9.0.dev.wso2.org: Error: Could not start
>>> Service[wso2esb]: Execution of '/etc/init.d/wso2esb start' returned 2:
>>> ==> wso2esb.4.9.0.dev.wso2.org: Error:
>>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>>> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb]/ensure
>>> :
>>> change from stopped to running failed: Could not start Service[wso2esb]:
>>> Execution of '/etc/init.d/wso2esb start' returned 2:
>>> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
>>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>>> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb
>>> ]: Triggered
>>> 'refresh' from 2 events
>>> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
>>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>>> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>>>  started
>>> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
>>> 192.168.100.2/wso2esb-4.9.0]: Dependency Service[wso2esb] has failures:
>>> true
>>> ==> wso2esb.4.9.0.dev.wso2.org: Warning:
>>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>>> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>>>  started
>>> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
>>> 192.168.100.2/wso2esb-4.9.0]: Skipping because of failed dependencies
>>> ==> wso2esb.4.9.0.dev.wso2.org: Notice: Finished catalog run in 13.66
>>> seconds
>>>
>>> Are these error lines expected ?
>>>
>>> [1] https://github.com/wso2/puppet-modules/tree/master/vagrant
>>> --
>>> With regards,
>>> *Manu*ranga Perera.
>>>
>>> phone : 071 7 70 20 50
>>> mail : m...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.io TW: @imesh
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Vagrent from puppet modules startup error

2016-05-25 Thread Manuranga Perera
I think I found the issue: I am running from windows the end-of-line marker
is different.

On Wed, May 25, 2016 at 4:09 PM, Manuranga Perera  wrote:

>
>
> On Wed, May 25, 2016 at 4:07 PM, Manuranga Perera  wrote:
>
>> I am running vagrent up [1] and I following error
>>
>> ==> wso2esb.4.9.0.dev.wso2.org: Error: Could not start Service[wso2esb]:
>> Execution of '/etc/init.d/wso2esb start' returned 2:
>> ==> wso2esb.4.9.0.dev.wso2.org: Error:
>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb]/ensure
>> :
>> change from stopped to running failed: Could not start Service[wso2esb]:
>> Execution of '/etc/init.d/wso2esb start' returned 2:
>> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb
>> ]: Triggered
>> 'refresh' from 2 events
>> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>>  started
>> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
>> 192.168.100.2/wso2esb-4.9.0]: Dependency Service[wso2esb] has failures:
>> true
>> ==> wso2esb.4.9.0.dev.wso2.org: Warning:
>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>>  started
>> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
>> 192.168.100.2/wso2esb-4.9.0]: Skipping because of failed dependencies
>> ==> wso2esb.4.9.0.dev.wso2.org: Notice: Finished catalog run in 13.66
>> seconds
>>
>> Are these error lines expected ?
>>
>> [1] https://github.com/wso2/puppet-modules/tree/master/vagrant
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Vagrent from puppet modules startup error

2016-05-25 Thread Manuranga Perera
On Wed, May 25, 2016 at 4:07 PM, Manuranga Perera  wrote:

> I am running vagrent up [1] and I following error
>
> ==> wso2esb.4.9.0.dev.wso2.org: Error: Could not start Service[wso2esb]:
> Execution of '/etc/init.d/wso2esb start' returned 2:
> ==> wso2esb.4.9.0.dev.wso2.org: Error:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb]/ensure
> :
> change from stopped to running failed: Could not start Service[wso2esb]:
> Execution of '/etc/init.d/wso2esb start' returned 2:
> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb
> ]: Triggered
> 'refresh' from 2 events
> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>  started
> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
> 192.168.100.2/wso2esb-4.9.0]: Dependency Service[wso2esb] has failures:
> true
> ==> wso2esb.4.9.0.dev.wso2.org: Warning:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>  started
> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
> 192.168.100.2/wso2esb-4.9.0]: Skipping because of failed dependencies
> ==> wso2esb.4.9.0.dev.wso2.org: Notice: Finished catalog run in 13.66
> seconds
>
> Are these error lines expected ?
>
> [1] https://github.com/wso2/puppet-modules/tree/master/vagrant
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev