Did you also do cloudstack-setup-database?

You dont need to start tomcat.

i assume you used a proper url to access cloudstack which is http://my-mgmt-ip:8080/client


On 8/26/14, 6:32 PM, Piers wrote:
On White screen:

2014-08-27 10:46:26,552 INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Running system integrity checker org.apache.cloudstack.utils.identity.ManagementServerNode@60472888


Try again and get 404

HTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/6.0.24

[root@host2 ~]# /etc/init.d/cloudstack-agent stop
Stopping Cloud Agent:
[root@host2 ~]# /etc/init.d/cloudstack-management stop
Stopping cloudstack-management:                            [  OK ]
[root@host2 ~]# cloudstack-setup-management
Starting to configure CloudStack Management Server:
Configure sudoers ...         [OK]
Configure Firewall ...        [OK]
Configure CloudStack Management Server ...[OK]
CloudStack Management Server setup is Done!
[root@host2 ~]# cloudstack-setup-agent
Welcome to the CloudStack Agent Setup:
Please input the Management Server Hostname/IP-Address:[x.x.x.x]
Please input the Zone Id:[1]
Please input the Pod Id:[1]
Please input the Cluster Id:[1]
Please choose which network used to create VM:[cloudbr0]
Starting to configure your system:
Configure Cgroup ...          [OK]
Configure SElinux ...         [OK]
Configure Network ...         [OK]
Configure Libvirt ...         [OK]
Configure Firewall ...        [OK]
Configure Nfs ...             [OK]
Configure cloudAgent ...      [OK]
CloudStack Agent setup is done!
[root@host2 ~]# /etc/init.d/cloudstack-management start
Starting cloudstack-management:                            [  OK ]
[root@host2 ~]# /etc/init.d/cloudstack-agent start
Starting Cloud Agent:
[root@host2 ~]# service tomcat6 stop
Stopping tomcat6:                                          [  OK ]
[root@host2 ~]# service tomcat6 start
Starting tomcat6:                                          [  OK ]


2014-08-27 10:58:26,347 DEBUG [o.a.c.s.l.r.RegistryLifecycle] (main:null) Registered com.cloud.server.ManagementServerImpl@4ce38314 2014-08-27 10:58:26,486 INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Running system integrity checker com.cloud.upgrade.DatabaseIntegrityChecker@63186b51 2014-08-27 10:58:26,487 INFO [c.c.u.DatabaseIntegrityChecker] (main:null) Grabbing lock to check for database integrity. 2014-08-27 10:58:26,488 INFO [c.c.u.DatabaseIntegrityChecker] (main:null) Performing database integrity check 2014-08-27 10:58:26,491 DEBUG [c.c.u.DatabaseIntegrityChecker] (main:null) No duplicate hosts with the same local storage found in database 2014-08-27 10:58:26,495 DEBUG [c.c.u.d.VersionDaoImpl] (main:null) Checking to see if the database is at a version before it was the version table is created 2014-08-27 10:58:26,498 INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Running system integrity checker org.apache.cloudstack.utils.identity.ManagementServerNode@227c9c43 2014-08-27 10:58:31,241 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackAccountDaoImpl_EnhancerByCloudStack_4db1ab80 2014-08-27 10:58:31,245 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.OfferingDaoImpl_EnhancerByCloudStack_e2bc1ada 2014-08-27 10:58:31,245 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SMetaDaoImpl_EnhancerByCloudStack_ff630ad2 2014-08-27 10:58:31,245 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.UserCredentialsDaoImpl_EnhancerByCloudStack_a064d5f1 2014-08-27 10:58:31,245 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MultipartMetaDaoImpl_EnhancerByCloudStack_e6cb8d91 2014-08-27 10:58:31,246 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackConfigurationDaoImpl_EnhancerByCloudStack_e971daf 2014-08-27 10:58:31,246 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.BucketPolicyDaoImpl_EnhancerByCloudStack_66318774 2014-08-27 10:58:31,246 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SObjectItemDaoImpl_EnhancerByCloudStack_4a443f3d 2014-08-27 10:58:31,246 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MHostMountDaoImpl_EnhancerByCloudStack_9f47734c 2014-08-27 10:58:31,246 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_112f958d 2014-08-27 10:58:31,247 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MultiPartUploadsDaoImpl_EnhancerByCloudStack_cca43aba 2014-08-27 10:58:31,247 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SBucketDaoImpl_EnhancerByCloudStack_9de07785 2014-08-27 10:58:31,247 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SAclDaoImpl_EnhancerByCloudStack_10cf5001 2014-08-27 10:58:31,247 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MultiPartPartsDaoImpl_EnhancerByCloudStack_989e653c 2014-08-27 10:58:31,247 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackSvcOfferingDaoImpl_EnhancerByCloudStack_97f4519f 2014-08-27 10:58:31,248 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_39c20bd7 2014-08-27 10:58:31,248 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_209c7bc8 2014-08-27 10:58:31,248 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_1beb0122 2014-08-27 10:58:31,248 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_73296078 2014-08-27 10:58:31,293 INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_9e59faed 2014-08-27 10:58:31,352 DEBUG [c.c.u.d.T.Transaction] (main:null) Rolling back the transaction: Time = 10 Name = initialize; called by -TransactionLegacy.rollback:903-TransactionLegacy.removeUpTo:846-TransactionLegacy.close:670-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:130-ServiceProvider.setupHost:312-ServiceProvider.initialize:242-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:122-ServiceProvider.configure:115-ComponentContext.initComponentsLifeCycle:116-EC2MainServlet.init:69-StandardWrapper.loadServlet:1173


Any ideas what I can do?

This is where I got up to last time and had to reinstall from scratch.

Cheers

P

Reply via email to