satis egitimisatis egitimitengda.pro
Welcome, Guest
Username: Password: Remember me
Archived CloudStack Forums for reference purposes please direct all future inquiries to the Apache CloudStack mailing lists.

incubator.apache.org/cloudstack/mailing-lists.html
  • Page:
  • 1
  • 2

TOPIC: cloud-agent dead but subsys locked on cloudStack'version 2.2.12

cloud-agent dead but subsys locked on cloudStack'version 2.2.12 2 years 4 months ago #7972

  • chinhpx
  • chinhpx's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 61
  • Thank you received: 2
  • Karma: 1
hi,
i have the error, it is "cloud-agent dead but subsys locked",

i use cloudStack'version is 2.2.12 (latest), my operating system is CentOS 5.7, kernel is 2.6.18-274.7.1.el5xen

please show me how to solve it !

thanks you
The administrator has disabled public write access.

Re: cloud-agent dead but subsys locked on cloudStack'version 2.2.12 2 years 4 months ago #8015

  • ke4qqq
  • ke4qqq's Avatar
  • OFFLINE
  • Administrator
  • Posts: 620
  • Thank you received: 69
  • Karma: 22
you can't use the xen kernel and use kvm as the same time. switch kernels.
The administrator has disabled public write access.

Re: cloud-agent dead but subsys locked on cloudStack'version 2.2.12 2 years 4 months ago #8021

  • chinhpx
  • chinhpx's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 61
  • Thank you received: 2
  • Karma: 1
I've turned to "2.6.18-274.7.1.el5" kernel, but I still have the same error "cloud-agent dead but subsys locked"

anytime I start service cloud-agent then its status turn to "cloud-agent dead but subsys locked"

what problems with my agent?
The administrator has disabled public write access.

Re: cloud-agent dead but subsys locked on cloudStack'version 2.2.12 2 years 6 days ago #9256

  • leroy
  • leroy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 3
  • Karma: 0
i have the same problem.i use 2.6.18-274.18.1.el5 kernel.

who can help me?
The administrator has disabled public write access.

Re: cloud-agent dead but subsys locked on cloudStack'version 2.2.12 2 years 6 days ago #9257

  • sunrash
  • sunrash's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 7
  • Karma: 4
restart cloud-agent and post here

tail -80 /var/log/cloud/agent/agent.log
Last Edit: 2 years 6 days ago by sunrash.
The administrator has disabled public write access.

Re: cloud-agent dead but subsys locked on cloudStack'version 2.2.12 2 years 6 days ago #9258

  • leroy
  • leroy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 3
  • Karma: 0
