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

From: Fredric Fredricson <Fredric(dot)Fredricson(at)bonetmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: What is "return code" for WAL send command
Date: 2010-10-25 07:49:02
Message-ID: 4CC5366E.4080201@bonetmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/23/2010 02:01 PM, zhong ming wu wrote:
>
> Hello
>
> 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
>
I guess you have fallen into the common pitfall that cron does not read
bash ini files and does not set the $PATH variable. If you want your
scripts to be run by cron you must make them independent of $PATH and
other variables set by .bashrc etc.

My $.02.
/Fredric
>
> Can someone tell me what kind if error is 32512
>
> Thanks
>
> Mr. Wu
>

Attachment Content-Type Size
Fredric_Fredricson.vcf text/x-vcard 207 bytes

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David W Noon 2010-10-25 11:19:10 Re: What is "return code" for WAL send command
Previous Message Alban Hertroys 2010-10-25 07:29:34 Re: Getting ROW_COUNT from MOVE in 8.3