You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by 史丽丽 <sh...@neusoft.com> on 2014/03/26 10:14:20 UTC

服务启动不成功

您好,我这边做一个cloudstack的部署,目前是在一台虚拟机上装cloudstack,数据库安装成功,操作系统是rhel

cs版本为4.2,到初始化cloudstack管理程序步骤,执行如下命令cloudstack-setup-management

参看日志为:/var/log/cloudstack/management/catalina.out 
cs启动报错如下:服务启动不成功,望您给予解答,谢谢。



maxElementsOnDisk = 0 memoryStoreEvictionPolicy = LRU timeToLiveSeconds = 600 timeToIdleSeconds = 300 diskPersistent = false diskExpiryThreadIntervalSeconds = 120 cacheEventListeners:  hitCount = 0 memoryStoreHitCount = 0 diskStoreHitCount = 0 missCountNotFound = 0 missCountExpired = 0 ]
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.upgrade.DatabaseIntegrityChecker_EnhancerByCloudStack_ead01e13
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.server.ConfigurationServerImpl_EnhancerByCloudStack_a685eed4
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing updateSSLKeyStore
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) SSL keystore located at /etc/cloudstack/management/cloud.keystore
WARN  [cloud.server.ConfigurationServerImpl] (Timer-2:) Would use fail-safe keystore to continue.
java.io.IOException: Fail to generate certificate!: sudo: keytool: command not found
at com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:496)
at com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:517)
at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:289)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:157)
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing updateKeyPairs
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs already in database, updating local copy
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update systemvm iso with generated keypairs if needed
2014-3-26 13:57:40 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization completed in 3871 ms
2014-3-26 13:57:40 org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor <init>
信息: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.utils.crypt.EncryptionSecretKeyChecker_EnhancerByCloudStack_375384cc
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.cluster.ManagementServerNode_EnhancerByCloudStack_ab03d7d2
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.cluster.ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Start configuring cluster manager : ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster node IP : 192.168.131.141
INFO  [utils.db.Merovingian2] (Timer-2:) Cleaning up locks for 86530476470110
INFO  [utils.db.Merovingian2] (Timer-2:) Released 0 locks for 86530476470110
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) register cluster listener class com.cloud.cluster.LockMasterListener
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Trying to connect to 192.168.131.141
ERROR [cloud.cluster.ClusterManagerImpl] (Timer-2:) Unable to ping management server at 192.168.131.141:9090 due to ConnectException
java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1405)
at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1384)
at com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1461)
at com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1347)
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Detected that another management node with the same IP 192.168.131.141 is considered as running in DB, however it is not pingable, we will continue cluster initialization with this management server node
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster manager is configured.
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring org.apach




史丽丽

发件人: Liu Fred
发送时间: 2014-03-26 16:47
收件人: users-cn@cloudstack.apache.org
主题: CS 4.3发布了,准备试用吗?
有多少人准备试用这个版本的?生产还是测试?
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

回复: 服务启动不成功

Posted by ganglin_lan <ga...@tcloudcomputing.com>.
先把这个问题解决了吧
2:) Detected that another management node with the same IP 192.168.131.141 is considered as running in DB, however it is not pingable, we will continue cluster initialization with this management server node






ganglin_lan

发件人: 史丽丽
发送时间: 2014-03-26 17:14
收件人: users-cn@cloudstack.apache.org
主题: 服务启动不成功
您好,我这边做一个cloudstack的部署,目前是在一台虚拟机上装cloudstack,数据库安装成功,操作系统是rhel

cs版本为4.2,到初始化cloudstack管理程序步骤,执行如下命令cloudstack-setup-management

参看日志为:/var/log/cloudstack/management/catalina.out 
cs启动报错如下:服务启动不成功,望您给予解答,谢谢。



