Thread: error

error

From
"Vitaly Burshteyn"
Date:

Ho folks,

 

 

Was wandering if anybody can point me in the right direction.  I am using walmgr to move WAL files from primary to stand by server.

 

And I keep getting this in my log files:

 

rsync: connection unexpectedly closed (0 bytes received so far) [sender]

rsync error: error in rsync protocol data stream (code 12) at io.c(453) [sender=2.6.9]

2010-03-18 21:20:22,194 10972 CRITICAL rsync exec failed, res=12

2010-03-18 21:20:22,197 10972 INFO got SystemExit(1), exiting

LOG:  archive command failed with exit code 1

DETAIL:  The failed archive command was: /skytools-2.1.11/python/walmgr.py /skytools-2.1.11/python/wal-master.ini xarchive pg_xlog/000000010000000000000000 00000001000000$

Host key verification failed.

 

 

I know there is nothing wrong with my host key as I can move between the servers with out any issues.

 

Thanks,

Re: error

From
Devrim GÜNDÜZ
Date:
On Thu, 2010-03-18 at 21:23 -0400, Vitaly Burshteyn wrote:
> Host key verification failed.
>
> I know there is nothing wrong with my host key as I can move between
> the servers with out any issues.

Host key != ssh key.

You can easily reproduce this issue by trying to ssh from master to
slave server as user postgres (or whatever). If you are sure that
nothing is wrong, feel free to delete the related entry in
~/ssh/known_hosts file, and ssh to the slave server manually to test.
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachment