Re: Error INITDB

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: SAMSON Alain - LIL <alain(dot)samson(at)sema(dot)fr>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Error INITDB
Date: 2001-04-25 13:31:54
Message-ID: 20010425093154.F169@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Alain,

In the future, please respond to the list so others can benefit too.

On Wed, Apr 25, 2001 at 02:36:24PM +0200, SAMSON Alain - LIL wrote:
> cygwin: version 1.1 (cygwin1.dll 31/01/01 17:00)
> postgresql: version 7.1 (postgres.exe 16/04/01 15:01)
> OS: Windows NT 4
> Output from initdb:"invalid current from euid"

The above indicates the geteuid() is failing, see below for potentially
why...

> Output from cygcheck :

> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Wed Apr 25 12:32:47 2001
>
> WinNT Ver 4.0 build 1381 Service Pack 5
>
> [snip]
> PWD = `/bin'
> USER = `500'
^^^

> MAKE_MODE = `unix'
> HOME = `/home/500'
^^^

The above indicates that your /etc/passwd (and possibly /etc/group) is
not set up correctly. Do you have these files and are they correct? If
not, then perform the following:

$ mkpasswd -l >/etc/passwd
$ mkgroup -l >/etc/group

Does initdb work now?

Jason

--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com

Browse pgsql-cygwin by date

  From Date Subject
Next Message david.mugnai 2001-04-27 10:53:23 help with postgresql dll
Previous Message Dave Page 2001-04-25 12:56:58 Initdb and IpcMemoryCreate Errors