Postgresql – pg_basebackup: could not get WAL end position from server

backuppostgresqlreplication

I want to create a Base Backup with the pg_basebackup tool of postgres 9.1. After some seconds I receive:

“pg_basebackup: could not get WAL end position from server`

What can be the reason for this error message?

Best Answer

The problem was that there were files in the data directory not owned by the postgres user.