none
Installed Agent failed to initialize properly - aix 5.3 Server

    Pregunta

  • hi,

    i try to install the operations manager agent to an aix 5.3 server

    first i tried to install the agent with the discovery wizard.
    - discovery works fine and i can chose to discover and install the agent
    - by finishing the installation i get the following message "Installed Agent failed to initialize properly" with details "<ErrorCode>0x80070002</ErrorCode><ErrorMessage>The system cannot find the file specified.
    </ErrorMessage>"

    second i tried to manual install the agent.
    - installation without some problems
    - after installation i checked, the deamon ist running
    - in the logs i can't see some errors
    - so i tried a discovery without ssh, an it looks like the operations manager don't see that the agent allready is installed. so the discovery wizard tells me, that i should make a discovery with ssh.

    when i run debug view, the last thing that will be logged is...

    [25004] bls-db-601.advaltech.net: Installation was successful
    [25004] Call to DiscoveryTaskHelper.ExecuteWSManDiscovery()
    [18672] Script 'MOM Backward Compatibility Service State Monitoring Script' completed with the following output: (empty)
    [25004] Return from DiscoveryTaskHelper.ExecuteWSManDiscovery()
    [25004] Microsoft.MOM.UI.Console.exe Error: 0 :
    [25004] bls-db-601.advaltech.netWS-Man result has an exception: <ErrorCode>0x80070002</ErrorCode><ErrorMessage>The system cannot find the file specified.
    [25004] </ErrorMessage>


    have anyone an idea?



    thanks

    Adrian
    • Editado Adrian Liechti lunes, 08 de marzo de 2010 15:21
    • Cambiado WadeWe miércoles, 26 de octubre de 2011 21:07 New forum (From:Cross Platform Solutions for System Center)
    lunes, 08 de marzo de 2010 14:58

Respuestas

