Skip site navigation (1) Skip section navigation (2)

Re: Unregister Windows Service pg_ctl error

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Gevik" <gevik(at)xs4all(dot)nl>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Unregister Windows Service pg_ctl error
Date: 2006-01-09 09:25:57
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C7E34@algol.sollentuna.se (view raw)
> When I try to unregister the windows service I get an error like:
> 
> C:\Program Files\PostgreSQL\8.1\bin>pg_ctl.exe unregister -N 
> "pgsql-8.1"
> pg_ctl: could not open service manager
> 
> This is on Windows XP and the logged user is postgres

You need administrative privileges to unregister a service. Can't run it
as user postgres.

//Magnus

From: "Gevik" <gevik(at)xs4all(dot)nl>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Unregister Windows Service pg_ctl error
Date: 2006-01-09 09:31:24
Message-ID: 19212.195.169.118.236.1136799084.squirrel@webmail.xs4all.nl (view raw)
> You need administrative privileges to unregister a service. Can't run it
> as user postgres.

I did the same under "Administrator" but then I get an access violation
error like:

Unhandled exception at 0x77c478c0 in pg_ctl.exe: 0xC0000005: Access
violation reading location 0x00000000.

What am I dong wrong?





Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group