agent fails to start
gointomexico Aug 18, 2011 6:59 PMand continues to restart throwing the error below. I was running rhq 3 fine, and I couldnt see my apache instances. I dont need to see them, im mostly monitoring jboss instances with this agent. Can someone tell me how to remove this error and get the agent to start? I already tried removing the module from the module directory, but the agent just downloads it back from the server.
RHQ 4.0.1 [ecd91b2] (Fri May 20 16:41:18 UTC 2011)
Failed to start the agent
org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: Failed to start component for resource Resource[id=10947, type=Apache HTTP Server, key=/etc/httpd||/etc/httpd/conf/httpd2.conf, name=/etc/httpd/conf/httpd2.conf, parent=server1, version=2.2.3].
at org.rhq.core.pc.inventory.InventoryManager.activateResource(InventoryManager.java:1589)
at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResourceRecursively(InventoryManager.java:2745)
at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResourceRecursively(InventoryManager.java:2747)
at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResources(InventoryManager.java:2723)
at org.rhq.core.pc.inventory.InventoryManager.initialize(InventoryManager.java:228)
at org.rhq.core.pc.PluginContainer.startContainerService(PluginContainer.java:425)
at org.rhq.core.pc.PluginContainer.initialize(PluginContainer.java:279)
at org.rhq.enterprise.agent.AgentMain.startPluginContainer(AgentMain.java:1867)
at org.rhq.enterprise.agent.AgentMain.start(AgentMain.java:648)
at org.rhq.enterprise.agent.AgentMain.main(AgentMain.java:418)
Caused by: org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: Neither SNMP nor an URL for checking availability has been configured
at org.rhq.plugins.apache.ApacheServerComponent.start(ApacheServerComponent.java:210)
at sun.reflect.GeneratedMethodAccessor27.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:525)
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:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Agent will be restarted soon to see if the failure condition cleared up