postgresql as windows 2000 service problem

[email protected]
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
Another weird problem with windows 2000:
As administrator I have run
runas /user:.\postgres "pg_ctl start"
it prompts for a password, I type it and the postmaster is starting
to a new cmd window.

As Administrator I type
runas /user:.\postgres "pg_ctl stop"
it prompts for a password, I type and the postmaster stops. Everything Ok.

I try the same things after a few minutes and a windows error message box
appears (during pg_ctl start) saying about illegal operation and terminates
the process. I checked and there is no postmaster.pid lock file in data 
folder left out (postmaster doesn't start).

Some times it works sometimes it doesn't 

In windows XP it works fine (as far as I know except I have to type
runas /user:server\postrges "pg_ctl start"
runas /user:server\postrges "pgctl stop"



---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.