Hi All,
I am trying to install elasticsearch and while clicking "Check System Requirements" it gives the following exceptions. Any suggestions what could be an issue and how to fix?
----------- LogID: 562 -----------
Info
ServerTime: 12/24/2021 1:53:53 AM
ClientTime: 12/24/2021 1:53:59 AM
Message : Elastic Search Recommendation request failed:
- (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Cpu Performance Counter was null ---> System.NullReferenceException: Cpu Performance Counter was null
at SLCassandraClassLibrary.DBGateway.Resources.CPUResource.RetrieveInformation()
at SLCassandraClassLibrary.DBGateway.Misc.Recommendations.DatabaseRecommendationsComposer.GetCPUUsageInPercent()
at SLCassandraClassLibrary.DBGateway.Misc.Recommendations.ElasticsearchRecommendationsComposer.GetCPUUsageInPercentRecommendation()
at SLCassandraClassLibrary.DBGateway.Misc.Recommendations.ElasticsearchRecommendationsComposer.GetRecommendations()
at SLCassandraClassLibrary.DBGateway.ManagementController.ExecuteRequest[T](DatabaseRecommendationsRequest`1 request)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at SLCassandraClassLibrary.DBGateway.IncomingConnection.ExecuteMigrationRequest(MigrationBaseRequest request)
--- End of inner exception stack trace ---
Server stack trace:
at SLCassandraClassLibrary.DBGateway.IncomingConnection.ExecuteMigrationRequest(MigrationBaseRequest request)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Skyline.DataMiner.Net.Messages.SLDataGateway.ISLDataGateway.ExecuteMigrationRequest(MigrationBaseRequest request)
at Skyline.DataMiner.Net.Facade.HandleClientRequestMessage(IConnectionInfo connInfo, ClientRequestMessage oneMsg, Boolean canQueue)
at Skyline.DataMiner.Net.Facade.<>c__DisplayClass47_0.<HandleClientRequestMessage>b__0(ClientRequestMessage r)
Can you try again after rebuilding the performance counters in windows, for more information see: https://docs.microsoft.com/en-us/troubleshoot/windows-server/performance/manually-rebuild-performance-counters#resolution