pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBug in postgres 9.2 installation: pg_archivecleanup: command not found
3+ messages / 2 participants
[nested] [flat]
* Bug in postgres 9.2 installation: pg_archivecleanup: command not found
@ 2012-11-12 18:45 Niels Kristian Schjødt <nielskristian@autouncle.com>
0 siblings, 1 reply; 3+ messages in thread
From: Niels Kristian Schjødt @ 2012-11-12 18:45 UTC (permalink / raw)
To: pgsql-bugs
I have installed postgres 9.2 on ubuntu 12.04 like this:
sudo add-apt-repository ppa:pitti/postgresql
sudo apt-get update
sudo apt-get install postgresql-9.2
However after this, i get the following error:
2012-11-12 17:49:38 GMT WARNING: archive_cleanup_command "pg_archivecleanup /var/lib/postgresql/9.2/wals/ %r": return code 32512
sh: 1: pg_archivecleanup: not found
The same happens if I try directly as root:
root@slave-db ~ # pg_archivecleanup
pg_archivecleanup: command not found
What can I do about it?=
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Bug in postgres 9.2 installation: pg_archivecleanup: command not found
@ 2012-11-12 18:55 Devrim Gündüz <devrim@gunduz.org>
parent: Niels Kristian Schjødt <nielskristian@autouncle.com>
0 siblings, 1 reply; 3+ messages in thread
From: Devrim Gündüz @ 2012-11-12 18:55 UTC (permalink / raw)
To: Niels Kristian Schjødt <nielskristian@autouncle.com>; pgsql-bugs
Hi,
You probably need to install -contrib subpackage as well.
Regards,
"Niels Kristian Schjødt" <nielskristian@autouncle.com> wrote:
>I have installed postgres 9.2 on ubuntu 12.04 like this:
>
>sudo add-apt-repository ppa:pitti/postgresql
>sudo apt-get update
>sudo apt-get install postgresql-9.2
>
>However after this, i get the following error:
>
>2012-11-12 17:49:38 GMT WARNING: archive_cleanup_command
>"pg_archivecleanup /var/lib/postgresql/9.2/wals/ %r": return code 32512
>sh: 1: pg_archivecleanup: not found
>
>The same happens if I try directly as root:
>
>root@slave-db ~ # pg_archivecleanup
>pg_archivecleanup: command not found
>
>What can I do about it?
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Bug in postgres 9.2 installation: pg_archivecleanup: command not found
@ 2012-11-12 19:05 Niels Kristian Schjødt <nielskristian@autouncle.com>
parent: Devrim Gündüz <devrim@gunduz.org>
0 siblings, 0 replies; 3+ messages in thread
From: Niels Kristian Schjødt @ 2012-11-12 19:05 UTC (permalink / raw)
To: Devrim Gündüz <devrim@gunduz.org>; +Cc: pgsql-bugs
I found this is the manual:
http://www.postgresql.org/docs/9.1/static/pgarchivecleanup.html
F.25.4. Supported Server Versions
pg_archivecleanup is designed to work with PostgreSQL 8.0 and later when used as a standalone utility, or with PostgreSQL 9.0 and later when used as an archive cleanup command.
How does that match your answer? I would expect it to be part of the installation, when used in this:
> archive_cleanup_command "pg_archivecleanup /var/lib/postgresql/9.2/wals/ %r"
inside my recovery.conf file.
Den 12/11/2012 kl. 19.55 skrev Devrim Gündüz <devrim@gunduz.org>:
> Hi,
>
> You probably need to install -contrib subpackage as well.
>
> Regards,
>
> "Niels Kristian Schjødt" <nielskristian@autouncle.com> wrote:
> I have installed postgres 9.2 on ubuntu 12.04 like this:
>
> sudo add-apt-repository ppa:pitti/postgresql
> sudo apt-get update
> sudo apt-get install postgresql-9.2
>
> However after this, i get the following error:
>
> 2012-11-12 17:49:38 GMT WARNING: archive_cleanup_command "pg_archivecleanup /var/lib/postgresql/9.2/wals/ %r": return code 32512
> sh: 1: pg_archivecleanup: not found
>
> The same happens if I try directly as root:
>
> root@slave-db ~ # pg_archivecleanup
> pg_archivecleanup: command not found
>
> What can I do about it?
>
> --
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2012-11-12 19:05 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-11-12 18:45 Bug in postgres 9.2 installation: pg_archivecleanup: command not found Niels Kristian Schjødt <nielskristian@autouncle.com>
2012-11-12 18:55 ` Devrim Gündüz <devrim@gunduz.org>
2012-11-12 19:05 ` Niels Kristian Schjødt <nielskristian@autouncle.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox