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