cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Royal Yang <rayang2...@gmail.com>
Subject cloudstack 服务启动失败
Date Thu, 28 May 2015 02:13:00 GMT
Hello all,
最近几天我这cloud-management开机启动老是有问题

日志里报这个:
2015-05-28 08:53:19,525 INFO  [cloud.cluster.ClusterManagerImpl]
(main:null) Start configuring cluster manager :
 Cluster Manager
2015-05-28 08:53:19,525 INFO  [cloud.cluster.ClusterManagerImpl]
(main:null) Cluster node IP : 192.168.66.230
2015-05-28 08:53:19,529 ERROR [utils.component.ComponentLocator]
(main:null) Unable to configure manager: Cluste
r Manager
javax.naming.ConfigurationException: cluster node IP should be valid local
address where the server is running,
please check your configuration
        at
com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1315)
        at
com.cloud.utils.component.ComponentLocator.configureManagers(ComponentLocator.java:460)
        at
com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.java:252)
        at
com.cloud.utils.component.ComponentLocator.getLocatorInternal(ComponentLocator.java:836)
        at
com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocator.java:874)
        at
com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:48)
        at javax.servlet.GenericServlet.init(GenericServlet.java:212)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
        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:119)

登录shell之后手动执行service cloud-management start
就能正常启动

之前猜测是系统启动时网卡未启动导致读不到本机ip地址,最近在/etc/rc.local
写了sleep 120;再执行service
cloud-management start 和 ip addr add ip地址方法 还是不行。

ip地址是没问题的eth0 ip就是192.168.66.230

各位是否有遇到过这情况?我这系统是centos6.5 cloudstack版本是4.0.1.20130109153237

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message