Search code examples
postgresqlfreebsdpostgresql-12

Postgre 12.2 - pg_ctl: could not start server but no other info is shown


good evening to you all! Im working with PostgreSQL 12.2 over FreeBSD 12.0-RELEASE and currently having this issue: Error

Background:

The user repl is created in pg_hba.conf of the main server and has the permissions, although that has nothing to do with this (I think). I suspect the issue has something to do with the original permissions the files had. I've researched this for quite some time but couldn't find and answer. Thank you for your time, and sorry If I missed some file you needed to see. I'll put it here if needed.

My recovery.conf file:

primary_conninfo='host=192.168.1.100 port=5432 user=repl pass=foo'
restore_command='cp /nfs/pg_wal_archive/%f %p'
restore_cleanup='' #I clean the NFS directory manually




Solution

  • Okey, my error was simply I had syslogd misconfigured and had read the wrong documentation. Shout outs to pifor for making me notice it. Despite it was a "I forgot the basics error" I'm leaving this in case someone misconfigures his logging :P