Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TXzKQ-00040O-2Y for pgsql-bugs@postgresql.org; Mon, 12 Nov 2012 19:05:50 +0000 Received: from mail-lb0-f174.google.com ([209.85.217.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TXzKN-0005gB-NR for pgsql-bugs@postgresql.org; Mon, 12 Nov 2012 19:05:49 +0000 Received: by mail-lb0-f174.google.com with SMTP id n3so4912802lbo.19 for ; Mon, 12 Nov 2012 11:05:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=nGKj+Uz/8Omw9QCyBG0Gq8EiWwKak38vtV3SNLY5jeE=; b=GEImSPoTxgNKU2mJ6jM5t/fIUSiQiic1sAWIzTFv6K4olR0lZghOeIazdyE0s8/i+Q bxvGerCaqmQrsgPjJC2NocXRVrlmenGbRNH2H08FNKaqa5YVD7BMKFNQ3frqMdXk9yR/ HkUlIpCq6tUATrBRb9rz7BJekQm8w6P8Lj20NuQhMNM5wY5rSnptu2LDowoqwpOpf4py yFk9fZnAB+drvBCpuzCUIqXfL7TQlc6nDcWeAsFU27Wrjx4/nqL3HtVCgwxgbV7GtFmL UOWjsB3PnI0NfnnlYBvOWr+7qn/kmnx22zFgpS7I4df+ni+4/1W2XA6dRoyidwdYfgdI OfBQ== Received: by 10.152.114.65 with SMTP id je1mr13161652lab.33.1352747146162; Mon, 12 Nov 2012 11:05:46 -0800 (PST) Received: from [192.168.0.14] (x1-6-84-1b-5e-20-07-92.k404.webspeed.dk. [80.167.117.15]) by mx.google.com with ESMTPS id p9sm2894933lbc.3.2012.11.12.11.05.44 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Nov 2012 11:05:45 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_3B69EAB5-B35F-4A6F-A189-F081F41C23B5" Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Bug in postgres 9.2 installation: pg_archivecleanup: command not found From: =?iso-8859-1?Q?Niels_Kristian_Schj=F8dt?= In-Reply-To: Date: Mon, 12 Nov 2012 20:05:41 +0100 Cc: pgsql-bugs@postgresql.org Message-Id: <0C710CC6-FAEE-4C93-B048-BB4AC7982048@autouncle.com> References: To: =?iso-8859-1?Q?Devrim_G=FCnd=FCz?= X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQlv0R9EQKPZSk/eZTRV4xyxKt41MD963G+wNnzRaS4bwgtl3/vfdhoGfLv7gxBEeNbPj93F X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201211/60 X-Sequence-Number: 34618 --Apple-Mail=_3B69EAB5-B35F-4A6F-A189-F081F41C23B5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 I found this is the manual:=20 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=FCnd=FCz : > Hi, >=20 > You probably need to install -contrib subpackage as well. >=20 > Regards, >=20 > "Niels Kristian Schj=F8dt" wrote: > I have installed postgres 9.2 on ubuntu 12.04 like this: >=20 > sudo add-apt-repository ppa:pitti/postgresql > sudo apt-get update > sudo apt-get install postgresql-9.2 >=20 > However after this, i get the following error: >=20 > 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 >=20 > The same happens if I try directly as root: >=20 > root@slave-db ~ # pg_archivecleanup > pg_archivecleanup: command not found >=20 > What can I do about it? >=20 > --=20 > Sent from my Android phone with K-9 Mail. Please excuse my brevity. --Apple-Mail=_3B69EAB5-B35F-4A6F-A189-F081F41C23B5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 I = found this is the manual: 

h= ttp://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=FCnd=FCz <devrim@gunduz.org>:

Hi,

You probably need to install -contrib subpackage as well.

Regards,

"Niels Kristian Schj=F8dt" = <nielskristian@autouncle.com> wrote:
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.

= --Apple-Mail=_3B69EAB5-B35F-4A6F-A189-F081F41C23B5--