I got a slave server running Postgres 9.2 with streaming replication and wal_archive in an EC2 Instance at Amazon.
Postgres logs are showing me this error:
restored log file "000000020000179A000000F8" from archive invalid record length at 179A/F8FFF3D0 WAL segment `/var/lib/pgsql/9.2/archive/00000003.history` not found streaming replication successfully connected to primary FATAL: could not receive data from WAL stream: FATAL: requested WAL segment 000000020000179A000000F8 has already been removed
However, 000000020000179A000000F8 file is inside /var/lib/pgsql/9.2/archive directory: