Error installing Foglight Management Server (FMS) with embedded PostgreSQL on a Korean operating system (OS):
Failed to startup embedded database. Failed to start Embedded Database (Reason: java.lang.IllegalStateException: Exception while waiting for postgres to get ready for external connections: java.io.IOException: pg_ctl existed with error code 1)
Following is found in the Windows Application Event viewer log:
pg_ctl: PID file ""D:/Quest_Software/Foglight575/state/postgresql-data/postmaster.pid"" does not exist
OR
pg_ctl: could not start server
Examine the log output.
OR
pg_ctl: another server might be running; trying to start server anyway
WORKAROUND:
1. Open a command prompt (e.g. cmd.exe, right-click and run as administrator)
2. Execute and set the environment variable as follows:
set LC_CTYPE=C
3. Start FMS Installer from the same console window and complete the wizard.
4. Start FMS server from the same console window "fms -s" or start FMS server from Service after running "fms -i" to create the Foglight service.
STATUS:
Defect FGL-18034 has been logged and is waiting for fix in a future release of Foglight.