Здравствуйте, пытаюсь настроить реплику БД. Postgres отказывается запускаться, ссылаясь на ошибку:
2016-10-27 18:04:32 MSK [3687-1] FATAL: database system identifier differs between the primary and standby
2016-10-27 18:04:32 MSK [3687-2] DETAIL: The primary's identifier is 6300853119170962464, the standby's identifier is 6343126169967713718.
2016-10-27 18:04:32 MSK [3690-1] postgres@postgres PANIC: could not open critical system index 2671
2016-10-27 18:04:32 MSK [3621-22] LOG: received smart shutdown request
2016-10-27 18:04:32 MSK [3621-23] LOG: server process (PID 3690) was terminated by signal 6: Aborted
2016-10-27 18:04:32 MSK [3621-24] LOG: terminating any other active server processes
2016-10-27 18:04:33 MSK [3621-25] LOG: abnormal database system shutdown
Сам psql тоже не запускается, выдавая:
root@ProLiant-DL160-G6:/var/log/postgresql# psql
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Как можно починить?