Unix Technical Forum

starting postmaster under windows

This is a discussion on starting postmaster under windows within the pgsql Novice forums, part of the PostgreSQL category; --> Hi all, I have installed postgresql under windows and are trying to write a procedure in c++ that will ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 10:12 PM
jcvdm@webmail.co.za
 
Posts: n/a
Default starting postmaster under windows

Hi all,

I have installed postgresql under windows and are trying to write a
procedure in c++ that will start the postmaster exe using
CreateProcessAsUser. It starts and then fails with error:

"The application failed to initialize properly (oxc0000142). Click on OK
to terminate the application."

I am at a lost here. Any ideas would tealy be helpful.

Regards

johan


-------------------------------------------
For super low premiums, click here http://www.webmail.co.za/dd.pwm


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 10:12 PM
Stijn Vanroye
 
Posts: n/a
Default Re: starting postmaster under windows

jcvdm@webmail.co.za schreef:
> Hi all,
>
> I have installed postgresql under windows and are trying to write a
> procedure in c++ that will start the postmaster exe using
> CreateProcessAsUser. It starts and then fails with error:
>
> "The application failed to initialize properly (oxc0000142). Click on OK
> to terminate the application."
>
> I am at a lost here. Any ideas would tealy be helpful.
>
> Regards
>
> johan
>
>
> -------------------------------------------
> For super low premiums, click here http://www.webmail.co.za/dd.pwm
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>


If I'm not mistaken postgres is a service. You will need the net start
and net stop commands.

Sincerely,

Stijn.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:01 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com