Hi, After upgrading cloudstack-agent from 4.2 to 4.3 (changing APT sources and upgrading) I now have the following issue:-
syslog ====== Apr 8 00:14:05 compute-1 jsvc.exec[3831]: log4j:WARN No appenders could be found for logger (com.cloud.agent.AgentShell). Apr 8 00:14:05 compute-1 jsvc.exec[3831]: log4j:WARN Please initialize the log4j system properly.#012log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Apr 8 00:14:06 compute-1 jsvc.exec[3831]: java.lang.reflect.InvocationTargetException Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at java.lang.reflect.Method.invoke(Method.java:622) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: Caused by: java.lang.UnsatisfiedLinkError: Can't obtain updateLastError method for class com.sun.jna.Native Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at com.sun.jna.Native.initIDs(Native Method) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at com.sun.jna.Native.<clinit>(Native.java:139) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at org.libvirt.jna.Libvirt.<clinit>(Unknown Source) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at org.libvirt.Library.<clinit>(Unknown Source) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at org.libvirt.Connect.<init>(Unknown Source) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at com.cloud.hypervisor.kvm.resource.LibvirtConnection.getConnection(LibvirtConnection.java:44) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at com.cloud.hypervisor.kvm.resource.LibvirtConnection.getConnection(LibvirtConnection.java:37) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:764) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at com.cloud.agent.Agent.<init>(Agent.java:160) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:422) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:377) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:358) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011at com.cloud.agent.AgentShell.start(AgentShell.java:455) Apr 8 00:14:06 compute-1 jsvc.exec[3831]: #011... 5 more Apr 8 00:14:06 compute-1 jsvc.exec[3831]: 2014-04-08 00:14:06 3833 jsvc.exec error: Cannot start daemon agent.log ========= 2014-04-08 00:14:06,202 INFO [cloud.agent.AgentShell] (main:null) Agent started 2014-04-08 00:14:06,204 INFO [cloud.agent.AgentShell] (main:null) Implementation Version is 4.3.0 2014-04-08 00:14:06,205 INFO [cloud.agent.AgentShell] (main:null) agent.properties found at /etc/cloudstack/agent/agent.properties 2014-04-08 00:14:06,214 INFO [cloud.agent.AgentShell] (main:null) Defaulting to using properties file for storage 2014-04-08 00:14:06,215 INFO [cloud.agent.AgentShell] (main:null) Defaulting to the constant time backoff algorithm 2014-04-08 00:14:06,230 INFO [cloud.utils.LogUtils] (main:null) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml 2014-04-08 00:14:06,345 INFO [cloud.agent.Agent] (main:null) id is 1 2014-04-08 00:14:06,366 INFO [resource.virtualnetwork.VirtualRoutingResource] (main:null) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm Regards, Jon