Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 01219B5DC3D; Fri, 23 Sep 2011 15:32:52 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 39869-05; Fri, 23 Sep 2011 18:32:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mail.postgresql.org (Postfix) with ESMTP id 8B181B5DC3C; Fri, 23 Sep 2011 15:32:44 -0300 (ADT) Received: from [192.168.11.145] (riosat.com [89.140.90.230]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MaG7g-1QnI7v1GfY-00KTAM; Fri, 23 Sep 2011 20:26:44 +0200 Subject: Re: [pgsql-cluster-hackers] Fwd: Invalid version while creating PostgreSQL 9.1 cluster From: Hannu Krosing To: =?UTF-8?Q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80_?= =?UTF-8?Q?=D0=A1=D1=82=D0=BE=D0=BB=D0=B1=D0=B8=D0=BD?= Cc: pgsql-cluster-hackers@postgresql.org, pgsql-pkg-debian@postgresql.org, pgsql-admin@postgresql.org In-Reply-To: <4E7C7DA8.6060809@gmail.com> References: <4E7C7DA8.6060809@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 23 Sep 2011 20:26:41 +0200 Message-ID: <1316802401.2907.19.camel@hvost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V02:K0:jucTGfIKb0ZUzslRXWO3NELo1MxdAyJCrezqsxov9to LY3B1IpZrfW1ClNdwqPZH/P7b3/fUG+THE8Nxngf6jl68Vd5EF gBwHWUfPwcUymuyV/NRyEXkNL9CSzRj6esSpWIuSXpNX7j/OQJ TW1uGTMuF85Ru1GYsytwTgPz6vi6XdLRI43Wi4rA1HsgCznESx VzsLPWQGZBdpY9iqx7FHOPbcW8Zn5pFN4RdUS37UO5m3iQm23Q CqFs9w8SdUC+Y8UgAoBADJ4w+3l259Ha3uMqq/wgDBOyUxSA03 FyxaX/n6y3G3BV83qGxhRLOouvN8PAY5W8GT3Jl+VillQDgDF8 tWjiq6SSypCjX96EhIPJ5KJmV9b9D3ziShlIOA31M X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201109/169 X-Sequence-Number: 38406 On Fri, 2011-09-23 at 16:38 +0400, =D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80 =D0= =A1=D1=82=D0=BE=D0=BB=D0=B1=D0=B8=D0=BD wrote: > Hello! Firts, this list is not for pg_*cluster, but rather clustering, high availability and replication solutions=20 > I'm trying create a cluster with existing data directory on Debian=20 > 2.6.26-2-686-bigmem. I use PostgreSQL 8.3 installed from apt-get and=20 > PostgreSQL 9.1 installed from=20 > [OpenSCG](http://www.openscg.org/se/oscg_download.jsp?file=3Dpackages/pos= tgres-9.1.0-1.i386.openscg.deb&user=3D)=20 > I want to create cluster with existing data directory and add it to=20 > postgresql-commons using command: >=20 > pg_createcluster -d /opt/postgres/9.1/data/ -e UTF8 --locale ru_Ru -p=20 > 6432 9.1 MAIN_RU >=20 > The result is: >=20 > Error: invalid version: 9.1 Looks like your version of postgresql-common does not yet know about 9.1 Try using packages from=20 https://launchpad.net/~pitti/+archive/postgresql > I found this question=20 > http://serverfault.com/questions/288612/cant-create-clusters-in-postgresq= l-9-0=20 > but it seems in my case the problem is in postresql-commons package or=20 > in PostgreSQL 9.1 package that is installed. >=20 > aptitude show postgresql-common > Package: postgresql-common > New: yes > State: installed > Automatically installed: yes > Version: 94lenny1 > Priority: optional > Section: misc > Maintainer: Martin Pitt > Uncompressed Size: 496k > Depends: postgresql-client-common (>=3D 94lenny1), procps, adduser, > debconf (>=3D > 0.5.00) | debconf-2.0, lsb-base (>=3D 3.0-3) > Recommends: ssl-cert (>=3D 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) >=20 >=20 > Update. >=20 > I check this on Ubuntu 2.6.32-24-generic #39 with same deb packages, the=20 > problem is the same. I think it's in postgresql-commons facilities=20 > packaged in OpenSCG deb. PostgreSQL 9.1 is released 2011-09-11. >=20 > Any help would be appreciated! >=20 > Best Regurds, > Viktor Stolbin > Grffolabs LTD >=20 >=20 --=20 ------- Hannu Krosing PostgreSQL Unlimited Scalability and Performance Consultant 2ndQuadrant Nordic PG Admin Book: http://www.2ndQuadrant.com/books/