Todas las respuestas

  • I have the same problem.

    Please help!

    Thx
    Jofe

    lunes, 08 de marzo de 2010 15:05
  • i found additional information in the operations manager tracing...

    i can find some entries with "file not found" but i can't see which file

    Created new monitoring host of type HostTypeShared, ID -1, SID \\NT AUTHORITY\SYSTEM, task host (0x00000001(TRUE))
    Got completion for overlapped 00000000
    ExecuteTask with context 05D00108 completed successfully.
    Unknown(128): GUID=56a5b849-aaf1-4497-ba5f-eebd4d9dd1e7 (No Format Information found).
    ConfigManager loaded jobs for entity instance: '2607c046-d70f-bf47-2583-7a144bd26544'
    SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Modules\Global\Event Message Cache key does not exist
    Unable to open the global Settings registry, RegOpenKeyEx failed with 0x80070002(ERROR_FILE_NOT_FOUND)
    Finish configuration processing for all management groups.
    GetFileAttributesEx on path "C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 79\2272\" failed with code 2(ERROR_FILE_NOT_FOUND).
    Module does not have batched input.  Status code on batched QI was 0x80004002(E_NOINTERFACE).
    BatchOutputCollector::DoInit called
    Unable to locate node for tag UnicodeSecureInput
    Unknown( 12): GUID=ec66e6fd-f8dd-74a5-56b4-503995beea76 (No Format Information found).
    GetFileAttributesEx on path "C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 79\" failed with code 2(ERROR_FILE_NOT_FOUND).
    BatchOutputCollector::ExtractFiles called for C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 79\2272\
    BatchOutputCollector::ExtractFiles creating file !C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 79\2272\DeployFile.vbs!
    SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Modules\Global\Command Executer key does not exist
    Unable to open the global Settings registry, RegOpenKeyEx failed with 0x80070002(ERROR_FILE_NOT_FOUND)
    BatchOutputCollector::DoInit completed
    BatchResponse::DoStartProcess called
    Got completion for overlapped 00000000
    Got completion for overlapped 00000000
    Starting Process C:\WINDOWS\system32\cscript.exe //nologo "C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 79\2272\DeployFile.vbs" bls-db-601.advaltech.net 22 "C:\Program Files\System Center Operations Manager 2007\AgentManagement\UnixAgents\scx-1.0.4-248.aix.5.ppc.lpp.gz"
    BatchResponse::RunProcess(C:\WINDOWS\system32\cscript.exe,//nologo "C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 79\2272\DeployFile.vbs" Server 22 "C:\Program Files\System Center Operations Manager 2007\AgentManagement\UnixAgents\scx-1.0.4-248.aix.5.ppc.lpp.gz",C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 79\2272\,1,600,00286624) called
    BatchOutputCollector::StartOutputCollection called
    BatchOutputCollector::StartOutputCollection called
    Creating Process Handle 00000248
    BatchResponse::DoStartProcess completed
    BatchResponse::RunProcess(C:\WINDOWS\system32\cscript.exe,//nologo "C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 79\2272\DeployFile.vbs" bls-db-601.advaltech.net 22 "C:\Program Files\System Center Operations Manager 2007\AgentManagement\UnixAgents\scx-1.0.4-248.aix.5.ppc.lpp.gz",C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 79\2272\,1,600,00286624) completed
    Got completion for overlapped 000BDE20
    164 transferred for overlapped I/O 000BDE20
    Application read completed
    (04F1F430)->( 000BDE20, 0695FF0C )
    (04EF0100)->TCPIPAsyncTransportEndpointImpl::EndRead( 000BDE20, 00000000 )
    Read 164 bytes
    Reading encrypted data
    KerberosSSPIUtil::Decrypt
    Header size is 46 bytes, data is 110 bytes
    110 bytes decrypted
    (04ECDB58)->~( 04ECDB90, 050FF706, 00000000 ) = 0x00000000(drSuccessful)
    (04ECDB58)->~( 000BDE20, 050FF706 ) = 0x00000000(CHANNEL_SUCCESS)
    We have 94 and we need 94 bytes to uncompress
    Uncompressed 94 bytes to 140 bytes
    (04F18750)->( )
    (04F18750)->~( )
    (04F18750)->~( 000BDE20, 0487CD80 ) = 0x00000000(CHANNEL_SUCCESS)
    CChannelSessionImpl::CChannelSessionImpl 000BDE20
    
    
    76] Created new monitoring host of type HostTypeShared, ID -1, SID \\NT AUTHORITY\SYSTEM, task host (0x00000001(TRUE))
    ExecuteTask with context 05E83E50 completed successfully.
    Unknown(128): GUID=56a5b849-aaf1-4497-ba5f-eebd4d9dd1e7 (No Format Information found).
    ConfigManager loaded jobs for entity instance: '2607c046-d70f-bf47-2583-7a144bd26544'
    Finish configuration processing for all management groups.
    Got completion for overlapped 00000000
    Got completion for overlapped 00000000
    Module does not have batched input.  Status code on batched QI was 0x80004002(E_NOINTERFACE).
    Unable to locate node for tag Severity
    WsManCommon::Initialize Creating TargetUrl.
    WsManCommon::Initialize TargetUrl created = https://servername:1270/wsman
    WsManEnumeratePA::GetEventId called.
    WsManCommon::Initialize EventId returned = -1073730173
    WsManCommon::DoProcess called.
    WsManCommon::DoProcess passed initial arguments checking.
    `EXPR: HRESULT_FROM_WIN32(dwRet) FAILED` {setting hr= 0x80070002(ERROR_FILE_NOT_FOUND)}
    `EXPR: CheckThreadingModel(bIsMTA) FAILED` {setting hr= 0x80070002(ERROR_FILE_NOT_FOUND)}
    WsManCommon::DoProcess Clearing internal structure of output as we are exiting and if post-objects creation would have been handled.
    Got completion for overlapped 00000000
    TerminateModuleNoLock called on module 2274.
    Module called RequestNextDataItem while in a stop/unload pending state.
    GetAndCreateTemporaryStoragePath failed with code HSVC_E_NO_ENGINE_TEMPORARY_PATH.
    ConstructTemporaryStoragePath failed with code HSVC_E_NO_ENGINE_TEMPORARY_PATH.
    Got completion for overlapped 00000000
    Task with context 05E83E50 completed and producing output was 0x00000001(true).
    Notifying creator of task completion.  Context is 05E83E50, task result is 0(ERROR_SUCCESS), task output is <DataItem type="Microsoft.SystemCenter.WSManagement.WSManData" time="2010-03-08T16:44:24.3818337+01:00" sourceHealthServiceId="2607C046-D70F-BF47-2583-7A144BD26544"><WsManData><ErrorCode>0x80070002</ErrorCode><ErrorMessage>The system cannot find the file specified.
    
    </ErrorMessage></WsManData></DataItem>.
    

     

    • Editado Robert_Hearn martes, 09 de marzo de 2010 20:55 cleaned up log
    lunes, 08 de marzo de 2010 16:23
  • I see several "File Not Found" errors in the log. Some of it is errors finding registry keys on the OpsMgr server, since of it is finding directories under the Health Service State directory in OpsMgr. I am wondering if the DeployFile.vbs script gets created at all and the last File Not Found error is because it can't run the script that actually deploys the agent, or whether the script runs and the error is returned from the remote computer. Can you run DebugView on the OpsMgr server while you're doing a discovery? This will show you the real-time logging output and give you a better view into what is happening.


    Robert Hearn • Sr. Program Manager
    Customer & Partner Community
    System Center Cross Platform & Interop



    Read the Cross Platform & Interop team blog | Become a Fan on Facebook | Follow us on Twitter | Read my blog

    martes, 09 de marzo de 2010 21:02
  • hi robert,

    i allready did this and there i just have the same error file_not_found, but whitout some detailed description... this is this section of the debug view


    [25004] bls-db-601.advaltech.net: Installation was successful
    [25004] Call to DiscoveryTaskHelper.ExecuteWSManDiscovery()
    [18672] Script 'MOM Backward Compatibility Service State Monitoring Script' completed with the following output: (empty)
    [25004] Return from DiscoveryTaskHelper.ExecuteWSManDiscovery()
    [25004] Microsoft.MOM.UI.Console.exe Error: 0 :
    [25004] bls-db-601.advaltech.netWS-Man result has an exception: <ErrorCode>0x80070002</ErrorCode><ErrorMessage>The system cannot find the file specified.
    [25004] </ErrorMessage>

    i'm wondering. i read in a post, that this section of the registry was remove by the update to scom r2... and its not used anymore... in the trace also is written that if this key / value doesn't exist, the default value of 5 will be taken! so i think this is not the problem. there must be a problem with this deployfile.vbs or some input to or of it...

    what do you mean?

    miércoles, 10 de marzo de 2010 7:22
  • I'm not sure your installation is configured correctly if it's looking for registry keys that aren't there.

    Have you nebaled the SCX Debug Logging and then looked at the logs created during the discovery process?


    Robert Hearn • Sr. Program Manager
    Customer & Partner Community
    System Center Cross Platform & Interop



    Read the Cross Platform & Interop team blog | Become a Fan on Facebook | Follow us on Twitter | Read my blog

    lunes, 15 de marzo de 2010 18:21
  • as i wrote in the post before, this reg-keys seams to be removed with the update to r2. and if this keys doesnt exist, a default value will be taken for this action...

    im not sure, scx debug loggin can only be activated, when the agent is allready installed? or not?

    martes, 16 de marzo de 2010 9:17
  • Actually, the SCX debug logging I was referring to occurs on the OpsMgr server. See this page: Cross-Platform Logging Methods



    Robert Hearn • Sr. Program Manager
    Customer & Partner Community
    System Center Cross Platform & Interop



    Read the Cross Platform & Interop team blog | Become a Fan on Facebook | Follow us on Twitter | Read my blog

    jueves, 18 de marzo de 2010 0:01
  • hi,

    i can't find some additional errors with the module logging... i will open a ms-support call... thanks
    jueves, 18 de marzo de 2010 8:03
  • Hi,

    I have the same problem, do you resolve it?


    Salvador Gil Director de Proyectos Grupo Conese S.L.

    martes, 19 de junio de 2012 14:04