maxElementsOnDisk = 0 memoryStoreEvictionPolicy = LRU timeToLiveSeconds = 600 timeToIdleSeconds = 300 diskPersistent = false diskExpiryThreadIntervalSeconds = 120 cacheEventListeners:  hitCount = 0 memoryStoreHitCount = 0 diskStoreHitCount = 0 missCountNotFound = 0 missCountExpired = 0 ]
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.upgrade.DatabaseIntegrityChecker_EnhancerByCloudStack_ead01e13
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.server.ConfigurationServerImpl_EnhancerByCloudStack_a685eed4
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing updateSSLKeyStore
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) SSL keystore located at /etc/cloudstack/management/cloud.keystore
WARN  [cloud.server.ConfigurationServerImpl] (Timer-2:) Would use fail-safe keystore to continue.
java.io.IOException: Fail to generate certificate!: sudo: keytool: command not found
at com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:496)
at com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:517)
at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:289)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:157)
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing updateKeyPairs
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs already in database, updating local copy
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update systemvm iso with generated keypairs if needed
2014-3-26 13:57:40 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization completed in 3871 ms
2014-3-26 13:57:40 org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor <init>
信息: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.utils.crypt.EncryptionSecretKeyChecker_EnhancerByCloudStack_375384cc
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.cluster.ManagementServerNode_EnhancerByCloudStack_ab03d7d2
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.cluster.ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Start configuring cluster manager : ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster node IP : 192.168.131.141
INFO  [utils.db.Merovingian2] (Timer-2:) Cleaning up locks for 86530476470110
INFO  [utils.db.Merovingian2] (Timer-2:) Released 0 locks for 86530476470110
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) register cluster listener class com.cloud.cluster.LockMasterListener
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Trying to connect to 192.168.131.141
ERROR [cloud.cluster.ClusterManagerImpl] (Timer-2:) Unable to ping management server at 192.168.131.141:9090 due to ConnectException
java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1405)
at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1384)
at com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1461)
at com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1347)
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Detected that another management node with the same IP 192.168.131.141 is considered as running in DB, however it is not pingable, we will continue cluster initialization with this management server node
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster manager is configured.
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring org.apach




史丽丽

发件人: Liu Fred
发送时间: 2014-03-26 16:47
收件人: users-cn@cloudstack.apache.org
主题: CS 4.3发布了,准备试用吗?
有多少人准备试用这个版本的?生产还是测试?
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

回复: Re: 服务启动不成功

Posted by 史丽丽 <sh...@neusoft.com>.
我已经安装keytool,用命令导入 keytool -genkey -keystore /etc/cloud/management/cloud.keystore ,但是我的这个文件夹下没有cloud.keystone这个文件,网上查了一下没找到文件。




史丽丽

发件人: tanthalas
发送时间: 2014-03-26 17:33
收件人: users-cn
主题: Re: 服务启动不成功
再看一下那个目录下的management-server.log,建议分析log应该看此文件。
可以尝试关闭防火墙


刘宇超



发件人: 史丽丽 
发送时间: 2014-03-26  17:15:53 
收件人: users-cn@cloudstack.apache.org 
抄送: 
主题: 服务启动不成功 
您好,我这边做一个cloudstack的部署,目前是在一台虚拟机上装cloudstack,数据库安装成功,操作系统是rhel
cs版本为4.2,到初始化cloudstack管理程序步骤,执行如下命令cloudstack-setup-management
参看日志为:/var/log/cloudstack/management/catalina.out 
cs启动报错如下:服务启动不成功,望您给予解答,谢谢。
maxElementsOnDisk = 0 memoryStoreEvictionPolicy = LRU timeToLiveSeconds = 600 timeToIdleSeconds = 300 diskPersistent = false diskExpiryThreadIntervalSeconds = 120 cacheEventListeners:  hitCount = 0 memoryStoreHitCount = 0 diskStoreHitCount = 0 missCountNotFound = 0 missCountExpired = 0 ]
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.upgrade.DatabaseIntegrityChecker_EnhancerByCloudStack_ead01e13
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.server.ConfigurationServerImpl_EnhancerByCloudStack_a685eed4
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing updateSSLKeyStore
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) SSL keystore located at /etc/cloudstack/management/cloud.keystore
WARN  [cloud.server.ConfigurationServerImpl] (Timer-2:) Would use fail-safe keystore to continue.
java.io.IOException: Fail to generate certificate!: sudo: keytool: command not found
at com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:496)
at com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:517)
at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:289)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:157)
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing updateKeyPairs
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs already in database, updating local copy
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update systemvm iso with generated keypairs if needed
2014-3-26 13:57:40 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization completed in 3871 ms
2014-3-26 13:57:40 org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor <init>
信息: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.utils.crypt.EncryptionSecretKeyChecker_EnhancerByCloudStack_375384cc
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.cluster.ManagementServerNode_EnhancerByCloudStack_ab03d7d2
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.cluster.ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Start configuring cluster manager : ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster node IP : 192.168.131.141
INFO  [utils.db.Merovingian2] (Timer-2:) Cleaning up locks for 86530476470110
INFO  [utils.db.Merovingian2] (Timer-2:) Released 0 locks for 86530476470110
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) register cluster listener class com.cloud.cluster.LockMasterListener
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Trying to connect to 192.168.131.141
ERROR [cloud.cluster.ClusterManagerImpl] (Timer-2:) Unable to ping management server at 192.168.131.141:9090 due to ConnectException
java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1405)
at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1384)
at com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1461)
at com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1347)
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Detected that another management node with the same IP 192.168.131.141 is considered as running in DB, however it is not pingable, we will continue cluster initialization with this management server node
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster manager is configured.
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring org.apach
史丽丽
发件人: Liu Fred
发送时间: 2014-03-26 16:47
收件人: users-cn@cloudstack.apache.org
主题: CS 4.3发布了,准备试用吗?
有多少人准备试用这个版本的?生产还是测试?
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

