Re: could not open process token: error code 5

From: Adrian Klaver <aklaver(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: Andale <anders(at)pagiad(dot)se>
Subject: Re: could not open process token: error code 5
Date: 2009-10-14 21:24:04
Message-ID: 200910141424.04698.aklaver@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday 14 October 2009 6:42:39 am Andale wrote:
> Hi
>
> We have an Postgresql 8.2.5 installation on a Windows server 2003 that have
> worked perfectly for our Mediawiki until we tried to update to 8.4. Before
> the update we took a backup, stopped the service and took a copy of the
> entire database catalog. We could not make the 8.4 (installed in a
> different directory) work so we decided to go back to the initial
> installation which remained intact.
>
> Then when we try to start the service it fails and we get the message
> "could not open process token: error code 5" in the event viewer, nothing
> else. Now after googling for some hours and days I am stuck. the Postgres
> user are to start the service and so nothing is changed there either. Even
> though the database files were not changed, we have also copied the entire
> original database back. The installation has been done with the
> "postgresql-8.2-int.msi" package and it has been reapplied with the
> following command, "msiexec /i postgresql-8.2-int.msi REINSTALLMODE=vamus
> REINSTALL=ALL /"
>
> Still no progress.
>
> What to do?
>
> /Anders

Have you tried getting rid of the data directory you copied back, doing an
initdb to create a new fresh data directory and the restoring from the backup?
Just to cover the case where you did not copy everything you needed to when you
made the original copy.

--
Adrian Klaver
aklaver(at)comcast(dot)net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Landscheidt 2009-10-14 21:50:12 Re: Query to find contiguous ranges on a column
Previous Message Alan Hodgson 2009-10-14 20:27:16 Re: Partitioned table question