| 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-24 16:33:57 |
| Message-ID: | 3657.1287938037@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
zhong ming wu <mr(dot)z(dot)m(dot)wu(at)gmail(dot)com> writes:
> postgres user has both rsync and ssh in its path but is it possible
> that it is not using $PATH ?
> One other thing is that just before the error the postgres was
> restarted by other admin with rc.d/postgresql command
> instead of pg_ctl which is what I normally use. Perhaps
> rc.d/postgresql command does not work well with WAL sending command?
I'd bet that the other way failed to start the postmaster with the
expected value of $PATH. Take a close look at the script and see
if it causes postgres' login environment to be installed or not
(ie, su -l not just su).
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2010-10-24 18:25:26 | Re: Getting ROW_COUNT from MOVE in 8.3 |
| Previous Message | Harald Fuchs | 2010-10-24 16:04:23 | Re: Advice needed on application/database authentication/authorization/auditing model |