Re: Postgresql 9.2 Ubuntu - is not starting

Поиск
Список
Период
Сортировка
От Patrick B
Тема Re: Postgresql 9.2 Ubuntu - is not starting
Дата
Msg-id CAJNY3ivoyD0CWf69J5ihaATQL5jtSvFDQ3H4g0-g4L95xmQTug@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postgresql 9.2 Ubuntu - is not starting  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
This is now solved guys.

There were three problems.

1 - I was looking for the logs on /var/lib/postgresql/9.2/main/pg_log. And it's wrong. On ubuntu, the logs are: /var/log/postgresql

2 - I just changed the max_stack_depth to the default

DETAIL:  "max_stack_depth" must not exceed 7680kB.
HINT:  Increase the platform's stack depth limit via "ulimit -s" or local equivalent.
2016-08-02 19:54:06.293 UTC|12960|FATAL:  configuration file "/etc/postgresql/9.2/main/postgresql.conf" contains errors

3 - My wal_files aren't being stored into pg_xlog. I use a different folder in a different partition, because my servers use SATA disks.
As I use centOS as Postgres Server, the recovery.conf was written for postgres and the restore_command and cleanup weren't right.
I just had to ajust them to Ubuntu (by putting the entire path) and it started to work.


Now, the server is restoring the wal_files and it's all good

restored log file "00000002000014AB00000063" from archive


Thanks
Patrick 

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

Предыдущее
От: Patrick B
Дата:
Сообщение: Re: Postgresql 9.2 Ubuntu - is not starting
Следующее
От: Patrick B
Дата:
Сообщение: Re: pg_archivecleanup standalone bash script