Re: Error INITDB

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: Error INITDB
Дата
Msg-id 20010425093154.F169@dothill.com
обсуждение исходный текст
Ответ на Error INITDB  (SAMSON Alain - LIL <alain.samson@sema.fr>)
Список 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.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

В списке pgsql-cygwin по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Initdb and IpcMemoryCreate Errors
Следующее
От: david.mugnai@spacespa.it
Дата:
Сообщение: help with postgresql dll