go2MONITOR 21.1 database setup is not ok. Application not starting

shoc FAQ

go2MONITOR 21.1 database setup is not ok. Application not starting

Messages:

  • CMAS System error: Database QPSQL.... open failed
  • go2MONITOR hangs on start, empty windows
  • You can find in dbcreatescript.log:
    running bootstrap script ... 2021-01-23 08:36:26.248 CET [15828] LOG:  invalid value for parameter "lc_messages": ""
    2021-01-23 08:36:26.249 CET [15828] FATAL:  configuration file

Problem:

  • Windows localization

Solution:

  • Modilfy create_database.bat to:
"%BATCH_PATH%pgsql\bin\pg_ctl" initdb -D "%DBPATH%" -o "-E UTF8 -U cmas --locale=en_US"
  • --locale=en_US must be replaced by the value used by your windows display language
    (consult windows settings and PostgreSQL manual)

Last update on 2022-02-01 by Rolf Haenggi.

Go back