Search Postgresql Archives

Re: Postgresql 9.2 Ubuntu - is not starting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux