Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I resolve an error when installing events-service on Windows OS?

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
Revision #:
6 of 6
Last update:
‎04-30-2021 07:27 PM
Updated by:
 
Labels (2)


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
0 Kudos