If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > PostgreSQL > pg_ctl: could not open service manager

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-11, 01:43
shilpa24 shilpa24 is offline
Registered User
 
Join Date: Apr 2011
Posts: 14
pg_ctl: could not open service manager

Hi,
I have a problem with registering a postgreSQL Service
on windows. I am using PostgreSQL 8.4 on windows vista.

I created a database cluster using
D:\DMSTest\pgsqlnew\bin>initdb -U postgres -D "D:\DMSest\pgsqlnew/data"

Now I try to register the service in the windows services.
pg_ctl -N postsql -D "D:\DMSTst\pgsqlnew/data" register

I get the message "pg_ctl: could not open service manager"

i m using batch file to run this commands and this works successfully in windows 7 and xp

Any Suggestion
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On