Thread: chown 'postgres': invalid user (win2000 install)
Hi all Am trying to install Postgres on a win2000 machine. Am new to postgres, unix. I am following the instractions at :http://www.ejip.net/faq/postgresql-7.1.3.README for a NT services installation. (cygwin is already installed ofcourse). followed all the steps, but at step 6 6. Change ownership of the PostgreSQL data directory: # chown postgres /usr/share/postgresql/data I'm getting the following error : chown 'postgres': invalid user Any help ????? thanks Ben --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.368 / Virus Database: 204 - Release Date: 29/05/2002
At a guess I'd say cygwin doesn't know about the user.
mkpasswd -l >/etc/passwd
should recreate the passwd file including all local users.
pgsql-cygwin is probably the best list to send further problems of this type to.
hth,
- Stuart
> -----Original Message-----
> From: Ben [mailto:belhanan@netvision.net.il]
>
> Hi all
>
> Am trying to install Postgres on a win2000 machine. Am new
> to postgres, unix.
>
> I am following the instractions at
> :http://www.ejip.net/faq/postgresql-7.1.3.README for a NT services
> installation. (cygwin is already installed ofcourse).
>
> followed all the steps, but at step 6
> 6.
> Change ownership of the PostgreSQL data directory: # chown postgres
> /usr/share/postgresql/data
>
> I'm getting the following error :
> chown 'postgres': invalid user
>
> Any help ?????
>
> thanks
>
> Ben
>