incubator-cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-1469) kvm agent: agent service fails to start up
Date Tue, 19 Mar 2013 11:25:14 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13606241#comment-13606241
] 

Rayees Namathponnan commented on CLOUDSTACK-1469:
-------------------------------------------------

Facing same issue with latest build in Centos 6.3 

java.lang.reflect.InvocationTargetException
        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:616)
        at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Caused by: java.lang.NoClassDefFoundError: com/sun/jna/Callback
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at com.cloud.hypervisor.kvm.resource.LibvirtConnection.getConnection(LibvirtConnection.java:31)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:662)
        at com.cloud.agent.Agent.<init>(Agent.java:163)
        at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:560)
        at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:515)
        at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:431)
        at com.cloud.agent.AgentShell.start(AgentShell.java:590)
        ... 5 more
Caused by: java.lang.ClassNotFoundException: com.sun.jna.Callback
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

                
> kvm agent: agent service fails to start up 
> -------------------------------------------
>
>                 Key: CLOUDSTACK-1469
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1469
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: KVM
>    Affects Versions: 4.1.0
>            Reporter: Prasanna Santhanam
>            Assignee: Wido den Hollander
>            Priority: Blocker
>             Fix For: 4.1.0
>
>
> When management server tries to start the agent process the following errors are seen
in the agent logs
> java.lang.reflect.InvocationTargetException
>         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:616)
>         at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
> Caused by: java.lang.AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List;
>         at com.sun.jna.Structure.fieldOrder(Structure.java:831)
>         at com.sun.jna.Structure.getFields(Structure.java:857)
>         at com.sun.jna.Structure.deriveLayout(Structure.java:983)
>         at com.sun.jna.Structure.calculateSize(Structure.java:908)
>         at com.sun.jna.Structure.calculateSize(Structure.java:896)
>         at com.sun.jna.Structure.allocateMemory(Structure.java:357)
>         at com.sun.jna.Structure.<init>(Structure.java:191)
>         at com.sun.jna.Structure.<init>(Structure.java:180)
>         at com.sun.jna.Structure.<init>(Structure.java:167)
>         at com.sun.jna.Structure.<init>(Structure.java:159)
>         at org.libvirt.jna.virError.<init>(Unknown Source)
>         at org.libvirt.ErrorHandler.processError(Unknown Source)
>         at org.libvirt.Connect.<clinit>(Unknown Source)
>         at com.cloud.hypervisor.kvm.resource.LibvirtConnection.getConnection(LibvirtConnection.java:31)
>         at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:666)
>         at com.cloud.agent.Agent.<init>(Agent.java:163)
>         at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:545)
>         at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:500)
>         at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:416)
>         at com.cloud.agent.AgentShell.start(AgentShell.java:575)
>         ... 5 more
> 01/03/2013 09:19:47 7080 jsvc.exec error: Cannot start daemon
> 01/03/2013 09:19:47 7079 jsvc.exec error: Service exit with a return value of 5

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message