Difference between revisions of "Debugging Windows Service Startup"

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search
Line 1: Line 1:
Open the task manager.
Open the task manager.
Check if there is a "GigaFlow.exe" application/process running.  
Check if there is a "GigaFlow.exe" application/process running.  

Revision as of 15:57, 11 February 2019

Open the task manager. Check if there is a "GigaFlow.exe" application/process running.

If so, select it and then click the "End Task" button.

Open up an administrators command prompt. Navigate to the folder where GigaFlow.exe is located (default:c:\GigaFlow\Flow\resources). Run

GigaFlow.exe -debug

The output of this should tell you what the problem is (i.e. java not installed, no database access or some invalid parameter in the GigaFlow.ini file)

If java hasn't been found, re-run the java installer as sometimes customers try to upgrade the JRE which actually removes it from the registry. If you ran the full installer, the standalone java installer will be available in the dist folder (default:c:\GigaFlow\Flow\dist\jre-8*) Once, this has been installed, rerun the "GigaFlow.exe -debug" to see if the problem has been resolved. If it has, press ctrl-c to stop the debug mode and then re-start the service from the windows service console.

If you have a postgres error, open up the services.msc application to check that the postgres service is installed (postgresql-x64-xxx). If it is, ensure that it is set to start automatically and is running.

If its not installed, you can reinstall using the file in the dist folder (default:c:\GigaFlow\Flow\dist\postgresql-xxxx*) The only thing you will have to set is the postgres user password, this should be "P0stgr3s_2ME" when installation is complete, you can use the postgres pgAdmin tool to add the myipfix user (with password "myipfx" and superuser permissions) and a myipfix database with the owner of myipfx) Please ensure that the "account disabled" tick box is clear before saving.

If postgres is installed but won't start, check the windows "Event Viewer" and also the logs in the postgres "data\pg_logs" folder, normally there is either a bad setting or the disk is full.

When problems are rectified, you can restart the GigaFlow service to resume normal operations.