Re: Database server crash ! URGENT !

From: "Sunit Bhatia" <sunit_bhatia(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database server crash ! URGENT !
Date: 2001-11-15 23:55:32
Message-ID: F57anLAFent2u5j8lHh0000f1b2@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Let me make some corrections to my previous mail.
I start the PostgreSQL Server as 'root' like this:

su - pgsql -c "$DB_ROOT/bin/postmaster -B 50 -N 25 -D$DB_ROOT/data -i" >>
$LOGFILE 2>&1 &

So I'm staring it in the background and I'm redirecting the stdout and
stderr away from the terminal. Still I don't understand why it receives Fast
Shutdown Request or (SIGINT signal).

Any body has any ideas ??

I also don't see the advantage of using 'nohup' over what I'm doing, Since
Starting it using 'nohup' will only stop it from receiving SIGHUP signal.

thanks for your ideas...
Sunit

>
>"Sunit Bhatia" <sunit_bhatia(at)hotmail(dot)com> writes:
> > Fast Shutdown request at Tue Oct 17 21:40:23 2000
>
>Something is sending SIGINT signals to your postmaster.
>
>You might need to start the postmaster using nohup,
>and/or be more careful to detach it from the foreground
>shell. (For example, on HPUX it's a real good idea to
>explicitly redirect the postmaster's stdin, stdout, *and*
>stderr away from the terminal, else it won't be detached
>from the foreground process group and will still receive
>signals from the terminal.)
>
> regards, tom lane

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nikos Kapsalis 2001-11-16 00:17:51 Postgres' DBI(Pg) problem
Previous Message Risko Peter 2001-11-15 23:40:06 Re: index on numbers not honoured