incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wanghaicheng2004 <wanghaicheng2...@gmail.com>
Subject cloud-agent服务启动异常
Date Tue, 26 Feb 2013 04:52:45 GMT
cloudstack 3.0.5+CentOS 6.3 x86_64 +KVM  平台

192.168.1.250  是 managemnet端
192.168.1.251 是 agent端

agent初始化都正常,就是服务起不来。大家帮忙给看看  什么情况呢

[root@agent-1 ~]# service  cloud-agent  restart
Stopping Cloud Agent: [FAILED]
Starting Cloud Agent: [  OK  ]
[root@agent-1 ~]# service  cloud-agent  status
cloud-agent dead but subsys locked


日志
httptail start... 2013-02-26
12:01:05,189{GMT} INFO [utils.nio.NioClient] (Agent-Selector:) Connecting to 192.168.1.250:8250

/usr/bin/build-classpath:
error: Could not find jar Java extension for this JVM 
/usr/bin/build-classpath:
error: Could not find jar Java extension for this JVM 
/usr/bin/build-classpath:
error: Could not find jar Java extension for this JVM 
/usr/bin/build-classpath:
error: Could not find ws-commons-util.jar Java extension for this JVM 
/usr/bin/build-classpath:
error: Could not find jnetpcap.jar Java extension for this JVM 
/usr/bin/build-classpath:
error: Could not find tomcat6-servlet-2.5-api.jar Java extension for this JVM 
/usr/bin/build-classpath:
error: Could not find tomcat6-el-2.1-api-6.0.24.jar Java extension for this JVM 
/usr/bin/build-classpath:
error: Could not find tomcat6-jsp-2.1-api-6.0.24.jar Java extension for this JVM 
/usr/bin/build-classpath:
error: Some specified jars were not found 
Current
directory is /usr/lib64/cloud/agent 
CLASSPATH
to run the agent: /usr/share/java/commons-collections.jar:/usr/share/java/commons-dbcp.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-logging-api.jar:/usr/share/java/commons-pool.jar:/usr/share/java/commons-httpclient.jar:/usr/share/java/ws-commons-util.jar:/usr/share/java/jnetpcap.jar:/usr/share/java/tomcat6-servlet-2.5-api.jar:/usr/share/java/tomcat6-el-2.1-api-6.0.24.jar:/usr/share/java/tomcat6-jsp-2.1-api-6.0.24.jar:/usr/share/java/cloud-google-gson-1.7.1.jar:/usr/share/java/vmware-vim25.jar:/usr/share/java/cloud-backport-util-concurrent-3.0.jar:/usr/share/java/cloud-servlet-api.jar:/usr/share/java/cloud-xenserver-5.6.100-1.jar:/usr/share/java/cloud-mysql-connector-java-5.1.7-bin.jar:/usr/share/java/cloud-iControl.jar:/usr/share/java/vmware-apputils.jar:/usr/share/java/vmware-vim.jar:/usr/share/java/cloud-commons-pool-1.5.6.jar:/usr/share/java/cloud-axis.jar:/usr/share/java/cloud-bcprov-jdk16-1.45.jar:/usr/share/java/cloud-commons-httpclient-3.1.jar:/usr/share/java/cloud-wsdl4j.jar:/usr/share/java/cloud-httpcore-4.0.jar:/usr/share/java/cloud-log4j.jar:/usr/share/java/cloud-commons-codec-1.5.jar:/usr/share/java/cloud-commons-dbcp-1.4.jar:/usr/share/java/cloud-xstream-1.3.1.jar:/usr/share/java/cloud-commons-discovery.jar:/usr/share/java/cloud-log4j-extras.jar:/usr/share/java/cloud-xmlrpc-common-3.1.3.jar:/usr/share/java/cloud-email.jar:/usr/share/java/cloud-xmlrpc-client-3.1.3.jar:/usr/share/java/jetty-util-6.1.26.jar:/usr/share/java/vmware-lib-jaxrpc.jar:/usr/share/java/cloud-netscaler.jar:/usr/share/java/jetty-6.1.26.jar:/usr/share/java/cloud-jstl-1.2.jar:/usr/share/java/cloud-cglib.jar:/usr/share/java/cloud-manageontap.jar:/usr/share/java/cloud-commons-configuration-1.8.jar:/usr/share/java/cloud-commons-logging-1.1.1.jar:/usr/share/java/cloud-jnetpcap.jar:/usr/share/java/cloud-trilead-ssh2-build213.jar:/usr/share/java/cloud-wsdl4j-1.6.2.jar:/usr/share/java/cloud-junit.jar:/usr/share/java/cloud-commons-lang-2.6.jar:/usr/share/java/cloud-jsch-0.1.42.jar:/usr/share/java/cloud-commons-collections-3.2.1.jar:/usr/share/java/cloud-ws-commons-util-1.0.2.jar:/usr/share/java/cloud-netscaler-sdx.jar:/usr/share/java/cloud-libvirt-0.4.5.jar:/usr/share/java/cloud-ehcache.jar:/usr/share/java/cloud-jasypt-1.8.jar:/usr/share/java/cloud-utils.jar:/usr/share/java/cloud-api.jar:/usr/share/java/cloud-core.jar:/usr/share/java/cloud-server.jar:/usr/share/java/cloud-server-extras.jar:/usr/share/java/cloud-agent.jar:/usr/share/java/cloud-console-common.jar:/usr/share/java/cloud-console-proxy.jar:/usr/share/java/cloud-core-extras.jar:/usr/share/java/cloud-agent-extras.jar:/usr/share/java/jna.jar:/etc/cloud/agent

