hapostgres / pg_auto_failover

Postgres extension and service for automated failover and high-availability
Other
1.09k stars 114 forks source link

Failed to open file and Failed to read configuration file #873

Closed altinsoft closed 2 years ago

altinsoft commented 2 years ago

11:31:31 1521 ERROR Failed to open file "/var/lib/postgresql/monitor/postmaster.pid": No such file or directory 11:31:31 1521 INFO Is PostgreSQL at "/var/lib/postgresql/monitor" up and running? 11:31:31 1521 ERROR Failed to get Postgres pid, see above for details 11:31:31 1521 FATAL Failed to discover PostgreSQL setup, please fix previous errors. 11:31:31 1521 FATAL Failed to read configuration file "/var/lib/postgresql/.config/pg_autoctl/var/lib/postgresql/monitor/pg_autoctl.cfg"

altinsoft commented 2 years ago

Sorry. The Monitor service was not running due to a configuration error. The configuration was corrected and the service worked. Problem solved.