1 Reply Latest reply on Jun 10, 2009 4:54 PM by mazz

    NoClassDefFoundError net.augeas.LibAugeas

      I'm getting this error in my rhqagent log repeatedly . Anyone know where it's coming from ?

      jopr 2.2 on Ubuntu 8.04.1


      2009-06-10 16:17:45,913 WARN [ConfigurationManager.threadpool-1] (rhq.core.pc.configuration.ConfigurationCheckExecutor)- Unable to check for updated configuration
      java.lang.Exception: java.lang.NoClassDefFoundError: Could not initialize class net.augeas.LibAugeas
      at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:488)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.augeas.LibAugeas
      at net.augeas.Augeas.<init>(Augeas.java:62)
      at org.rhq.plugins.hosts.HostsComponent.loadResourceConfiguration(HostsComponent.java:98)
      at org.rhq.plugins.hosts.HostsComponent.loadResourceConfiguration(HostsComponent.java:78)
      at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:484)
      ... 5 more



        • 1. Re: NoClassDefFoundError net.augeas.LibAugeas
          mazz

          Yup. Several plugins in Jopr use the augeas library to manage things like grub, /etc/hosts, sshd....

          If you plan to use those plugins, you need to install the augeas library.

          If not, you have to remove the plugins before initially starting your server (too late now - there is no way to remove plugins in the current version).

          See http://augeas.net/