Thread: BUG #17685: pg_rewind: error: unexpected result while fetching remote files: ERROR: could not open file ".s.PGS
BUG #17685: pg_rewind: error: unexpected result while fetching remote files: ERROR: could not open file ".s.PGS
From
PG Bug reporting form
Date:
The following bug has been logged on the website: Bug reference: 17685 Logged by: 强 魏 Email address: 1726002692@qq.com PostgreSQL version: 15.1 Operating system: Centos 7.6 Description: unix_socket_directories=".,/tmp" or unix_socket_directories='.' pg_rewind will be error:pg_rewind: error: unexpected result while fetching remote files: ERROR: could not open file ".s.PGSQL.5433" for reading: 没有那个设备或地址 [pg15@PG02 pg151]$ pg_rewind --target-pgdata=/pgdata/pg151 --source-server="host=192.168.247.100 port=5433 user=postgres password=root dbname=postgres" -R -n pg_rewind: servers diverged at WAL location 0/300000D8 on timeline 8 pg_rewind: rewinding from last common checkpoint at 0/30000028 on timeline 8 pg_rewind: error: unexpected result while fetching remote files: ERROR: could not open file ".s.PGSQL.5433" for reading: 没有那个设备或地址 unix_socket_directories='/tmp' pg_rewind is ok [pg15@PG02 pg151]$ pg_rewind --target-pgdata=/pgdata/pg151 --source-server="host=192.168.247.100 port=5433 user=postgres password=root dbname=postgres" -R pg_rewind: servers diverged at WAL location 0/300000D8 on timeline 8 pg_rewind: rewinding from last common checkpoint at 0/30000028 on timeline 8 pg_rewind: Done!