2012-02-27 04:58:02,948 INFO [cloud.agent.Agent] (main:null) id is
2012-02-27 04:58:03,041{GMT} INFO [resource.virtualnetwork.VirtualRoutingResource] (main:) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
2012-02-27 04:58:03,041 INFO [resource.virtualnetwork.VirtualRoutingResource] (main:null) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
2012-02-27 04:58:03,043{GMT} INFO [resource.virtualnetwork.VirtualRoutingResource] (main:) ipassoc.sh found in /usr/lib64/cloud/agent/./scripts/network/domr/ipassoc.sh
2012-02-27 04:58:03,043 INFO [resource.virtualnetwork.VirtualRoutingResource] (main:null) ipassoc.sh found in /usr/lib64/cloud/agent/./scripts/network/domr/ipassoc.sh
2012-02-27 04:58:03,233{GMT} ERROR [cloud.agent.AgentShell] (main:) Unable to start agent: Failed to get private nic name
2012-02-27 04:58:03,233 ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: Failed to get private nic name
Unable to start agent: Failed to get private nic name
/usr/bin/build-classpath: error: Could not find jnetpcap.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-jsp-2.1-api-6.0.24.jar:/usr/share/java/tomcat6-el-1.0-api-6.0.24.jar:/usr/share/java/cloud-servlet-api.jar:/usr/share/java/vmware-lib-jdom.jar:/usr/share/java/cloud-commons-codec-1.4.jar:/usr/share/java/vmware-lib-xml-apis.jar:/usr/share/java/cloud-xmlrpc-common-3.1.3.jar:/usr/share/java/cloud-jstl-1.2.jar:/usr/share/java/cloud-junit.jar:/usr/share/java/cloud-log4j.jar:/usr/share/java/cloud-commons-httpclient-3.1.jar:/usr/share/java/cloud-jsch-0.1.42.jar:/usr/share/java/cloud-xstream-1.3.1.jar:/usr/share/java/cloud-gson.jar:/usr/share/java/vmware-lib-activation.jar:/usr/share/java/vmware-lib-xerces.jar:/usr/share/java/cloud-jnetpcap.jar:/usr/share/java/vmware-lib-jaxrpc.jar:/usr/share/java/cloud-commons-collections-3.2.1.jar:/usr/share/java/cloud-xmlrpc-client-3.1.3.jar:/usr/share/java/cloud-backport-util-concurrent-3.0.jar:/usr/share/java/cloud-cglib.jar:/usr/share/java/jetty-util-6.1.26.jar:/usr/share/java/cloud-ehcache.jar:/usr/share/java/jetty-6.1.26.jar:/usr/share/java/cloud-iControl.jar:/usr/share/java/vmware-lib-xalan.jar:/usr/share/java/cloud-commons-pool-1.4.jar:/usr/share/java/cloud-trilead-ssh2-build213.jar:/usr/share/java/vmware-vim25.jar:/usr/share/java/vmware-lib-jaxen-jdom.jar:/usr/share/java/cloud-commons-discovery.jar:/usr/share/java/vmware-vim.jar:/usr/share/java/cloud-commons-logging-1.1.1.jar:/usr/share/java/cloud-wsdl4j.jar:/usr/share/java/cloud-ws-commons-util-1.0.2.jar:/usr/share/java/cloud-axis.jar:/usr/share/java/vmware-lib-mailapi.jar:/usr/share/java/cloud-commons-dbcp-1.2.2.jar:/usr/share/java/cloud-log4j-extras.jar:/usr/share/java/vmware-credstore.jar:/usr/share/java/vmware-lib-jaxen-core.jar:/usr/share/java/cloud-manageontap.jar:/usr/share/java/cloud-mysql-connector-java-5.1.7-bin.jar:/usr/share/java/cloud-libvirt-0.4.5.jar:/usr/share/java/vmware-lib-saxpath.jar:/usr/share/java/cloud-httpcore-4.0.jar:/usr/share/java/vmware-lib-wbem.jar:/usr/share/java/cloud-bcprov-jdk16-1.45.jar:/usr/share/java/cloud-email.jar:/usr/share/java/vmware-lib-smtp.jar:/usr/share/java/cloud-xenserver-5.6.100-1.jar:/usr/share/java/vmware-apputils.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: 12426
log4j:WARN No appenders could be found for logger (com.cloud.agent.AgentShell).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2012-02-27 05:15:16,938{GMT} INFO [utils.component.ComponentLocator] (main:) Unable to find components.xml
2012-02-27 05:15:16,938 INFO [utils.component.ComponentLocator] (main:null) Unable to find components.xml
2012-02-27 05:15:16,940{GMT} INFO [utils.component.ComponentLocator] (main:) Skipping configuration using components.xml
2012-02-27 05:15:16,940 INFO [utils.component.ComponentLocator] (main:null) Skipping configuration using components.xml
2012-02-27 05:15:16,940{GMT} INFO [cloud.agent.AgentShell] (main:) Implementation Version is 2.2.13.20111117130644
2012-02-27 05:15:16,940 INFO [cloud.agent.AgentShell] (main:null) Implementation Version is 2.2.13.20111117130644
2012-02-27 05:15:16,941{GMT} INFO [cloud.agent.AgentShell] (main:) Defaulting to using properties file for storage
2012-02-27 05:15:16,941 INFO [cloud.agent.AgentShell] (main:null) Defaulting to using properties file for storage
2012-02-27 05:15:16,942{GMT} INFO [cloud.agent.AgentShell] (main:) Defaulting to the constant time backoff algorithm
2012-02-27 05:15:16,942 INFO [cloud.agent.AgentShell] (main:null) Defaulting to the constant time backoff algorithm
2012-02-27 05:15:16,996{GMT} INFO [cloud.agent.Agent] (main:) id is
2012-02-27 05:15:16,996 INFO [cloud.agent.Agent] (main:null) id is
2012-02-27 05:15:17,082{GMT} INFO [resource.virtualnetwork.VirtualRoutingResource] (main:) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
2012-02-27 05:15:17,082 INFO [resource.virtualnetwork.VirtualRoutingResource] (main:null) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
2012-02-27 05:15:17,083{GMT} INFO [resource.virtualnetwork.VirtualRoutingResource] (main:) ipassoc.sh found in /usr/lib64/cloud/agent/./scripts/network/domr/ipassoc.sh
2012-02-27 05:15:17,083 INFO [resource.virtualnetwork.VirtualRoutingResource] (main:null) ipassoc.sh found in /usr/lib64/cloud/agent/./scripts/network/domr/ipassoc.sh
2012-02-27 05:15:17,257{GMT} ERROR [cloud.agent.AgentShell] (main:) Unable to start agent: Failed to get private nic name
2012-02-27 05:15:17,257 ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: Failed to get private nic name
Unable to start agent: Failed to get private nic name
/usr/bin/build-classpath: error: Could not find jnetpcap.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-jsp-2.1-api-6.0.24.jar:/usr/share/java/tomcat6-el-1.0-api-6.0.24.jar:/usr/share/java/cloud-servlet-api.jar:/usr/share/java/vmware-lib-jdom.jar:/usr/share/java/cloud-commons-codec-1.4.jar:/usr/share/java/vmware-lib-xml-apis.jar:/usr/share/java/cloud-xmlrpc-common-3.1.3.jar:/usr/share/java/cloud-jstl-1.2.jar:/usr/share/java/cloud-junit.jar:/usr/share/java/cloud-log4j.jar:/usr/share/java/cloud-commons-httpclient-3.1.jar:/usr/share/java/cloud-jsch-0.1.42.jar:/usr/share/java/cloud-xstream-1.3.1.jar:/usr/share/java/cloud-gson.jar:/usr/share/java/vmware-lib-activation.jar:/usr/share/java/vmware-lib-xerces.jar:/usr/share/java/cloud-jnetpcap.jar:/usr/share/java/vmware-lib-jaxrpc.jar:/usr/share/java/cloud-commons-collections-3.2.1.jar:/usr/share/java/cloud-xmlrpc-client-3.1.3.jar:/usr/share/java/cloud-backport-util-concurrent-3.0.jar:/usr/share/java/cloud-cglib.jar:/usr/share/java/jetty-util-6.1.26.jar:/usr/share/java/cloud-ehcache.jar:/usr/share/java/jetty-6.1.26.jar:/usr/share/java/cloud-iControl.jar:/usr/share/java/vmware-lib-xalan.jar:/usr/share/java/cloud-commons-pool-1.4.jar:/usr/share/java/cloud-trilead-ssh2-build213.jar:/usr/share/java/vmware-vim25.jar:/usr/share/java/vmware-lib-jaxen-jdom.jar:/usr/share/java/cloud-commons-discovery.jar:/usr/share/java/vmware-vim.jar:/usr/share/java/cloud-commons-logging-1.1.1.jar:/usr/share/java/cloud-wsdl4j.jar:/usr/share/java/cloud-ws-commons-util-1.0.2.jar:/usr/share/java/cloud-axis.jar:/usr/share/java/vmware-lib-mailapi.jar:/usr/share/java/cloud-commons-dbcp-1.2.2.jar:/usr/share/java/cloud-log4j-extras.jar:/usr/share/java/vmware-credstore.jar:/usr/share/java/vmware-lib-jaxen-core.jar:/usr/share/java/cloud-manageontap.jar:/usr/share/java/cloud-mysql-connector-java-5.1.7-bin.jar:/usr/share/java/cloud-libvirt-0.4.5.jar:/usr/share/java/vmware-lib-saxpath.jar:/usr/share/java/cloud-httpcore-4.0.jar:/usr/share/java/vmware-lib-wbem.jar:/usr/share/java/cloud-bcprov-jdk16-1.45.jar:/usr/share/java/cloud-email.jar:/usr/share/java/vmware-lib-smtp.jar:/usr/share/java/cloud-xenserver-5.6.100-1.jar:/usr/share/java/vmware-apputils.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: 14702
log4j:WARN No appenders could be found for logger (com.cloud.agent.AgentShell).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2012-02-27 05:36:58,635{GMT} INFO [utils.component.ComponentLocator] (main:) Unable to find components.xml
2012-02-27 05:36:58,635 INFO [utils.component.ComponentLocator] (main:null) Unable to find components.xml
2012-02-27 05:36:58,636{GMT} INFO [utils.component.ComponentLocator] (main:) Skipping configuration using components.xml
2012-02-27 05:36:58,636 INFO [utils.component.ComponentLocator] (main:null) Skipping configuration using components.xml
2012-02-27 05:36:58,636{GMT} INFO [cloud.agent.AgentShell] (main:) Implementation Version is 2.2.13.20111117130644
2012-02-27 05:36:58,636 INFO [cloud.agent.AgentShell] (main:null) Implementation Version is 2.2.13.20111117130644
2012-02-27 05:36:58,637{GMT} INFO [cloud.agent.AgentShell] (main:) Defaulting to using properties file for storage
2012-02-27 05:36:58,637 INFO [cloud.agent.AgentShell] (main:null) Defaulting to using properties file for storage
2012-02-27 05:36:58,639{GMT} INFO [cloud.agent.AgentShell] (main:) Defaulting to the constant time backoff algorithm
2012-02-27 05:36:58,639 INFO [cloud.agent.AgentShell] (main:null) Defaulting to the constant time backoff algorithm
2012-02-27 05:36:58,692{GMT} INFO [cloud.agent.Agent] (main:) id is
2012-02-27 05:36:58,692 INFO [cloud.agent.Agent] (main:null) id is
2012-02-27 05:36:58,697{GMT} ERROR [cloud.agent.AgentShell] (main:) Unable to start agent:
java.lang.NullPointerException
at com.cloud.resource.ServerResourceBase.configure(ServerResourceBase.java:127)
at com.cloud.agent.resource.computing.LibvirtComputingResource.configure(LibvirtComputingResource.java:421)
at com.cloud.agent.Agent.<init>(Agent.java:155)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:515)
at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:485)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:407)
at com.cloud.agent.AgentShell.run(AgentShell.java:545)
at com.cloud.agent.AgentShell.main(AgentShell.java:580)
2012-02-27 05:36:58,697 ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent:
java.lang.NullPointerException
at com.cloud.resource.ServerResourceBase.configure(ServerResourceBase.java:127)
at com.cloud.agent.resource.computing.LibvirtComputingResource.configure(LibvirtComputingResource.java:421)
at com.cloud.agent.Agent.<init>(Agent.java:155)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:515)
at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:485)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:407)
at com.cloud.agent.AgentShell.run(AgentShell.java:545)
at com.cloud.agent.AgentShell.main(AgentShell.java:580)
Unable to start agent: null
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.307 seconds

Open@Citrix

Citrix supports the open source community via developer support and evangeslism. We have a number of developers and evangelists that participate actively in the open source community in Apache Cloudstack, OpenDaylight, Xen Project and XenServer. We also conduct educational activities via the Build A Cloud events held all over the world. 

Connect