We are trying to deploy SCOM 2012 agent to a Windows server 2008 R2 SP1 server, but we got the following error message:
The Operations Manager Server failed to perform specified operation on computer XXXXX
Operation: Agent Install
Install account: XXXX
Error Code: 80070645
Error Description: This action is only valid for products that are currently installed.
Here is the agent mgmt log:
10:09:52 AM : CServiceModule::Init : m_bService is set to true. HResult: 0
10:09:52 AM : CServiceModule::Start : Service flag is set
10:09:52 AM : CServiceModule::SetServiceStatus : State: 2, Error: 0
10:09:52 AM : CServiceModule::SetServiceStatus : State: 2, Error: 0
10:09:52 AM : IsCurrentMOMServerInstalled : MOM Setup key could not be queried.
10:09:52 AM : CServiceModule::_RegisterFile : Before LoadLibrary
10:09:52 AM : CServiceModule::_RegisterFile : After LoadLibrary
10:09:52 AM : CServiceModule::_RegisterFile : Before GetProcAddress
10:09:52 AM : CServiceModule::_RegisterFile : After GetProcAddress
10:09:52 AM : CServiceModule::_RegisterFile : After FreeLibrary
10:09:52 AM : CServiceModule::RegisterFile : Success return
10:09:52 AM : CServiceModule::RegisterFile : WaitForSingleObject return HResult: 0
10:09:52 AM : CServiceModule::SetServiceStatus : State: 4, Error: 0
10:09:53 AM : OmAgentFunctions::GetPatches : Entering
10:09:53 AM : OmAgentFunctions::GetPatches : MsiEnumPatches failed HResult: 80070645
10:09:53 AM : OmAgentFunctions::GetPatches : Leaving
10:09:53 AM : CServiceModule::SetServiceStatus : State: 3, Error: 0
10:09:53 AM : CServiceModule::SetServiceStatus : State: 3, Error: 0
10:09:53 AM : IsCurrentMOMServerInstalled : MOM Setup key could not be queried.
10:09:53 AM : CServiceModule::_RegisterFile : Before LoadLibrary
10:09:53 AM : CServiceModule::_RegisterFile : After LoadLibrary
10:09:53 AM : CServiceModule::_RegisterFile : Before GetProcAddress
10:09:53 AM : CServiceModule::_RegisterFile : After GetProcAddress
10:09:53 AM : CServiceModule::_RegisterFile : After FreeLibrary
10:09:53 AM : CServiceModule::RegisterFile : Success return
10:09:53 AM : CServiceModule::RegisterFile : WaitForSingleObject return HResult: 0
10:09:53 AM : CServiceModule::SetServiceStatus : State: 1, Error: 0
We saw some article suggest installing the agent manually, but we don't want this workaround, because if we install agent manually for this one particular server, in the future, we will always have to update it manually. We have deployed the same agent to a lot of other serves without any problem. Can anyone help?
Thanks.
- Edited by IBM236 Tuesday, September 23, 2014 2:36 PM