On 13 August 2014 07:55, Paul Tiseo <[email protected]> wrote:
> Under the postgres user manually, and when added in archive_command, type
> returns /usr/local/bin/wal-e, which is correct. The log (not the csv) also
> says "envdir: fatal: unable to run wal-e: file does not exist".

/usr/local/bin is likely not in the $PATH being used by the postgres
process. This is likely different to the path you are manually testing
with, as that session will be a login shell.

As others have stated, putting the full path to the wal-e binary in
your archive_command will likely fix WAL archiving
(archive_command='envdir /etc/wal-e.d/env /usr/local/bin/wal-e
wal-push %p', which I don't think you tried yet).

First get WAL archiving working, so you are no longer getting those
111 errors spit out in your postgresql log file. Only then will your
backups have a hope.



-- 
Stuart Bishop <[email protected]>
http://www.stuartbishop.net/

-- 
You received this message because you are subscribed to the Google Groups 
"wal-e" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to