RE: Error when running cloud-setup-databases from the source

2012-12-10 Thread Edison Su
ginal Message- > From: Kanzhe Jiang [mailto:kanzhe.ji...@bigswitch.com] > Sent: Monday, December 10, 2012 5:09 PM > To: cloudstack-dev@incubator.apache.org > Subject: Re: Error when running cloud-setup-databases from the source > > The mvn command was fine. The reason I tried "

Re: Error when running cloud-setup-databases from the source

2012-12-10 Thread Rohit Yadav
Yes, that won't work as it is the production script, and assumes that you've installed CloudStack therefore tries to locate the db.properties file in /etc/cloud/... You may try scp/copying the systemvm template from latest DevCloud (/opt/storage/secondary/template), it uses the same acton templa

Re: Error when running cloud-setup-databases from the source

2012-12-10 Thread Rohit Yadav
I'm not sure what can be the issue, probably some env. config issue. Try what Edison recommends, with that you should be able to setup your database. Regards. On 10-Dec-2012, at 1:58 PM, Kanzhe Jiang wrote: > I cloned master branch on a ubuntu 12.04 server and installed all required > packages

Re: Error when running cloud-setup-databases from the source

2012-12-10 Thread Kanzhe Jiang
The mvn command was fine. The reason I tried "cloud-setup-databases" was trying to fix the error when trying to prepare the system vm template with the following command. ./scripts/storage/secondary/cloud-install-sys-tmplt -m /export/secondary -u http://download.cloud.com/templates/acton/acton-sys

RE: Error when running cloud-setup-databases from the source

2012-12-10 Thread Edison Su
For developer, you can run maven command to deploydb: mvn -P developer -pl developer -Ddeploydb The developer build ref: https://cwiki.apache.org/CLOUDSTACK/building-with-maven.html > -Original Message- > From: Kanzhe Jiang [mailto:kanzhe.ji...@bigswitch.com] > Sent: Monday, December 10,