Обсуждение: postmaster

Поиск
Список
Период
Сортировка

postmaster

От
arrobasoft
Дата:
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

Re: postmaster

От
mike g
Дата:
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