title: Error from postgresql 9.0 archiving while configuring hot streaming replication
body: <p>I am trying to get streaming replication running on postgresql 9.0. I am following the steps as mentioned in the link : <a href="http://brandonkonkle.com/blog/2010/oct/20/postgres-9-streaming-replication-and-django-balanc/" rel="noreferrer">http://brandonkonkle.com/blog/2010/oct/20/postgres-9-streaming-replication-and-django-balanc/</a></p>
  
  <p>When I try to execute an archiving command on postgresql, I get warning asking me to wait endlessly. I am executing the commands in the following order:</p>
  
  <pre><code>SELECT pg_start_backup('base_backup');
  
  cd /var/lib/postgresql/9.0/
  sudo tar -cjf ~/postgres-data.tar.bz2 main
  
  SELECT pg_stop_backup();
  </code></pre>
  
  <p>For this I get the following output:</p>
  
  <pre><code>NOTICE:  pg_stop_backup cleanup done, waiting for required WAL segments to be archived
  WARNING:  pg_stop_backup still waiting for all required WAL segments to be archived (60 seconds elapsed)
  HINT:  Check that your archive_command is executing properly.  pg_stop_backup can be cancelled safely, but the database backup will not be usable without all the WAL segments.
  WARNING:  pg_stop_backup still waiting for all required WAL segments to be archived (120 seconds elapsed)
  HINT:  Check that your archive_command is executing properly.  pg_stop_backup can be cancelled safely, but the database backup will not be usable without all the WAL segments.
  </code></pre>
  
  <p>This keeps continuing further and the warning never ends. Please let me know if anyone has faced this issue.</p>