Re: Two started cluster on the same data directory and port

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Two started cluster on the same data directory and port
Дата
Msg-id 7280c019-2c61-452c-be52-bf38604df356@aklaver.com
обсуждение исходный текст
Ответ на Re: Two started cluster on the same data directory and port  (Loles <lolesft@gmail.com>)
Ответы Re: Two started cluster on the same data directory and port
Список pgsql-general
On 11/30/23 09:27, Loles wrote:

> root@hostname:~# pg_lsclusters
> Ver Cluster  Port Status Owner    Data directory              Log file
> *14  main     5432 online* postgres /var/lib/postgresql/14/main 
> /var/log/postgresql/postgresql-14-main.log
> *14  main_old 5432 online *postgres /var/lib/postgresql/14/main 
> /var/log/postgresql/postgresql-14-main_old.log
> 
> Start, up the two cluster.
> 

Before going any further make sure you have a current backup of the 
database.

Hmm, are /etc/postgresql/14/main/ and /etc/postgresql/14/main_old/ 
symlinked together?

If not what if you move the ~14/main_old/ directory somewhere else and 
then restart Postgres?

Adrian Klaver
adrian.klaver@aklaver.com




В списке pgsql-general по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Fixing or Mitigating this ERROR: invalid page in block 35217 of relation base/16421/3192429
Следующее
От: Vijaykumar Patil
Дата:
Сообщение: PAF with Pacemaker