Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79DEAD611 for ; Thu, 15 Nov 2012 14:24:21 +0000 (UTC) Received: (qmail 67024 invoked by uid 500); 15 Nov 2012 14:24:20 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 65816 invoked by uid 500); 15 Nov 2012 14:24:16 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 64677 invoked by uid 99); 15 Nov 2012 14:24:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 14:24:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gavin.lxh@gmail.com designates 209.85.220.175 as permitted sender) Received: from [209.85.220.175] (HELO mail-vc0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 14:24:10 +0000 Received: by mail-vc0-f175.google.com with SMTP id p1so1711910vcq.6 for ; Thu, 15 Nov 2012 06:23:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sWwGJSrcKXfpmz2a8agF8vB+ChOL23dh3NxuX/hOKws=; b=KWvs83Cj8ZydDszGxiYCgM9XMGtkvW+3HbBQnz+TLiMh3Q/7D2fu4f9T4oSS8aua1b 4kCVkDOEamwWMyi7HfhZhRM/cIV9Qu7y7EwiXHod0/ncM/CsUJy6QEFKrT7wOhMCpMzZ 8c2AJAIL62bc7zhqXgMRePvw5G9it+CFgQvb8qY1G0gnf+gQLfYOD7WZd8dxb5zly4N/ nRJNe+mXV+hOGBXdwGx7rd0xs86AMbK/di+Ejqz3FIaKsmDvpGvU1g4qN9oQ4T39RdAD OmNNXAIB+77BGN3Z+sxNsy3EPb8fFEtT1CxKM7Bx6cB0w9aaGXwTeXvqN0utSGTgSoLq PLeA== MIME-Version: 1.0 Received: by 10.58.186.147 with SMTP id fk19mr1618794vec.13.1352989429486; Thu, 15 Nov 2012 06:23:49 -0800 (PST) Received: by 10.58.136.100 with HTTP; Thu, 15 Nov 2012 06:23:49 -0800 (PST) In-Reply-To: <2C97F788CCC013428671BC3A5FC2F64D0B8196@c-mail.cloud-valley.com.cn> References: <2C97F788CCC013428671BC3A5FC2F64D0B8196@c-mail.cloud-valley.com.cn> Date: Thu, 15 Nov 2012 22:23:49 +0800 Message-ID: Subject: Re: Need help From: Gavin Lee To: cloudstack-users@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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 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