Running two PostgreSQL 9.2.3 instances. One is master and other is slave.
All was working for awhile, I could make changes on master and see them on the slave but now my slave is not getting changes any more.
1000 25069 0.2 0.1 131616 11280 pts/0 S 01:02 0:00 /usr/local/pgsql/bin/postmaster -D /mnt/pgdb/v9.2.3 -i
1000 25074 0.0 0.0 131724 1440 ? Ss 01:02 0:00 postgres: startup process waiting for 000000040000000700000083
I've tried countless things including completely blowing away the slave, running initdb and rsyncing the master back to the slave, launching the slave only to find it still stuck in this same dam state.
What the hell am I doing wrong here?
Slave's recovery.conf looks as follows:
standby_mode = 'on'
primary_conninfo = 'host=172.16.0.14'
trigger_file = '/tmp/pgfailover'
restore_command = 'cd .'
I've also tried the following on the master to no avail:
$PGDIR/psql -U $UNAME -d postgres -c "select pg_start_backup('clone',true);"
rsync -av --exclude pg_xlog --exclude postgresql.conf /mnt/pgdb/current/* 172.16.0.8:/mnt/pgdb/current/
$PGDIR/psql -U $UNAME -d postgres -c "select pg_stop_backup();"
Been banging my head on this for hours... Please help.