cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lovegqin@126.com" <loveg...@126.com>
Subject 添加管理节点的问题
Date Mon, 09 Feb 2015 05:10:49 GMT
HI:各位好

    添加了新的管理节点后,新的管理节点报如下错误,不知为何?
再者   信息: Clustering has been disabled  如何开启cluster呢?


INFO [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_fb9173be

Log4j configuration from : /usr/share/cloudstack-management/conf/log4j-cloud.xml 
二月 09, 2015 1:02:03 下午 org.apache.catalina.core.StandardContext loadOnStartup 
严重: Servlet /awsapi threw load() exception 
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry
'http://localhost:7080/awsapi' for key 'mhost_uq_host' 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:526) 
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) 
at com.mysql.jdbc.Util.getInstance(Util.java:386) 
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040) 
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597) 
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529) 
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990) 
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151) 
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625) 
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119) 
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415) 
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333) 
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318) 
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)

at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)

at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)

at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1363) 
at com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_6e670e5e.CGLIB$persist$37(<generated>)

at com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_6e670e5e_FastClassByCloudStack_787d5a19.invoke(<generated>)

at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) 
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)

at com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_6e670e5e.persist(<generated>)

at com.cloud.bridge.service.controller.s3.ServiceProvider.setupHost(ServiceProvider.java:312)

at com.cloud.bridge.service.controller.s3.ServiceProvider.initialize(ServiceProvider.java:242)

at com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_fb9173be.CGLIB$initialize$15(<generated>)

at com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_fb9173be_FastClassByCloudStack_76a9d5b7.invoke(<generated>)

at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) 
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)

at com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_fb9173be.initialize(<generated>)

at com.cloud.bridge.service.controller.s3.ServiceProvider.configure(ServiceProvider.java:115)

at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:116)

at com.cloud.bridge.service.EC2MainServlet.init(EC2MainServlet.java:69) 
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:4425) 
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4738) 
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) 

二月 09, 2015 1:02:03 下午 org.apache.axis2.deployment.ClusterBuilder buildCluster 
信息: Clustering has been disabled 
二月 09, 2015 1:02:03 下午 org.apache.axis2.deployment.ModuleDeployer deploy 
信息: Deploying module: metadataExchange-1.5.6 - file:/usr/share/cloudstack-management/webapps7080/awsapi/WEB-INF/modules/mex-1.5.6.mar
 
 
 
lovegqin@126.com 
 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message