Re: What is "return code" for WAL send command

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: zhong ming wu <mr(dot)z(dot)m(dot)wu(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: What is "return code" for WAL send command
Date: 2010-10-23 15:48:30
Message-ID: 13030.1287848910@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

zhong ming wu <mr(dot)z(dot)m(dot)wu(at)gmail(dot)com> writes:
> I have a master PG 8.1.11 sending WAL files to a cold-standby using rsync

> For some reason it failed recently with "return codes 32512" and I couldn't
> find this num. as a valid rsync exit code

> During the time that the error was going on I tried the rsync command
> manually and didn't error

> Can someone tell me what kind if error is 32512

A more recent version of Postgres would break that down for you: it
means the subprocess exited with exit(127). A look in the shell
man page suggests this is a "command not found" failure. Maybe
there's something flaky about where you have rsync mounted?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-10-23 16:28:51 Re: rule which unpredictable modify a sequence number
Previous Message Craig Ringer 2010-10-23 15:01:34 Re: Advice needed on application/database authentication/authorization/auditing model