Je suis en train d'obtenir la réplication en continu en cours d'exécution sur postgresql 9.0. Je suis les étapes comme mentionné dans le lien: http://brandonkonkle.com/blog/2010/oct/20/postgres-9-streaming-replication-and-django-balanc/Erreur de postgresql 9.0 archivage lors de la configuration de la réplication en continu à chaud
Quand j'essaye d'exécuter une commande d'archivage sur postgresql, j'obtiens l'avertissement me demandant d'attendre sans fin. J'exécute les commandes dans l'ordre suivant:
SELECT pg_start_backup('base_backup');
cd /var/lib/postgresql/9.0/
sudo tar -cjf ~/postgres-data.tar.bz2 main
SELECT pg_stop_backup();
Pour cela, je reçois la sortie suivante:
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.
Cela permet de continuer plus loin et l'avertissement ne se termine jamais. S'il vous plaît laissez-moi savoir si quelqu'un a fait face à ce problème.