Bug in postgres 9.2 installation: pg_archivecleanup: command not found

Started by rahul143over 13 years ago3 messagesgeneral
Jump to latest
#1rahul143
rk204885@gmail.com

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?

-----

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Bug-in-postgres-9-2-installation-pg-archivecleanup-command-not-found-tp5734608.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#2Guillaume Lelarge
guillaume@lelarge.info
In reply to: rahul143 (#1)
Re: Bug in postgres 9.2 installation: pg_archivecleanup: command not found

On Sun, 2012-12-02 at 08:09 -0800, rahul143 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?

This is a contrib program, so you need to install the contrib package on
your system.

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#3John R Pierce
pierce@hogranch.com
In reply to: Guillaume Lelarge (#2)
Re: Bug in postgres 9.2 installation: pg_archivecleanup: command not found

On 12/3/2012 12:07 AM, Guillaume Lelarge wrote:

This is a contrib program, so you need to install the contrib package on
your system.

very odd that an "apt-get install postgresql-9.2" would have a
dependency on a contrib module.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general