postmaster

Lists: pgsql-cygwin
From: arrobasoft <arrobasoft(at)mundoarroba(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: postmaster
Date: 2004-06-28 14:23:47
Message-ID: 6.0.2.0.2.20040628101847.02722320@mail.mundoarroba.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Hi:

I'm have a little issue here with my postmaster service. When i'm tried to
up the service postmaster with a /bin/postmaster -D /var/postgresql/data -i
they show a message :

WARNING: dup(0) failed after 3196 successes: Bad file descriptor
C:\cygwin\bin\postgres.exe (768): *** MapViewOfFileEx (0xF10000), Win32
error 487. Terminating.
LOG: startup process (PID 768) exited with exit code 1
LOG: aborting startup due to startup process failure
C:\cygwin\bin\postgres.exe (1636): *** MapViewOfFileEx (0xF10000), Win32
error 487. Terminating.

but where change the command line for :

/bin/pg_ctl -D /var/posgresql/data -l logfile start

running without problems.... what can i do ? because i can't run the
postmaster with a services for windows....

Pls. need some help....

Jean-Claude Adams
Director
© ArrobaSoft - 2004
Phone: +595 (021) 312091
Cell Phone: +595 (0971) 105505
http://www.mundoarroba.com


From: mike g <mike(at)thegodshalls(dot)com>
To: arrobasoft <arrobasoft(at)mundoarroba(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: postmaster
Date: 2004-07-02 04:29:08
Message-ID: 1088742548.23457.54.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

I believe the bad file descriptor is telling you that when the
postmaster is trying to start that it cannot write to the log file.
When you ran pg_ctl and specified the -l logfile option you forced
postgres to use a different log file in a different location.

Check your permissions. The default log file location is /var/log.

HTH.

If not please let us know what version of windows and postgresql you are
using.

Mike
On Mon, 2004-06-28 at 09:23, arrobasoft wrote:
> Hi:
>
> I'm have a little issue here with my postmaster service. When i'm
> tried to up the service postmaster with a /bin/postmaster -D
> /var/postgresql/data -i they show a message :
>
> WARNING: dup(0) failed after 3196 successes: Bad file
> descriptor
> C:\cygwin\bin\postgres.exe (768): *** MapViewOfFileEx (0xF10000), Win32
> error 487. Terminating.
> LOG: startup process (PID 768) exited with exit code 1
> LOG: aborting startup due to startup process failure
> C:\cygwin\bin\postgres.exe (1636): *** MapViewOfFileEx (0xF10000), Win32
> error 487. Terminating.
>
> but where change the command line for :
>
> /bin/pg_ctl -D /var/posgresql/data -l logfile start
>
> running without problems.... what can i do ? because i can't run the
> postmaster with a services for windows....
>
> Pls. need some help....
>
>
>
> Jean-Claude Adams
> Director
> ArrobaSoft - 2004
> Phone: +595 (021) 312091
> Cell Phone: +595 (0971) 105505
> http://www.mundoarroba.com