VMware Cloud Community
komilajain
Contributor
Contributor

Unable to import platform

We have setup HQ Server on Windows.

The agent is intalled on Solaris 10. We want to monitor oracle application server and apache server. We are running 64 bit OS

Both server and agent succesfully start and agent is ablet to connect to server. The HQ Server is able to disover Solaris System. But when we try to add the discovered platform to resource list it gives the below error

Unable to import platform : org.hyperic.hq.common.SystemException: org.hyperic.hq.common.SystemException: Unable to find PlatformType [Solaris]

We tried running agent from root also but the problem persists. Also trying cleaning up data folder for Agent and than restart agent. Still the same problem.

Anyone faced similar problem on solaris? Is any specific configuration required to successfully discover Platform.

Thnx
Komila
0 Kudos
6 Replies
excowboy
Virtuoso
Virtuoso

Hi,

what is your Agent version ?
Do you see any errors in the logs ? For example in the agent.log or server.log ?

Cheers,
Mirko
0 Kudos
komilajain
Contributor
Contributor

Agent version is 4.5

Error seen on Agent
=========================================================================================================================================================================
2011-05-06 16:22:58,642 ERROR [Thread-1] [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 50 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
=========================================================================================================================================================================

Error seen on Server
=========================================================================================================================================================================
2011-05-06 14:23:42,265 ERROR [Thread-10280] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerImpl@669] Ignoring non-existent server type: Sendmail 8.x
org.hyperic.hq.common.NotFoundException: name not found: Sendmail 8.x
at org.hyperic.hq.appdef.server.session.ServerManagerImpl.findServerTypeByName(ServerManagerImpl.java:765)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at org.hyperic.hq.monitor.aop.aspects.PerformanceMonitor.monitorServiceMethod(PerformanceMonitor.java:84)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:622)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:611)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy37.findServerTypeByName(Unknown Source)
at org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerImpl.addAIServersToAIPlatform(AutoinventoryManagerImpl.java:667)
at org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerImpl.reportAIData(AutoinventoryManagerImpl.java:648)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
at $Proxy63.reportAIData(Unknown Source)
at org.hyperic.hq.bizapp.server.session.LatherDispatcherImpl.cmdAiSendReport(LatherDispatcherImpl.java:484)
at org.hyperic.hq.bizapp.server.session.LatherDispatcherImpl.runCommand(LatherDispatcherImpl.java:724)
at org.hyperic.hq.bizapp.server.session.LatherDispatcherImpl.dispatch(LatherDispatcherImpl.java:698)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at org.hyperic.hq.monitor.aop.aspects.PerformanceMonitor.monitorServiceMethod(PerformanceMonitor.java:84)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:622)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:611)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy102.dispatch(Unknown Source)
at org.hyperic.lather.server.LatherServlet$ServiceCaller.doInvoke(LatherServlet.java:286)
at org.hyperic.lather.server.LatherServlet$ServiceCaller.run(LatherServlet.java:306)
2011-05-06 14:23:42,281 ERROR [Thread-10280] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerImpl@669] Ignoring non-existent server type: HQ Agent
org.hyperic.hq.common.NotFoundException: name not found: HQ Agent
at org.hyperic.hq.appdef.server.session.ServerManagerImpl.findServerTypeByName(ServerManagerImpl.java:765)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at org.hyperic.hq.monitor.aop.aspects.PerformanceMonitor.monitorServiceMethod(PerformanceMonitor.java:84)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:622)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:611)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy37.findServerTypeByName(Unknown Source)
at org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerImpl.addAIServersToAIPlatform(AutoinventoryManagerImpl.java:667)
at org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerImpl.reportAIData(AutoinventoryManagerImpl.java:648)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
at $Proxy63.reportAIData(Unknown Source)
at org.hyperic.hq.bizapp.server.session.LatherDispatcherImpl.cmdAiSendReport(LatherDispatcherImpl.java:484)
at org.hyperic.hq.bizapp.server.session.LatherDispatcherImpl.runCommand(LatherDispatcherImpl.java:724)
at org.hyperic.hq.bizapp.server.session.LatherDispatcherImpl.dispatch(LatherDispatcherImpl.java:698)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at org.hyperic.hq.monitor.aop.aspects.PerformanceMonitor.monitorServiceMethod(PerformanceMonitor.java:84)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:622)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:611)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy102.dispatch(Unknown Source)
at org.hyperic.lather.server.LatherServlet$ServiceCaller.doInvoke(LatherServlet.java:286)
at org.hyperic.lather.server.LatherServlet$ServiceCaller.run(LatherServlet.java:306)
=========================================================================================================================================================================
0 Kudos
excowboy
Virtuoso
Virtuoso

Please try the following steps.

- Stop the Agent, delete the data directory
- Edit the agent.properties and add the following line

plugins.exclude=sendmail

- Start the Agent, set up the Agent from scratch by providing the configuration properties
- Try to import the platform


Cheers,
Mirko

Message was edited by: excowboy
0 Kudos
komilajain
Contributor
Contributor

Implemented the confirguration changes. I see same error.

We tried running agent from root id. Still see the same error.

Thanks
0 Kudos
excowboy
Virtuoso
Virtuoso

Do you still see the same errors in the server.log ?
0 Kudos
komilajain
Contributor
Contributor

I dont see same error. Infact no errors in agent log

I have read solaris OS has issue. Any specific setting required?
0 Kudos