|
From: Matteo D. <M.D...@gs...> - 2012-11-14 12:36:45
|
Hi. The tutorial I am following is here: http://postgres-xc.sourceforge.net/docs/1_0/index.html Since it is located on the main Postgres XC web site and the title is "Postgres-XC 1.0.1 Documentation" I thought it should be the most up to date documentation. Thanks for your answer but unfortunately I get the same error with the '-Z' option too: postgres: invalid option -- 'Z' and looking in the source code I can't find the '-Z' option as a command line parameter. I have pulled my sources directly from the git repository on GitHub: https://github.com/postgres-xc/postgres-xc.git so I believe I am not using some outdated version. Best regards, Matteo On 14.11.2012 13:23, Nikhil Sontakke wrote: > Hi Matteo, > > Where did you get the instruction to use -X exactly? Maybe that > specific documentation is out of date. > > Please use "-Z" instead of "-X". > > Regards, > Nikhils > > On Wed, Nov 14, 2012 at 5:40 PM, Matteo Dessalvi <M.D...@gs... > <mailto:M.D...@gs...>> wrote: > > Hi all. > > I am testing Postgres XC for a project I am starting at my work > place . > I apologize > if the following is already a known issue. > > I was following the installation tutorial on the Postgres XC web site > (on Sourceforge) > and I have managed to install Postgresql XC 1.0.1 on a Debian > Wheezy VM > (creating a > deb package from the sources), but when I am trying to start the > postgres instances > (using the postgres user) for the datanodes I'll get this error: > > postgres: invalid option -- 'X' > > I was looking under > postgresql-xc-1.0.1/src/backend/tcop/postgres.c and > in fact this option > is not listed on the function process_postgres_switches(...), nor > it is > mentioned in main.c, > located under postgresql-xc-1.0.1/src/backend/main. > I also tried to find this option on the main Postgresql versions > (9.1/9.0/8.4) but it seems that > there isn't any reference to a '-X' option. > > According to the short tutorial on > http://postgres-xc.sourceforge.net/docs/1_0/install-short.html > this is the required procedure to start the cluster. If I try to start > the datanodes without the '-X' > option I'll get another error: > > Postgres-XC: must start as either a Coordinator (--datanode) or Data > Node (--datanode) > > which means, I guess, that this option has something to do with the > roles of the instances. > > > Thanks in advance. > > > Best regards, > Matteo > > -- > Matteo Dessalvi > Abteilung: HPC > Ort: SB3.1.250 > > Fax.: +49 6159 71 2986 > E-Mail:m.d...@gs... <mailto:E-Mail%3Am...@gs...> > > GSI Helmholtzzentrum für Schwerionenforschung GmbH Planckstraße 1 > 64291 Darmstadt > www.gsi.de <http://www.gsi.de> > > Gesellschaft mit beschränkter Haftung > Sitz der Gesellschaft: Darmstadt > Handelsregister: Amtsgericht Darmstadt, HRB 1528 > > Geschäftsführung: Professor Dr. Dr. h.c. mult. Horst Stöcker, > Peter Hassenbach > > Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph > Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, > vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > <mailto:Pos...@li...> > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > > > > > -- > StormDB - http://www.stormdb.com > The Database Cloud > Postgres-XC Support and Service -- Matteo Dessalvi Abteilung: HPC Ort: SB3.1.250 Fax.: +49 6159 71 2986 E-Mail:m.d...@gs... GSI Helmholtzzentrum für Schwerionenforschung GmbH Planckstraße 1 64291 Darmstadt www.gsi.de Gesellschaft mit beschränkter Haftung Sitz der Gesellschaft: Darmstadt Handelsregister: Amtsgericht Darmstadt, HRB 1528 Geschäftsführung: Professor Dr. Dr. h.c. mult. Horst Stöcker, Peter Hassenbach Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt |