cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 韩登 <hand...@126.com>
Subject Re: 求救火啊!management启动报错!!!
Date Mon, 28 Sep 2015 06:01:04 GMT
清空数据库,重装management
On 09/28/2015 13:51, DonTony wrote:
2015-09-28 13:45:14,993 DEBUG [c.c.s.ConfigurationServerImpl] (main:null) Looks like system
account already exists2015-09-28 13:45:14,994 DEBUG [c.c.s.ConfigurationServerImpl] (main:null)
Looks like system user already exists2015-09-28 13:45:14,994 DEBUG [c.c.s.ConfigurationServerImpl]
(main:null) Looks like admin account already exists2015-09-28 13:45:14,994 DEBUG [c.c.s.ConfigurationServerImpl]
(main:null) Looks like admin user already exists2015-09-28 13:45:15,035 INFO  [c.c.s.ConfigurationServerImpl]
(main:null) Processing updateSSLKeyStore2015-09-28 13:45:15,052 INFO  [c.c.s.ConfigurationServerImpl]
(main:null) SSL keystore located at /etc/cloudstack/management/cloudmanagementserver.keystore2015-09-28
13:45:15,062 DEBUG [c.c.u.s.Script] (main:null) Executing: sudo cp -f /tmp/tmpkey /etc/cloudstack/management/cloudmanagementserver.keystore
2015-09-28 13:45:15,095 DEBUG [c.c.u.s.Script] (main:null) Exit value is 12015-09-28 13:45:15,095
DEBUG [c.c.u.s.Script] (main:null) sudo: no tty present and no askpass program specified2015-09-28
13:45:15,095 WARN  [c.c.s.ConfigurationServerImpl] (main:null) Would use fail-safe keystore
to continue.java.io.IOException: Fail to create keystore file!        at com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:664)
       at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:304)
       at com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:166)
       at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle$3.with(CloudStackExtendedLifeCycle.java:114)
       at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.with(CloudStackExtendedLifeCycle.java:153)
       at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.configure(CloudStackExtendedLifeCycle.java:110)
       at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:56)
       at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:167)
       at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)
       at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:339)
       at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:143)
       at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:108)
       at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:945)
       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
       at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:145)
       at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet$2.with(DefaultModuleDefinitionSet.java:122)
       at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:245)
       at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
       at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
       at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:233)
       at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContexts(DefaultModuleDefinitionSet.java:117)
       at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.load(DefaultModuleDefinitionSet.java:79)
       at org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loadModules(ModuleBasedContextFactory.java:37)
       at org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:70)
       at org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:57)
       at org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:61)
       at org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)      
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)      
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
       at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)   
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)     
  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
       at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)     
  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:722)        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
       at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)        at
org.apache.catalina.core.StandardService.start(StandardService.java:516)        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:593)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:606)        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Caused by: java.io.IOException
       at com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:661)
       ... 50 more2015-09-28 13:45:15,112 INFO  [c.c.s.ConfigurationServerImpl] (main:null)
