Re: could not open process token: error code 5

From: el dorado <do_ra_do(at)mail(dot)ru>
To: Andale <anders(at)pagiad(dot)se>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: could not open process token: error code 5
Date: 2009-10-15 06:02:11
Message-ID: E1MyJPf-0002Rf-00.do_ra_do-mail-ru@f72.mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hello.
I had such an error but rather long ago. Unfortunately I don't remember all the details but you could try to do the followig:
- check if the directory 'data' has read/write rights for your OS account (account under which you try to start postgres).
- check if your OS account has the right to log on as service (Administrative Tools/Local Security Settings/User Rights Assignment)
- check in Computer Management/Local Users and Groups/Users if your OS account is NOT the member of any group of users.

Regards, Marina.

>
> 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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Viktor Rosenfeld 2009-10-15 06:35:20 Can't find documentation for ~=~ operator
Previous Message Alvaro Herrera 2009-10-14 23:11:32 Re: PG 8.4 and pg_autovacuum functionality