I receive error code 1 when trying to start a Windows service of Yellowfin

Summary

Error code 1 when starting the Yellowfin service on Windows usually indicates that a JVM of the wrong architecture is being used, for example a 32-bit JVM instead of 64-bit or vice versa. This article walks you through correcting the JVM setting and reinstalling the service if the issue persists.

Steps

1. Open Command Prompt as Administrator

Open the Start menu, search for Command Prompt, right-click it and select Run as Administrator.

Command Prompt opened with Run as Administrator selected

2. Navigate to the Yellowfin bin directory

Change directory to the bin folder of your Yellowfin installation:

<Yellowfin home>\bin

3. Open the service properties

Run the following command to open the Yellowfin service properties dialogue:

tomcat7w //ES//yellowfin

Yellowfin service properties dialogue

4. Update the JVM path

Go to the Java tab and check the Java Virtual Machine field. If the path contains (x86) under Program Files, it is pointing to a 32-bit JVM:

Java tab showing a 32-bit JVM path containing x86

Update the path to point to the correct JVM architecture. You may need to download and install the correct version if it is not already present on the machine:

Java tab updated to point to a 64-bit JVM path

Click OK and attempt to start the Yellowfin service.

If the Error Persists

If you are still seeing error code 1 after updating the JVM path, try removing and reinstalling the service. In the same Command Prompt window, run:

service remove yellowfin

Then reinstall it with:

service install yellowfin

Once reinstalled, attempt to start the service. If the error continues, check the JVM path again as it may have reverted.



If you have any further questions on this article, contact Support with a new ticket or send us an email.

Is this article helpful?
2 0 0