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

PG Service won't start

From: Trent Pingenot <pintj(at)hotmail(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: PG Service won't start
Date: 2007-11-15 21:02:35
Message-ID: BAY127-W457434634D7601D31DF495A6820@phx.gbl (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Hello list,

I made a really dumb mistake of killing a fairly simple select query (no inserts or updates) that was taking way to long to cancel.  I foolishly killed the query by closing the window in PGAdmin3.  Alas I figured it was time for a reboot so I rebooted. Upon reboot my PG Service won't start.

I tried starting it manually but comes back saying it won't start but didn't report an error.

I check the Event Viewer and I see "could not open process token: error code 5"

I tried rebooting again.

I tried starting with with pg_ctrl

C:\Program Files\PostgreSQL\8.2\bin>pg_ctl start -w  -l mylog.txt -D C:\Program%20Files\PostgreSQL\8.2\data
waiting for server to start...Access is denied.
............................................................could not start server

 but again without luck. No log file was created.

The version is 8.2.3 running on Windows 2000 Server SP4.

It's been running for a year or more without problems. We have several databases, several table_spaces and lots of data. We have backup dumps of some but not all of the data so it wouldn't be a total loss, but it would be nice to recover. We are using the PostGIS "extension" since we deal with geographic data almost exclusively, not sure if that complicates anything.

Any ideas or a suggestions would be much appreciated. I feel pretty stupid for being impatient.

Thanks in advance,


pgsql-admin by date

Next:From: Paul LambertDate: 2007-11-16 02:03:49
Subject: Re: Upgrading a database with pg_dumpall / psql ...
Previous:From: Alvaro HerreraDate: 2007-11-15 18:19:49
Subject: Re: [GENERAL] "global/pg_control": Permission denied

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