Re: Initdb and IpcMemoryCreate Errors

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: Initdb and IpcMemoryCreate Errors
Дата
Msg-id 20010430090716.A549@dothill.com
обсуждение исходный текст
Ответ на RE: Initdb and IpcMemoryCreate Errors  (Dave Page <dpage@vale-housing.co.uk>)
Список pgsql-cygwin
Dave,

On Mon, Apr 30, 2001 at 01:39:57PM +0100, Dave Page wrote:
> I've found that removing the ntsec option the the CYGWIN envvar has cured my
> initdb problem. With ntsec, whilst I could read/write to /tmp and other
> places, access denied error messages on other directories including some I
> had just created myself (with suitable permissions) lead me to believe that
> there is something seriously wrong with it. I have also tried installing
> from scratch whilst logged in as the PC's local administrator rather than
> myself which made no difference.

Ah ntsec...  Since I don't run with it, I always forgot about this
permutation.  I don't believe that there is anything "seriously" wrong
with ntsec -- using it just requires more administration.  From monitoring
the Cygwin mailing list, I have gleaned that people who use ntsec do
a lot of chown and chmod commands after installation.  See the following
for an example:

    http://sources.redhat.com/ml/cygwin/2001-04/msg01668.html

> I'm now left with a single (new) error when starting the postmaster:
>
> PC20 $ postmaster -i &
> [1] 1180
> PC20 $ C:\cygwin\bin\postgres.exe: *** recreate_mmaps_after_fork_failed
> postmaster: Startup proc 724 exited with status 256 - abort

The above is an easy one and a known problem.  You must upgrade your
Cygwin DLL since you are still using 1.1.8.  I can tell this from the
cygcheck output below:

> The output from cygcheck is as follows:
>
> PC20 $ cygcheck -s -v -r
>
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Mon Apr 30 13:35:30 2001
>
> WinNT Ver 5.0 build 2195 Service Pack 1
>
> Path:   /usr/local/bin
>
> [snip]
>
>   615k 2001/01/31 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=2001/1/31 15:08
>     Cygwin DLL version info:
>         dll major: 1001

The above implies 1.1.x and

>         dll minor: 8

the above implies y.z.8

Hence, you are running 1.1.8.  You can confirm this with:

    $ uname -r

Upgrade to 1.3.1 (if you are bold) or to a snapshot (e.g., 20010413).

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
Дата:
Сообщение: RE: Initdb and IpcMemoryCreate Errors
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: Postgres 7.1-2 repeatedly fails to connect