cancel
Showing results for 
Search instead for 
Did you mean: 

Diagnostics Agent on Windows (BOE 4.2 & Tomcat): Registry Access Exception

jsteinkuehler
Explorer
0 Kudos
618

Hello,

I have installed Diagnostics Agent (Version: 7.20.7.0.20180413084711) on Windows Server 2012 R2 to connect our BOE 4.2 and Apache Tomcat 8.0 to our Solution Manager 7.2 SP07.

In the Agent Administration of our SolMan everything looks fine. The agents are connected and the managed system configuration ended without an error or warning.

Now I am wondering about errors which I have found in the SMDAgentApplication.log:

Nov 26, 2018 8:00:11 PM [Thread[Thread-1,5,main] ] Error Exception while reading Windows registry [EXCEPTION] com.sap.smd.agent.plugins.datacollector.create.registry.exc.RegistryAccessException: Cannot Access Windows Registry at com.sap.smd.agent.plugins.datacollector.create.registry.impl0.RegistryAccessor.getRegistryNodes(RegistryAccessor.java:101) at com.sap.smd.agent.plugins.datacollector.create.registry.impl0.RegistryRootImpl0.getRegistryNodes(RegistryRootImpl0.java:83) at com.sap.smd.agent.plugins.datacollector.winregistry.WinRegistryCollect.readNextWinRegistryStores(WinRegistryCollect.java:287) at com.sap.smd.agent.plugins.datacollector.winregistry.WinRegistryCollect.collect(WinRegistryCollect.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:241) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:483) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:282) at com.sap.engine.services.rmi_p4.DispatchImpl.run(DispatchImpl.java:759) at java.lang.Thread.run(Thread.java:836) Caused by: com.sap.smd.agent.plugins.datacollector.create.registry.exc.RegistryExportException: Process <cmd /q /c REG.EXE EXPORT "HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0" "D:\usr\sap\DAA\SMDA98\SMDAgent\applications\com.sap.smd.agent.application.datacollector_7.20.7.0.20180413085433\work\REG7210890737283901318.tmp"> has failed to run.Check following log file for more details <D:\usr\sap\DAA\SMDA98\SMDAgent\applications\com.sap.smd.agent.application.datacollector_7.20.7.0.20180413085433\work\REGEXE8558753502317648864.err> at com.sap.smd.agent.plugins.datacollector.create.registry.util.RegistryProcess.export(RegistryProcess.java:186) at com.sap.smd.agent.plugins.datacollector.create.registry.impl0.RegistryAccessor.readRegistry(RegistryAccessor.java:202) at com.sap.smd.agent.plugins.datacollector.create.registry.impl0.RegistryAccessor.getRegistryNodes(RegistryAccessor.java:97) ... 12 more Nov 27, 2018 8:31:31 AM [Thread[ExRun:WILYHOST_SCHEDULER_5,5,WILYHOST_SCHEDULER:ExecTG]] Warning com.sap.smd.wily.hostagent.action.AbstractAction - run(): Wait time of Action OsProcessDataProviderWs_DiagnosticsAgent for destination SapHostControl_OS_CIM: 31928 ms Nov 27, 2018 10:34:34 AM [Thread[FileSystemService_3fab7ec4,5,main] ] Error Exception while reading Windows registry [EXCEPTION] com.sap.smd.agent.plugins.datacollector.create.registry.exc.RegistryAccessException: Cannot Access Windows Registry at com.sap.smd.agent.plugins.datacollector.create.registry.impl0.RegistryAccessor.getRegistryNodes(RegistryAccessor.java:101) at com.sap.smd.agent.plugins.datacollector.create.registry.impl0.RegistryRootImpl0.getRegistryNodes(RegistryRootImpl0.java:83) at com.sap.smd.agent.plugins.datacollector.winregistry.WinRegistryCollect.readNextWinRegistryStores(WinRegistryCollect.java:287) at com.sap.smd.agent.plugins.datacollector.winregistry.WinRegistryCollect.collect(WinRegistryCollect.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:241) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:483) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:282) at com.sap.engine.services.rmi_p4.DispatchImpl.run(DispatchImpl.java:759) at java.lang.Thread.run(Thread.java:836) Caused by: com.sap.smd.agent.plugins.datacollector.create.registry.exc.RegistryExportException: Process <cmd /q /c REG.EXE EXPORT "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Suite XI 4.0\Components" "D:\usr\sap\DAA\SMDA98\SMDAgent\applications\com.sap.smd.agent.application.datacollector_7.20.7.0.20180413085433\work\REG3897416309753568087.tmp"> has failed to run.Check following log file for more details <D:\usr\sap\DAA\SMDA98\SMDAgent\applications\com.sap.smd.agent.application.datacollector_7.20.7.0.20180413085433\work\REGEXE4449489011582211315.err> at com.sap.smd.agent.plugins.datacollector.create.registry.util.RegistryProcess.export(RegistryProcess.java:186) at com.sap.smd.agent.plugins.datacollector.create.registry.impl0.RegistryAccessor.readRegistry(RegistryAccessor.java:202) at com.sap.smd.agent.plugins.datacollector.create.registry.impl0.RegistryAccessor.getRegistryNodes(RegistryAccessor.java:97) ... 12 more

I haven't found a solution in SAP launchpad concerning this issue.

Does anybody has an idea what I have to do to resolve this issue?

These are the steps I have done so far to connect the systems to the SolMan:

1. Installation SAP Host Agent

2. Installed Diagnostics Agent

3. Run AC Tool

4. Managed System Configuration

Thanks in advance!

Best regards,

Jens

Accepted Solutions (0)

Answers (4)

Answers (4)

canute
Explorer
0 Kudos

Hello, did anyone find answer for this?

The same issue is happening for a windows system

S_Sriram
Active Contributor
0 Kudos

Hi

1. Just do the full system restart and then try again.

2. could you share the log as text format attachment?

BR

SS

S_Sriram
Active Contributor
0 Kudos

Hi

Could you check the user id SMDA98 having administrator privileges?

BR

SS

jsteinkuehler
Explorer
0 Kudos

Hi,

the user DAAADM is member of the following groups:

  • Administrators
  • SAP_DAA_LocalAdmin
  • SAP_LocalAdmin
  • Users

The user SAPServiceDAA is member of these groups:

  • Performance Monitor Users
  • SAP_DAA_LocalAdmin
  • SAP_LocalAdmin
  • Users

Best regards

Jens

S_Sriram
Active Contributor
0 Kudos

Hi Jens

Refer the SAP Note 2477053 following exception - com.sap.smd.agent.plugins.datacollector.create.registry.exc.RegistryAccessException

Regards

SS

jsteinkuehler
Explorer
0 Kudos

Hi,

I have found this SAP Note,too. But it seems only valid when you are running Business Objects on a Linux Environment.

Best regards

Jens