From: Hannu Krosing <hannu@2ndQuadrant.com>
To: Виктор Столбин <viktor.stolbin@gmail.com>
Cc: pgsql-cluster-hackers@postgresql.org
Cc: pgsql-pkg-debian@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [pgsql-cluster-hackers] Fwd: Invalid version while creating PostgreSQL 9.1 cluster
Date: Fri, 23 Sep 2011 20:26:41 +0200
Message-ID: <1316802401.2907.19.camel@hvost> (raw)
In-Reply-To: <4E7C7DA8.6060809@gmail.com>
References: <4E7C7DA8.6060809@gmail.com>
On Fri, 2011-09-23 at 16:38 +0400, Виктор Столбин wrote:
> Hello!
Firts, this list is not for pg_*cluster, but rather clustering, high
availability and replication solutions
> I'm trying create a cluster with existing data directory on Debian
> 2.6.26-2-686-bigmem. I use PostgreSQL 8.3 installed from apt-get and
> PostgreSQL 9.1 installed from
> [OpenSCG](http://www.openscg.org/se/oscg_download.jsp?file=packages/postgres-9.1.0-1.i386.openscg.deb&user...)
> I want to create cluster with existing data directory and add it to
> postgresql-commons using command:
>
> pg_createcluster -d /opt/postgres/9.1/data/ -e UTF8 --locale ru_Ru -p
> 6432 9.1 MAIN_RU
>
> The result is:
>
> Error: invalid version: 9.1
Looks like your version of postgresql-common does not yet know about 9.1
Try using packages from
https://launchpad.net/~pitti/+archive/postgresql> I found this question
> http://serverfault.com/questions/288612/cant-create-clusters-in-postgresql-9-0
> but it seems in my case the problem is in postresql-commons package or
> in PostgreSQL 9.1 package that is installed.
>
> aptitude show postgresql-common
> Package: postgresql-common
> New: yes
> State: installed
> Automatically installed: yes
> Version: 94lenny1
> Priority: optional
> Section: misc
> Maintainer: Martin Pitt <mpitt@debian.org>
> Uncompressed Size: 496k
> Depends: postgresql-client-common (>= 94lenny1), procps, adduser,
> debconf (>=
> 0.5.00) | debconf-2.0, lsb-base (>= 3.0-3)
> Recommends: ssl-cert (>= 1.0.11)
> Conflicts: postgresql (< 7.5), postgresql-7.4 (< 1:7.4.8-10),
> postgresql-8.0 (<
> 8.0.3-7), postgresql-client (< 7.5)
> Replaces: postgresql (< 7.5), postgresql-client (< 7.5)
>
>
> Update.
>
> I check this on Ubuntu 2.6.32-24-generic #39 with same deb packages, the
> problem is the same. I think it's in postgresql-commons facilities
> packaged in OpenSCG deb. PostgreSQL 9.1 is released 2011-09-11.
>
> Any help would be appreciated!
>
> Best Regurds,
> Viktor Stolbin
> Grffolabs LTD
>
>
--
-------
Hannu Krosing
PostgreSQL Unlimited Scalability and Performance Consultant
2ndQuadrant Nordic
PG Admin Book: http://www.2ndQuadrant.com/books/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: hannu@2ndQuadrant.com, viktor.stolbin@gmail.com, pgsql-cluster-hackers@postgresql.org, pgsql-pkg-debian@postgresql.org
Subject: Re: [pgsql-cluster-hackers] Fwd: Invalid version while creating PostgreSQL 9.1 cluster
In-Reply-To: <1316802401.2907.19.camel@hvost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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