You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by vinod hire <vi...@gmail.com> on 2012/11/13 18:16:34 UTC
Need help
Hi,
I am trying to setup cloudstack dev environment.
I have downloaded the src from git repository and url as well but I am
getting following error while deploying db...
command : and deploydb
[exec] deploy-db-dev.sh: line 18: $'\r': command not found
[exec] deploy-db-dev.sh: line 19: $'\r': command not found
[exec] deploy-db-dev.sh: line 20: $'\r': command not found
[exec] deploy-db-dev.sh: line 21: $'\r': command not found
[exec] deploy-db-dev.sh: line 22: $'\r': command not found
[exec] deploy-db-dev.sh: line 25: $'\r': command not found
[exec] deploy-db-dev.sh: line 64: syntax error near unexpected token
`$'{\r''
[exec] deploy-db-dev.sh: line 64: `handle_error() {
[exec] '
BUILD FAILED
I tried looking into the deploy-db-dev.sh file on the above line nos but no
error as prompted.
Please guide me if anyone had similar kind of issue.
Thanks in adavance :)
Cheers,
Vinod
Re: Need help
Posted by Gavin Lee <ga...@gmail.com>.
You can test by using "dos2unix deploy-db-dev.sh" then run again.
In linux env by default it should be correct line ending.
On Wed, Nov 14, 2012 at 11:19 AM, Mice Xia <mi...@tcloudcomputing.com> wrote:
> Seems a line end problem, did you set line ends properly?
> https://cwiki.apache.org/CLOUDSTACK/git.html#Git-Lineendings
>
> Regards
> Mice
>
> -----Original Message-----
> From: vinod hire [mailto:vinod.hire.csn@gmail.com]
> Sent: Wednesday, November 14, 2012 1:17 AM
> To: cloudstack-users@incubator.apache.org; vinod hire
> Subject: Need help
>
> Hi,
>
> I am trying to setup cloudstack dev environment.
> I have downloaded the src from git repository and url as well but I am
> getting following error while deploying db...
>
> command : and deploydb
>
>
> [exec] deploy-db-dev.sh: line 18: $'\r': command not found
> [exec] deploy-db-dev.sh: line 19: $'\r': command not found
> [exec] deploy-db-dev.sh: line 20: $'\r': command not found
> [exec] deploy-db-dev.sh: line 21: $'\r': command not found
> [exec] deploy-db-dev.sh: line 22: $'\r': command not found
> [exec] deploy-db-dev.sh: line 25: $'\r': command not found
> [exec] deploy-db-dev.sh: line 64: syntax error near unexpected token
> `$'{\r''
> [exec] deploy-db-dev.sh: line 64: `handle_error() {
> [exec] '
>
> BUILD FAILED
>
> I tried looking into the deploy-db-dev.sh file on the above line nos but no
> error as prompted.
>
> Please guide me if anyone had similar kind of issue.
>
> Thanks in adavance :)
>
> Cheers,
> Vinod
--
Gavin
RE: Need help
Posted by Mice Xia <mi...@tcloudcomputing.com>.
Seems a line end problem, did you set line ends properly?
https://cwiki.apache.org/CLOUDSTACK/git.html#Git-Lineendings
Regards
Mice
-----Original Message-----
From: vinod hire [mailto:vinod.hire.csn@gmail.com]
Sent: Wednesday, November 14, 2012 1:17 AM
To: cloudstack-users@incubator.apache.org; vinod hire
Subject: Need help
Hi,
I am trying to setup cloudstack dev environment.
I have downloaded the src from git repository and url as well but I am
getting following error while deploying db...
command : and deploydb
[exec] deploy-db-dev.sh: line 18: $'\r': command not found
[exec] deploy-db-dev.sh: line 19: $'\r': command not found
[exec] deploy-db-dev.sh: line 20: $'\r': command not found
[exec] deploy-db-dev.sh: line 21: $'\r': command not found
[exec] deploy-db-dev.sh: line 22: $'\r': command not found
[exec] deploy-db-dev.sh: line 25: $'\r': command not found
[exec] deploy-db-dev.sh: line 64: syntax error near unexpected token
`$'{\r''
[exec] deploy-db-dev.sh: line 64: `handle_error() {
[exec] '
BUILD FAILED
I tried looking into the deploy-db-dev.sh file on the above line nos but no
error as prompted.
Please guide me if anyone had similar kind of issue.
Thanks in adavance :)
Cheers,
Vinod
Re: Need help
Posted by Matty Courtney <ma...@citrix.com>.
You'll probably get more responses by posting this to the cloudstack-dev
list
On 14/11/12 4:16 AM, "vinod hire" <vi...@gmail.com> wrote:
>Hi,
>
>I am trying to setup cloudstack dev environment.
>I have downloaded the src from git repository and url as well but I am
>getting following error while deploying db...
>
>command : and deploydb
>
>
> [exec] deploy-db-dev.sh: line 18: $'\r': command not found
> [exec] deploy-db-dev.sh: line 19: $'\r': command not found
> [exec] deploy-db-dev.sh: line 20: $'\r': command not found
> [exec] deploy-db-dev.sh: line 21: $'\r': command not found
> [exec] deploy-db-dev.sh: line 22: $'\r': command not found
> [exec] deploy-db-dev.sh: line 25: $'\r': command not found
> [exec] deploy-db-dev.sh: line 64: syntax error near unexpected token
>`$'{\r''
> [exec] deploy-db-dev.sh: line 64: `handle_error() {
> [exec] '
>
>BUILD FAILED
>
>I tried looking into the deploy-db-dev.sh file on the above line nos but
>no
>error as prompted.
>
>Please guide me if anyone had similar kind of issue.
>
>Thanks in adavance :)
>
>Cheers,
>Vinod