Re: initdb fails

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: "'Karin Kuehtreiber'" <a8804453(at)unet(dot)univie(dot)ac(dot)at>, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: initdb fails
Date: 2001-11-07 09:58:29
Message-ID: AA30E7BCCA5C1D4E88A231900F8325C00C4A@dogbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

> -----Original Message-----
> From: Karin Kuehtreiber [mailto:a8804453(at)unet(dot)univie(dot)ac(dot)at]
> Sent: 07 November 2001 09:34
> To: pgsql-cygwin(at)postgresql(dot)org
> Subject: [CYGWIN] initdb fails
>
>
>
> Sucess. You can start the database server using:
> /usr/bin/postmaster - D /usr/local/pgsql/data or
> /usr/bin/pg_ctl -D /usr/local/pgsql/data -l logfile"
>
> When I then run postmaster -D /usr/local/pgsql/data I get the
> following messages:
>
> "DEBUG: database system was shut down at 2001-11-07 09:08:14
> DEBUG: CheckPoint record at (0, 1563240)
> DEBUG: Redo record at (0, 1563240); Undo record at (0, 0);
> Shutdown TRUE
> DEBUG: NextTransactionId: 615; Next0id: 18720
> DEBUG: database system is in production state"
>
> so, and then nothing goes anymore. I tried it out both under
> Win98 and Win 2000 and used cygipc 1.10-1 and the results
> were the same. Can anybody help me??
>

It sounds to me like it's working fine, it's just that the postmaster is
still attached to the terminal. Type adding a '&' (without the quotes) to
the command line to detach the process:

postmaster -D /usr/local/pgsql/data &

Regards, Dave.

Browse pgsql-cygwin by date

  From Date Subject
Next Message Pat Turchetta 2001-11-07 18:24:22
Previous Message Karin Kuehtreiber 2001-11-07 09:34:17 initdb fails