This document will help you understand how you can troubleshoot issues pertaining to postgresql replication.
ps -ef | grep sender ps -ef | grep receiver |
select pg_last_xlog_receive_location(); select pg_last_xlog_replay_location(); |
sudo service postgresql-9.2 restart |