Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 2EDF8633F91 for ; Thu, 29 Apr 2010 17:20:50 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 88603-04-5 for ; Thu, 29 Apr 2010 20:20:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f202.google.com (mail-iw0-f202.google.com [209.85.223.202]) by mail.postgresql.org (Postfix) with ESMTP id D41DA633D41 for ; Thu, 29 Apr 2010 17:20:42 -0300 (ADT) Received: by iwn40 with SMTP id 40so420706iwn.1 for ; Thu, 29 Apr 2010 13:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=KW+Mene3yoVdVayCEqeA0Yyhu6B8u0+XZohwvleQxu8=; b=JRnPi667qWbsCQUX53ou/SKhMfu9pKqmZxoOwnSMD+Au0eSwg6PjZJ7nO/aKKmMtCv 6OwkRQFtdjPdlSKtSspOaUlv9SeId5zV3QM9yolDi30cJgKwyJoBH6XyMxtw+9VT6Bw/ V25e14R6CBqYFbg3Hs3r9hpCIsq6GwSXU2UsI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mtTWzioTsZFHki9kh2sN8zW4gk1+Y4ZFFRr3cIvErDAw0BB++/NAnOA6r4S2t6yVxJ zUJQw+TS5gqK6vk8CANXin24zLf4rkxB1vGBnv/T9E39pZcgWLKkXleNWlceDUv+BQec hGB+rNOMPIfonn9k2omaYuvntw9xWuNMDegFc= MIME-Version: 1.0 Received: by 10.231.162.85 with SMTP id u21mr315100ibx.95.1272572390278; Thu, 29 Apr 2010 13:19:50 -0700 (PDT) Received: by 10.231.167.203 with HTTP; Thu, 29 Apr 2010 13:19:50 -0700 (PDT) In-Reply-To: <4BD3061A.5040208@gmx.de> References: <4BD0A3C1.2010803@gmx.de> <4BD0AE78.4000701@gmx.de> <4BD3061A.5040208@gmx.de> Date: Thu, 29 Apr 2010 17:19:50 -0300 Message-ID: Subject: Re: register a service in Windows From: "Josi Perez (3T Systems)" To: pgsql-admin@postgresql.org Content-Type: multipart/alternative; boundary=005045013ed8460655048565d9ee X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.888 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201004/357 X-Sequence-Number: 34451 --005045013ed8460655048565d9ee Content-Type: text/plain; charset=ISO-8859-1 Peter, thank you for your efforts in try to help me and sorry for send the message directly to you, not for the list. No success yet - I'm starting (and stoping) manually the 2 extra services. About the locale, I removed this option at initdb - I will try to solve this after the service is running. If I use pg_ctl runservice, I got the message: 1063 ERROR_FAILED_SERVICE_CONTROLLER_CONNECT The service process could not connect to the service controller. If I use pg_ctl register, I continue to receive the same error - no matter what I do: can not open the service manager I made a Google search and looks like no one have problems with pg_ctl register. Probably I am doing a stupid thing, but I can not see what. Sugestions? Thank you in advance, Josi Perez 2010/4/24 BlackSkaven > Hello Josi, > > Well - I happen to have Windows 7 on my personal PC. > > -switched off UAC via tools in msconfig and restarted Windows. > -started Windows service 'Secondary Logon' and set it to automatic > -initialized a new cluster (BTW: the locale you specified does'nt > exists on Windows. Windows uses codepages instead.) > -registered it: > pg_ctl register -N "postgresql-8.4_2nd" -U postgres -P "password" -D > "C:\data5" -w > > I just used the basic options. Check the docs for the options that fit > your needs. > > Ready ;) > > Good luck, > > Peter > --005045013ed8460655048565d9ee Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Peter, thank you for your = efforts in try to help me and sorry for send the message directly to you, n= ot for the list.
No success yet - I'm starti= ng (and stoping) manually the 2 extra services.

About the locale, I removed this option at initdb - I = will try to solve this after the service is running.
If I use pg_ctl runservice, I got the message:
1= 063 ERROR_FAILED_SERVICE_CONTROLLER_CONNECT The service process could=20 not connect to the service controller.

If I use pg_ctl register, I continue = to receive the same error - no matter what I do:
can not open the service m= anager

I made a Google search and looks like no one have problems with pg_ct= l register.
Probably I am doing a stup= id thing, but I can not see what.
Sugestions?

Thank you in advance,
Josi = Perez



2010/4/24 BlackSkaven <BlackSkaven= @gmx.de>
Hello Josi,

Well - I happen to have Windows 7 on my personal PC.

-switched off UAC via tools in msconfig and restarted Windows.
-started Windows service 'Secondary Logon' and set it to automatic<= br> -initialized a new cluster =A0(BTW: the locale you specified does'nt exists on Windows. Windows uses codepages instead.)
-registered it:
pg_ctl register -N "postgresql-8.4_2nd" -U postgres -P "pass= word" -D
"C:\data5" -w

I just used the basic options. Check the docs for the options that fit
your needs.

Ready ;)

Good luck,

Peter

--005045013ed8460655048565d9ee--