I tried to find solutions, but nothing helps.
I need to backup my pgsql data from an application that I have not used for several months. I found that the postgresql server is not working. But he cannot start it.
I run pg_ctl -D /usr/local/pgsql/data -l logging.log -w -s startas pgsqluser (su pgsql). The output says that it cannot start the server and tells me to check the logs. But logging.log is an empty file. Any default log file that I found on the Internet has been modified a few months ago or is empty or does not even exist.
I don’t know how to find the error, because the logs are empty or I just don’t know where to look for them.
Important note: it worked a few months ago, but during this time there were almost no changes (it is possible to change the host name).
- Postgres v9.1
- System: FreeBSD 10.0-RC4
source
share