Re: error: Internal account lookup failure - Mailing list pgsql-cygwin

From Reini Urban
Subject Re: error: Internal account lookup failure
Date
Msg-id 42736F1C.7030904@x-ray.at
Whole thread Raw
In response to error: Internal account lookup failure  ("raf" <doquitad@tin.it>)
List pgsql-cygwin
raf schrieb:
> I try to install postgresql
> 8.0.1. In service configuration, I checked the install as service
> checkbox. Filled the form. After suggesting me to change the weak
> password, it said that Internal account lookup failure: No mapping
> between account names and security IDs was done.
>
> What is going on here????

cygwin postgresql? I doubt.

If so, check the cygwin FAQ or mailinglist archive for problems with
services. You need to give the right permissions to the logs for the
user named SYSTEM. Under this account the service will run.

http://cygwin.com/faq/faq_3.html#SEC33
Why don't my services work (or access network shares)?

Most Windows services run as a special user called `SYSTEM'. If you
installed Cygwin for "Just Me", the `SYSTEM' user won't see your Cygwin
mount table. You need to re-mount all of your mounts as "system" for
services to work. You can re-run `setup.exe' and select "Install for All
Users", or this script will do the trick:

eval "`mount -m | sed -e 's/ -u / -s /g' -e 's/$/;/'`"

The `SYSTEM' user cannot access network shares that require
authentication. For more information, see
http://cygwin.com/cygwin-ug-net/ntsec.html.

Workarounds include using public network share that does not require
authentication (for non-critical files), or running the service as your
own user with `cygrunsrv -u' (see
`/usr/share/doc/Cygwin/cygrunsrv.README' for more information).
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
http://phpwiki.org/

pgsql-cygwin by date:

Previous
From: "raf"
Date:
Subject: error: Internal account lookup failure
Next
From: Roland Walter
Date:
Subject: PostgreSQL 8.0.2 and 7.4.7 does not work anymore since cygwin 1.5.14