Skip site navigation (1) Skip section navigation (2)

Re: register a service in Windows

From: "Josi Perez (3T Systems)" <josiperez3t(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: register a service in Windows
Date: 2010-04-29 20:19:50
Message-ID: o2j76a181e91004291319p83bbb64h70fb389a9602a92b@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
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 <BlackSkaven(at)gmx(dot)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
> -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
>

In response to

pgsql-admin by date

Next:From: Scott MarloweDate: 2010-04-29 21:06:49
Subject: Re: more 10K disks or less 15K disks
Previous:From: Scott WhitneyDate: 2010-04-29 19:51:20
Subject: Re: more 10K disks or less 15K disks

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group