Re: could not open process token: error code 5 - Mailing list pgsql-general

From Richard Huxton
Subject Re: could not open process token: error code 5
Date
Msg-id 4AD6E7AA.2030607@archonet.com
Whole thread Raw
In response to Re: could not open process token: error code 5  (el dorado <do_ra_do@mail.ru>)
Responses Re: could not open process token: error code 5
List pgsql-general
el dorado wrote:
> 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
RightsAssignment) 
> - check in Computer Management/Local Users and Groups/Users if your OS account is NOT the member of any group of
users.

All good advice - if you're trying to copy a file-level backup into
place you should check the permissions/ownership of the files after
restoring them.

Also - I seem to remember you could get this if the shared-memory
settings were too high in postgresql.conf

--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From: el dorado
Date:
Subject: Re: could not open process token: error code 5
Next
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: could not open process token: error code 5