| From: | Richard Huxton <dev(at)archonet(dot)com> |
|---|---|
| To: | el dorado <do_ra_do(at)mail(dot)ru> |
| Cc: | Andale <anders(at)pagiad(dot)se>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: could not open process token: error code 5 |
| Date: | 2009-10-15 09:13:14 |
| Message-ID: | 4AD6E7AA.2030607@archonet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 Rights Assignment)
> - 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Grzegorz Jaśkiewicz | 2009-10-15 09:22:20 | Re: could not open process token: error code 5 |
| Previous Message | Mitesh51 | 2009-10-15 07:24:32 | Re: Cannot start the postgres service |