Processing updateKeyPairs2015-09-28 13:45:15,112 INFO  [c.c.s.ConfigurationServerImpl] (main:null)
Keypairs already in database, updating local copy2015-09-28 13:45:15,136 INFO  [c.c.s.ConfigurationServerImpl]
(main:null) Going to update systemvm iso with generated keypairs if needed2015-09-28 13:45:15,136
INFO  [c.c.s.ConfigurationServerImpl] (main:null) Trying to inject public and private keys
into systemvm iso2015-09-28 13:45:15,136 DEBUG [c.c.u.s.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh
in the classpath2015-09-28 13:45:15,137 DEBUG [c.c.u.s.Script] (main:null) System resource:
null2015-09-28 13:45:15,137 DEBUG [c.c.u.s.Script] (main:null) Classpath resource: null2015-09-28
13:45:15,137 DEBUG [c.c.u.s.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh2015-09-28
13:45:15,138 DEBUG [c.c.u.s.Script] (main:null) Current binaries reside at /usr/share/cloudstack-management/webapps/client/WEB-INF/lib2015-09-28
13:45:15,138 DEBUG [c.c.u.s.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh
in /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/scripts/vm/systemvm/injectkeys.sh2015-09-28
13:45:15,138 DEBUG [c.c.u.s.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh
in /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/scripts/vm/systemvm/injectkeys.sh2015-09-28
13:45:15,138 DEBUG [c.c.u.s.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh
in /usr/share/cloudstack-management/webapps/client/WEB-INF/scripts/vm/systemvm/injectkeys.sh2015-09-28
13:45:15,138 DEBUG [c.c.u.s.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh
in /usr/share/cloudstack-management/webapps/client/scripts/vm/systemvm/injectkeys.sh2015-09-28
13:45:15,138 DEBUG [c.c.u.s.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh
in /usr/share/cloudstack-management/webapps/scripts/vm/systemvm/injectkeys.sh2015-09-28 13:45:15,138
DEBUG [c.c.u.s.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh in /usr/share/cloudstack-management/scripts/vm/systemvm/injectkeys.sh2015-09-28
13:45:15,138 DEBUG [c.c.u.s.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh
in /usr/share/scripts/vm/systemvm/injectkeys.sh2015-09-28 13:45:15,138 DEBUG [c.c.u.s.Script]
(main:null) Looking for scripts/vm/systemvm/injectkeys.sh in /usr/scripts/vm/systemvm/injectkeys.sh2015-09-28
13:45:15,138 DEBUG [c.c.u.s.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh
in /scripts/vm/systemvm/injectkeys.sh2015-09-28 13:45:15,138 DEBUG [c.c.u.s.Script] (main:null)
Searching in environment.properties2015-09-28 13:45:15,139 DEBUG [c.c.u.s.Script] (main:null)
environment.properties says scripts should be in /usr/share/cloudstack-common2015-09-28 13:45:15,139
DEBUG [c.c.u.s.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh in /usr/share/cloudstack-common/scripts/vm/systemvm/injectkeys.sh2015-09-28
13:45:15,139 DEBUG [c.c.u.s.Script] (main:null) Looking for vms/systemvm.iso in the classpath2015-09-28
13:45:15,139 DEBUG [c.c.u.s.Script] (main:null) System resource: null2015-09-28 13:45:15,139
DEBUG [c.c.u.s.Script] (main:null) Classpath resource: null2015-09-28 13:45:15,139 DEBUG [c.c.u.s.Script]
(main:null) Looking for vms/systemvm.iso2015-09-28 13:45:15,139 DEBUG [c.c.u.s.Script] (main:null)
Current binaries reside at /usr/share/cloudstack-management/webapps/client/WEB-INF/lib2015-09-28
13:45:15,139 DEBUG [c.c.u.s.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/vms/systemvm.iso2015-09-28
13:45:15,139 DEBUG [c.c.u.s.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/vms/systemvm.iso2015-09-28
13:45:15,139 DEBUG [c.c.u.s.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/cloudstack-management/webapps/client/WEB-INF/vms/systemvm.iso2015-09-28
13:45:15,139 DEBUG [c.c.u.s.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/cloudstack-management/webapps/client/vms/systemvm.iso2015-09-28
13:45:15,139 DEBUG [c.c.u.s.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/cloudstack-management/webapps/vms/systemvm.iso2015-09-28
13:45:15,139 DEBUG [c.c.u.s.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/cloudstack-management/vms/systemvm.iso2015-09-28
13:45:15,139 DEBUG [c.c.u.s.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/vms/systemvm.iso2015-09-28
13:45:15,139 DEBUG [c.c.u.s.Script] (main:null) Looking for vms/systemvm.iso in /usr/vms/systemvm.iso2015-09-28
13:45:15,139 DEBUG [c.c.u.s.Script] (main:null) Looking for vms/systemvm.iso in /vms/systemvm.iso2015-09-28
13:45:15,140 DEBUG [c.c.u.s.Script] (main:null) Searching in environment.properties2015-09-28
13:45:15,140 DEBUG [c.c.u.s.Script] (main:null) environment.properties says scripts should
be in /usr/share/cloudstack-common2015-09-28 13:45:15,140 DEBUG [c.c.u.s.Script] (main:null)
Looking for vms/systemvm.iso in /usr/share/cloudstack-common/vms/systemvm.iso2015-09-28 13:45:15,140
DEBUG [c.c.s.ConfigurationServerImpl] (main:null) Executing: /bin/bash /usr/share/cloudstack-common/scripts/vm/systemvm/injectkeys.sh
/var/cloudstack/management/.ssh/id_rsa.pub /var/cloudstack/management/.ssh/id_rsa /usr/share/cloudstack-common/vms/systemvm.iso
2015-09-28 13:45:15,184 DEBUG [c.c.s.ConfigurationServerImpl] (main:null) Exit value is 12015-09-28
13:45:15,184 DEBUG [c.c.s.ConfigurationServerImpl] (main:null) sudo: a password is required2015-09-28
13:45:15,185 INFO  [c.c.s.ConfigurationServerImpl] (main:null) Injected public and private
keys into systemvm iso with result : sudo: a password is required2015-09-28 13:45:15,185 WARN
 [c.c.s.ConfigurationServerImpl] (main:null) Failed to inject generated public key into systemvm
iso sudo: a password is required2015-09-28 13:45:20,098 INFO  [c.c.u.c.ComponentContext] (main:null)
Configuring com.cloud.bridge.persist.dao.OfferingDaoImpl_EnhancerByCloudStack_c3f86ec12015-09-28
13:45:20,102 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackAccountDaoImpl_EnhancerByCloudStack_2eedff672015-09-28
13:45:20,102 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SMetaDaoImpl_EnhancerByCloudStack_e09f5eb92015-09-28
13:45:20,103 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MultipartMetaDaoImpl_EnhancerByCloudStack_c807e1782015-09-28
13:45:20,103 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.UserCredentialsDaoImpl_EnhancerByCloudStack_81a129d82015-09-28
13:45:20,103 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackConfigurationDaoImpl_EnhancerByCloudStack_efd371962015-09-28
13:45:20,103 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.BucketPolicyDaoImpl_EnhancerByCloudStack_476ddb5b2015-09-28
13:45:20,103 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SObjectItemDaoImpl_EnhancerByCloudStack_2b8093242015-09-28
13:45:20,104 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MHostMountDaoImpl_EnhancerByCloudStack_8083c7332015-09-28
13:45:20,104 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_f26be9742015-09-28
13:45:20,104 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MultiPartUploadsDaoImpl_EnhancerByCloudStack_ade08ea12015-09-28
13:45:20,104 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SBucketDaoImpl_EnhancerByCloudStack_7f1ccb6c2015-09-28
13:45:20,105 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SAclDaoImpl_EnhancerByCloudStack_f20ba3e82015-09-28
13:45:20,105 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackSvcOfferingDaoImpl_EnhancerByCloudStack_7930a5862015-09-28
13:45:20,105 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MultiPartPartsDaoImpl_EnhancerByCloudStack_79dab9232015-09-28
13:45:20,105 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_1afe5fbe2015-09-28
13:45:20,105 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_fd2755092015-09-28
13:45:20,106 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_1d8cfaf2015-09-28
13:45:20,106 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_5465b45f2015-09-28
13:45:20,148 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_7f964ed42015-09-28
13:45:20,195 DEBUG [c.c.u.d.T.Transaction] (main:null) Rolling back the transaction: Time
= 3 Name =  initialize; called by -TransactionLegacy.rollback:902-TransactionLegacy.removeUpTo:845-TransactionLegacy.close:669-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


求各路大神帮忙看看,,,,,
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message