Using
manually-configured network device 
Using
manually-configured network device 
Agent
started. PID: 339 
log4j:WARN
No appenders could be found for logger (com.cloud.agent.AgentShell). 
log4j:WARN
Please initialize the log4j system properly. 
2013-02-26
12:07:50,861{GMT} INFO [utils.component.ComponentLocator] (main:) Unable to find xml 
ComponentLocator
Unable to find xml 
2013-02-26
12:07:50,863{GMT} INFO [utils.component.ComponentLocator] (main:) Skipping configuration using
xml 
2013-02-26
12:07:50,866{GMT} INFO [cloud.agent.AgentShell] (main:) Defaulting to using properties file
for storage 
AgentShell
Defaulting to using properties file for storage 
2013-02-26
12:07:50,869{GMT} INFO [cloud.agent.AgentShell] (main:) Defaulting to the constant time backoff
algorithm 
AgentShell
Defaulting to the constant time backoff algorithm 
2013-02-26
12:07:50,979{GMT} INFO [cloud.agent.Agent] (main:) id is 
Agent
id is 
2013-02-26
12:07:51,160{GMT} INFO [resource.virtualnetwork.VirtualRoutingResource] (main:) VirtualRoutingResource
_scriptDir to use: scripts/network/domr/kvm 
VirtualRoutingResource
VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm 
2013-02-26
12:07:52,195{GMT} INFO [resource.computing.LibvirtComputingResource] (main:) agent.properties
found at /etc/cloud/agent/agent.properties 
LibvirtComputingResource
agent.properties found at /etc/cloud/agent/agent.properties 
2013-02-26
12:07:52,209{GMT} INFO [cloud.agent.Agent] (main:) Agent [id = new : type = LibvirtComputingResource
: zone = default : pod = default : workers = 5 : host = 192.168.1.250 : port = 8250 
Agent
Agent [id = new : type = LibvirtComputingResource : zone = default : pod = default : workers
= 5 : host = 192.168.1.250 : port = 8250 
2013-02-26
12:07:52,221{GMT} INFO [utils.nio.NioClient] (Agent-Selector:) Connecting to 192.168.1.250:8250

NioClient
Connecting to 192.168.1.250:8250 
2013-02-26
12:07:52,458{GMT} INFO [utils.nio.NioClient] (Agent-Selector:) SSL: Handshake done 
NioClient
SSL: Handshake done 
2013-02-26
12:07:52,944{GMT} INFO [cloud.serializer.GsonHelper] (Agent-Handler-1:) Default Builder inited.

GsonHelper
Default Builder inited. 
2013-02-26
12:07:53,007{GMT} ERROR [cloud.agent.Agent] (Agent-Handler-2:) Not allowed to connect to the
server: IllegalArgumentException: Host 192.168.1.251 sent incorrect data center: default 
2013-02-26
12:07:53,007 ERROR [cloud.agent.Agent] (Agent-Handler-2:null) Not allowed to connect to the
server: IllegalArgumentException: Host 192.168.1.251 sent incorrect data center: default 
2013-02-26
12:07:53,010{GMT} INFO [cloud.agent.Agent] (AgentShutdownThread:) Stopping the agent: Reason
= sig.kill 




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