cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The AppDynamics Community is Migrating this Friday, February 28th.


At 6pm PST, the AppDynamics Community will go into read-only mode and after migration is complete, you will be redirected to community.splunk.com.
Read more here


Mohammed.Rayan
AppDynamics Team

How do I diagnose and troubleshoot an error while installing the events service on Windows OS using the following command?

D:\events-service>bin\events-service.exe service-install -p conf\events-service-api-store.properties --auto-start --log-verbose

 

Table of Contents

  • Symptoms
  • Diagnosis
  • Solution

 

Symptoms

You might encounter the following error while trying to install the events-service on Windows OS:

[2017-02-08T11:04:35,378+04:00] HV000001: Hibernate Validator 5.0.2.Final 
java.lang.RuntimeException: CreateProcessW() failed, error: 740 
at com.zaxxer.nuprocess.windows.WindowsProcess.start(WindowsProcess.java 
:262) 
at com.zaxxer.nuprocess.windows.WinProcessFactory.createProcess(WinProce 
ssFactory.java:42) 
at com.zaxxer.nuprocess.NuProcessBuilder.start(NuProcessBuilder.java:266 
) 
at com.appdynamics.common.executor.command.SubProcessManager.execute(Sub 
ProcessManager.java:45) 
at com.appdynamics.common.executor.command.SubProcessManager.execute(Sub 
ProcessManager.java:36) 
at com.appdynamics.common.executor.command.windows.AppInstallServiceComm 
and.executeCommand(AppInstallServiceCommand.java:190) 
at com.appdynamics.common.executor.command.windows.AppInstallServiceComm 
and.execute(AppInstallServiceCommand.java:180) 
at com.appdynamics.common.executor.CommandExecutor.execute(CommandExecut 
or.java:38) 
at com.appdynamics.analytics.processor.executor.AnalyticsServiceExecutor 
.main(AnalyticsServiceExecutor.java:89) 
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 com.appdynamics.common.executor.standalone.ProxyMain.callActualMain(P 
roxyMain.java:158) 
at com.appdynamics.common.executor.standalone.ProxyMain.main(ProxyMain.j 
ava:106)

 

Diagnosis

The issue occurred because the install command was run without using the Administrator Privilege. To resolve the issue, you'll need to start the command prompt as an administrator.

 

Solution: Start a command prompt as an administrator

To start a command prompt as an administrator:

 
  1. Click Start >All Programs, then click Accessories.

  2. Right-click Command prompt, and then click Run as administrator.

  3. Run the events-service install command. The installation will then succeed.
Version history
Last update:
‎04-30-2021 07:27 PM
Updated by:
Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Contributors