Re: 服务启动不成功

Posted by tanthalas <ta...@hotmail.com>.
再看一下那个目录下的management-server.log,建议分析log应该看此文件。
可以尝试关闭防火墙


刘宇超



发件人: 史丽丽 
发送时间: 2014-03-26  17:15:53 
收件人: users-cn@cloudstack.apache.org 
抄送: 
主题: 服务启动不成功 
您好,我这边做一个cloudstack的部署,目前是在一台虚拟机上装cloudstack,数据库安装成功,操作系统是rhel
cs版本为4.2,到初始化cloudstack管理程序步骤,执行如下命令cloudstack-setup-management
参看日志为:/var/log/cloudstack/management/catalina.out 
cs启动报错如下:服务启动不成功,望您给予解答,谢谢。
maxElementsOnDisk = 0 memoryStoreEvictionPolicy = LRU timeToLiveSeconds = 600 timeToIdleSeconds = 300 diskPersistent = false diskExpiryThreadIntervalSeconds = 120 cacheEventListeners:  hitCount = 0 memoryStoreHitCount = 0 diskStoreHitCount = 0 missCountNotFound = 0 missCountExpired = 0 ]
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.upgrade.DatabaseIntegrityChecker_EnhancerByCloudStack_ead01e13
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.server.ConfigurationServerImpl_EnhancerByCloudStack_a685eed4
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing updateSSLKeyStore
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) SSL keystore located at /etc/cloudstack/management/cloud.keystore
WARN  [cloud.server.ConfigurationServerImpl] (Timer-2:) Would use fail-safe keystore to continue.
java.io.IOException: Fail to generate certificate!: sudo: keytool: command not found
at com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:496)
at com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:517)
at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:289)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:157)
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing updateKeyPairs
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs already in database, updating local copy
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update systemvm iso with generated keypairs if needed
2014-3-26 13:57:40 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization completed in 3871 ms
2014-3-26 13:57:40 org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor <init>
信息: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.utils.crypt.EncryptionSecretKeyChecker_EnhancerByCloudStack_375384cc
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.cluster.ManagementServerNode_EnhancerByCloudStack_ab03d7d2
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.cluster.ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Start configuring cluster manager : ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster node IP : 192.168.131.141
INFO  [utils.db.Merovingian2] (Timer-2:) Cleaning up locks for 86530476470110
INFO  [utils.db.Merovingian2] (Timer-2:) Released 0 locks for 86530476470110
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) register cluster listener class com.cloud.cluster.LockMasterListener
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Trying to connect to 192.168.131.141
ERROR [cloud.cluster.ClusterManagerImpl] (Timer-2:) Unable to ping management server at 192.168.131.141:9090 due to ConnectException
java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1405)
at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1384)
at com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1461)
at com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1347)
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Detected that another management node with the same IP 192.168.131.141 is considered as running in DB, however it is not pingable, we will continue cluster initialization with this management server node
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster manager is configured.
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring org.apach
史丽丽
发件人: Liu Fred
发送时间: 2014-03-26 16:47
收件人: users-cn@cloudstack.apache.org
主题: CS 4.3发布了,准备试用吗?
有多少人准备试用这个版本的?生产还是测试?
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

Re: 添加ISCSI存储的虚拟机出现闪退

Posted by ganglin_lan <ga...@tcloudcomputing.com>.
现象是看不出问题的,得看本质,说好的log呢?




ganglin_lan

发件人: 许叁征
发送时间: 2014-03-31 16:36
收件人: users-cn@cloudstack.apache.org
主题: 添加ISCSI存储的虚拟机出现闪退
 HI ALL
 最近新上两个节点XENserver,添加节点各项正常,同时也添加了ISCSI存储。
 启动虚拟机发现无法启动,资源 也够,检查二级存储发现是0.0KB 但是使用SSVM也启动正常,通过原有模板创建的也能正常创建。


问题来了,虚拟机创建一直不能成功,指定了ISCSI存储和新增的节点标签,发现在ISCSI的存储上,虚拟机启动出现一闪而过,在ISCSI存储发现它创建了文件,而后又删除掉了。
虚拟机就失败掉了。
这是怎么回事,问题要如何解决,谢谢

添加ISCSI存储的虚拟机出现闪退

Posted by 许叁征 <xu...@chinanetcenter.com>.
 HI ALL
 最近新上两个节点XENserver,添加节点各项正常,同时也添加了ISCSI存储。
 启动虚拟机发现无法启动,资源 也够,检查二级存储发现是0.0KB 但是使用SSVM也启动正常,通过原有模板创建的也能正常创建。


