Re: Crazy W2000 service behavior

From: "Stasys Adiklis" <sadiklis(at)mail(dot)lt>
To: "pgsql win32 hack" <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Crazy W2000 service behavior
Date: 2004-07-20 04:57:53
Message-ID: 000401c46e16$1fd20550$1301010a@stasys
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32


All the paths are OK (system ones). Let's try autostartup:

1. [pg_ctl unregister, ]pg_ctl register -U pgsql -P password. Service
startup type: Automatic.
2. reboot
3. service is not running. Event Viewer (Source: Service Control Manager):
Description: The PostgreSQL service hung on starting.
Description: The PostgreSQL service terminated unexpectedly. It has done
this 1 time(s). The following corrective action will be taken in 0
milliseconds: No action.

A bit later i did: runas /user:pgsql cmd, pg_ctl start and it worked.
Stopped it with Ctrl+Break (i know i should have pg_ctl stop, but...). A bit
later i tried to launch it again with runas /user:pgsql "pg_ctl start" and
got that "failure to initialize" error pop-up. Event Viewer (Source:
Application Popup):
Description: Application popup: postmaster.exe - Application Error : The
application failed to initialize properly (0xc0000142). Click on OK to
terminate the application.

After that i've attempted to launch it this way: runas /user:pgsql
postmaster and it worked OK (as usual).

eom

In response to

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Gary Doades 2004-07-20 06:52:02 Re: Crazy W2000 service behavior
Previous Message Gary Doades 2004-07-19 19:26:48 Re: Crazy W2000 service behavior