Re: register a service in Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux