Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TXzBc-000121-1E for pgsql-bugs@postgresql.org; Mon, 12 Nov 2012 18:56:44 +0000 Received: from ns1.gunduz.org ([77.79.103.58]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TXzBZ-0005XV-Dr for pgsql-bugs@postgresql.org; Mon, 12 Nov 2012 18:56:43 +0000 Received: from [10.2.203.92] (unknown [92.40.253.197]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 34F5F1409E3; Mon, 12 Nov 2012 18:55:24 +0000 (UTC) User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----2DIIZK89NVBHYH6KEZ61A0H5VJBSKN" Subject: Re: Bug in postgres 9.2 installation: pg_archivecleanup: command not found From: =?ISO-8859-1?Q?Devrim_G=FCnd=FCz?= Date: Mon, 12 Nov 2012 18:55:30 +0000 To: =?ISO-8859-1?Q?Niels_Kristian_Schj=F8dt?= , pgsql-bugs@postgresql.org Message-ID: X-Pg-Spam-Score: -1.3 (-) X-Archive-Number: 201211/59 X-Sequence-Number: 34617 ------2DIIZK89NVBHYH6KEZ61A0H5VJBSKN Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, You probably need to install -contrib subpackage as well. Regards, "Niels Kristian Schj=C3=B8dt" 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? --=20 Sent from my Android phone with K-9 Mail. Please excuse my brevity. ------2DIIZK89NVBHYH6KEZ61A0H5VJBSKN Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable H= i,

You probably need to install -contrib subpackage as well.

Regards,

"Niels Kristian Schj=C3=B8= dt" <nielskristian@autouncle.com> wrote:
I have installed postgres 9.2 on ubuntu 12.04 like this:

=
sudo add-apt-repository ppa:pitti/postgresql
su= do apt-get update
sudo apt-get install postgresql-9.2

However a= fter this, i get the following error:

=
2012-11-12 17:49:38 GMT WARNING:  archive_clean= up_command "pg_archivecleanup /var/lib/postgresql/9.2/wals/ %r": return c= ode 32512
sh: 1: pg_archivecleanup: not found

<= /div>
The same happens if I try directly as root:

root@slave-db ~ # pg_archivecleanup
pg_archivecleanup: command not found

What can I do abou= t it?

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity. ------2DIIZK89NVBHYH6KEZ61A0H5VJBSKN--