So, I found a log file on /var/log/postgres/ 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
I changed the max_stack_depth value on postgresql.conf. Now, I'm getting this error: could not open file "pg_xlog/00000002000014AB0000000B" (log file 5291, > segment 11): No such file or directory The wal_files aren't inside pg_xlog... I store them in a different folder. Will try to solve this.