问题来了,虚拟机创建一直不能成功,指定了ISCSI存储和新增的节点标签,发现在ISCSI的存储上,虚拟机启动出现一闪而过,在ISCSI存储发现它创建了文件,而后又删除掉了。
虚拟机就失败掉了。
这是怎么回事,问题要如何解决,谢谢

Re: 服务启动不成功

Posted by 风南 <wi...@gmail.com>.
系统里是不是有keytool这个命令没有安装吧?你装一下试试。


2014-03-26 17:14 GMT+08:00 史丽丽 <sh...@neusoft.com>:

> 您好,我这边做一个cloudstack的部署,目前是在一台虚拟机上装cloudstack,数据库安装成功,操作系统是rhel
>
> cs版本为4.2,到初始化cloudstack管理程序步骤,执行如下命令cloudstack-setup-management
>
> 参看日志为:/var/log/cloudstack/management/catalina.out
> cs启动报错如下:服务启动不成功,望您给予解答,谢谢。
>
>
>
> maxElementsOnDisk = 0 memoryStoreEvictionPolicy = LRU timeToLiveSeconds =
> 600 timeToIdleSeconds = 300 diskPersistent = false
> diskExpiryThreadIntervalSeconds = 120 cacheEventListeners:  hitCount = 0
> memoryStoreHitCount = 0 diskStoreHitCount = 0 missCountNotFound = 0
> missCountExpired = 0 ]
> INFO  [utils.component.ComponentContext] (Timer-2:) Configuring
> com.cloud.upgrade.DatabaseIntegrityChecker_EnhancerByCloudStack_ead01e13
> INFO  [utils.component.ComponentContext] (Timer-2:) Configuring
> com.cloud.server.ConfigurationServerImpl_EnhancerByCloudStack_a685eed4
> INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing
> updateSSLKeyStore
> INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) SSL keystore
> located at /etc/cloudstack/management/cloud.keystore
> WARN  [cloud.server.ConfigurationServerImpl] (Timer-2:) Would use
> fail-safe keystore to continue.
> java.io.IOException: Fail to generate certificate!: sudo: keytool: command
> not found
> at
> com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:496)
> at
> com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:517)
> at
> com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:289)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:157)
> at
> com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
> at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing
> updateKeyPairs
> INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs already
> in database, updating local copy
> INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update
> systemvm iso with generated keypairs if needed
> 2014-3-26 13:57:40 org.springframework.web.context.ContextLoader
> initWebApplicationContext
> 信息: Root WebApplicationContext: initialization completed in 3871 ms
> 2014-3-26 13:57:40
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
> <init>
> 信息: JSR-330 'javax.inject.Inject' annotation found and supported for
> autowiring
> INFO  [utils.component.ComponentContext] (Timer-2:) Configuring
> com.cloud.utils.crypt.EncryptionSecretKeyChecker_EnhancerByCloudStack_375384cc
> INFO  [utils.component.ComponentContext] (Timer-2:) Configuring
> com.cloud.cluster.ManagementServerNode_EnhancerByCloudStack_ab03d7d2
> INFO  [utils.component.ComponentContext] (Timer-2:) Configuring
> com.cloud.cluster.ClusterManagerImpl_EnhancerByCloudStack_5702e15
> INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Start configuring
> cluster manager : ClusterManagerImpl_EnhancerByCloudStack_5702e15
> INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster node IP :
> 192.168.131.141
> INFO  [utils.db.Merovingian2] (Timer-2:) Cleaning up locks for
> 86530476470110
> INFO  [utils.db.Merovingian2] (Timer-2:) Released 0 locks for
> 86530476470110
> INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) register cluster
> listener class com.cloud.cluster.LockMasterListener
> INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Trying to connect to
> 192.168.131.141
> ERROR [cloud.cluster.ClusterManagerImpl] (Timer-2:) Unable to ping
> management server at 192.168.131.141:9090 due to ConnectException
> java.net.ConnectException: Connection refused
> at sun.nio.ch.Net.connect(Native Method)
> at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
> at
> com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1405)
> at
> com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1384)
> at
> com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1461)
> at
> com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1347)
> at
> com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
> at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Detected that another
> management node with the same IP 192.168.131.141 is considered as running
> in DB, however it is not pingable, we will continue cluster initialization
> with this management server node
> INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster manager is
> configured.
> INFO  [utils.component.ComponentContext] (Timer-2:) Configuring org.apach
>
>
>
>
> 史丽丽
>
> 发件人: Liu Fred
> 发送时间: 2014-03-26 16:47
> 收件人: users-cn@cloudstack.apache.org
> 主题: CS 4.3发布了,准备试用吗?
> 有多少人准备试用这个版本的?生产还是测试?
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
>  storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
> ---------------------------------------------------------------------------------------------------
>



-- 
Best Regards