You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by guang wu <ki...@gmail.com> on 2012/05/17 04:11:29 UTC
Problem: about How to set up a CloudStack development environment
You may want to send this message instead to
cloudstack-dev@incubator.apache.org - this list is in the process of
being shut down as CloudStack has moved to the Apache Software
Foundation.
--David
---------- Forwarded message ----------
From: <cl...@lists.sourceforge.net>
Date: Tue, May 15, 2012 at 11:28 PM
Subject: cloudstack-devel post from kingkisskill@gmail.com requires approval
To: cloudstack-devel-owner@lists.sourceforge.net
As list administrator, your authorization is requested for the
following mailing list posting:
List: cloudstack-devel@lists.sourceforge.net
From: kingkisskill@gmail.com
Subject: Problem: about How to set up a CloudStack development
environment
Reason: Post by non-member to a members-only list
At your convenience, visit:
https://lists.sourceforge.net/lists/admindb/cloudstack-devel
to approve or deny the request.
---------- Forwarded message ----------
From: "kingkisskill" <ki...@gmail.com>
To: "cloudstack-devel" <cl...@lists.sourceforge.net>
Cc:
Date: Wed, 16 May 2012 11:27:52 +0800
Subject: Problem: about How to set up a CloudStack development environment
Hi, friends, i have a problem about "How to set up a CloudStack
development environment".
According yours document i tried to set up development environment,
but i have a problem
when i run "ant deploydb" command, give me some error such as:
[root@king CloudStack]# ant deploydb
Buildfile: build.xml
[echo] Using build parameters from
/root/workspace/CloudStack/build/build-cloud.properties
[echo] Using company info from
/root/workspace/CloudStack/build/cloud.properties
[echo] Using override file from
/root/workspace/CloudStack/build/replace.properties
deploydb:
[echo] deploydb server-setup.xml templates.sql ${DBROOTPW}
[exec] deploy-db-dev.sh: line 54: syntax error near unexpected token `{
[exec] 'deploy-db-dev.sh: line 54: `handle_error() {
[exec] '
[exec] Result: 2
but these script is auto produce,not me write,
my database don't work(configure fail) ,Even so i may be access my
web address, but when i browser http://localhost:8080/client/ ,it
prompt me the http 404 error!
why is this ? i need help for you, thanks!
2012-05-16
________________________________
kingkisskill
RE: Problem: about How to set up a CloudStack development
environment
Posted by Edison Su <Ed...@citrix.com>.
Need to add DBROOTPW parameter:
On your root cloudstack source code directory,
mkdir build/override
cp build/replace.properties build/override/replace.properties
add DBROOTPW=your-mysql-server-root-password into build/override/replace.properties
then "ant clean-all build-all deploy-server"
> -----Original Message-----
> From: guang wu [mailto:kingkisskill@gmail.com]
> Sent: Wednesday, May 16, 2012 7:11 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: Problem: about How to set up a CloudStack development
> environment
>
> You may want to send this message instead to
> cloudstack-dev@incubator.apache.org - this list is in the process of
> being shut down as CloudStack has moved to the Apache Software
> Foundation.
>
> --David
>
>
> ---------- Forwarded message ----------
> From: <cl...@lists.sourceforge.net>
> Date: Tue, May 15, 2012 at 11:28 PM
> Subject: cloudstack-devel post from kingkisskill@gmail.com requires
> approval
> To: cloudstack-devel-owner@lists.sourceforge.net
>
>
> As list administrator, your authorization is requested for the
> following mailing list posting:
>
> List: cloudstack-devel@lists.sourceforge.net
> From: kingkisskill@gmail.com
> Subject: Problem: about How to set up a CloudStack development
> environment
> Reason: Post by non-member to a members-only list
>
> At your convenience, visit:
>
> https://lists.sourceforge.net/lists/admindb/cloudstack-devel
>
> to approve or deny the request.
>
>
> ---------- Forwarded message ----------
> From: "kingkisskill" <ki...@gmail.com>
> To: "cloudstack-devel" <cl...@lists.sourceforge.net>
> Cc:
> Date: Wed, 16 May 2012 11:27:52 +0800
> Subject: Problem: about How to set up a CloudStack development
> environment
> Hi, friends, i have a problem about "How to set up a CloudStack
> development environment".
> According yours document i tried to set up development environment,
> but i have a problem
> when i run "ant deploydb" command, give me some error such as:
> [root@king CloudStack]# ant deploydb
>
> Buildfile: build.xml
> [echo] Using build parameters from
> /root/workspace/CloudStack/build/build-cloud.properties
> [echo] Using company info from
> /root/workspace/CloudStack/build/cloud.properties
> [echo] Using override file from
> /root/workspace/CloudStack/build/replace.properties
> deploydb:
> [echo] deploydb server-setup.xml templates.sql ${DBROOTPW}
> [exec] deploy-db-dev.sh: line 54: syntax error near unexpected
> token `{
> [exec] 'deploy-db-dev.sh: line 54: `handle_error() {
> [exec] '
> [exec] Result: 2
>
> but these script is auto produce,not me write,
>
> my database don't work(configure fail) ,Even so i may be access my
> web address, but when i browser http://localhost:8080/client/ ,it
> prompt me the http 404 error!
>
> why is this ? i need help for you, thanks!
> 2012-05-16
> ________________________________
> kingkisskill