Skip to main content

Starting a Stopped Server

If a situation occurs where it doesn't start for some reason, you can follow this guide

Written by Petr Pech

The Flexi server starts automatically when the system boots. If for any reason it fails to start, you will be given the option to start it when attempting to log in.

Windows

Navigate to the directory where Flexi is installed. The default location is C:\Program Files\Winstrom\. In that directory, you will find a subdirectory called service, which contains a file named start.bat — run this file. If the problem persists, continue with the steps below.

First, make sure the Flexi server is actually not running. From the Start menu, open Control Panel and click the Administrative Tools icon. If you do not see this icon, switch the Control Panel to Classic View using the sidebar. Then select Services from the menu that appears.

A dialog will appear. In the Name column, locate the service named WinStromService. Check the Status column to verify whether it is running. Do the same for the WinStrom-PostgreSQL service. If either service is not running, restart the WinStromService — this will automatically start the WinStrom-PostgreSQL service as well.

The issue may also be caused by a port mismatch between the data source settings in the application and the port specified in the Flexi-server.xml file. (This file is located in C:\Program Files\Common Files\WinStrom or C:\Program Files (x86)\Common Files\WinStrom)

In the output, look for a postgres process running under the winstrom_postgresql user. If it appears in the output, the database server is running.

Mac OS X

You can verify whether the server is running by entering the following command:

ps aux | grep Flexi

If lines are returned under the winstrom user containing Java and PostgreSQL, the servers are running.

Open a command prompt (terminal) and enter the following command:

sudo /bin/launchctl load -w /Library/LaunchDaemons/eu.flexibee.server.plist

If the command returns an error, it should be sufficient to start the server using the following command:

launchctl start eu.flexibee.postgresql

Linux

Open a command prompt (terminal) and enter the following command:

sudo /etc/init.d/flexi start

You can verify whether the database server is running by entering the following command:

sudo /etc/init.d/flexi status

If the server is running, the output will be:

Flexi Server is running
Did this answer your question?