Re: Database server crash ! URGENT !

Поиск
Список
Период
Сортировка
От Sunit Bhatia
Тема Re: Database server crash ! URGENT !
Дата
Msg-id F57anLAFent2u5j8lHh0000f1b2@hotmail.com
обсуждение исходный текст
Ответ на Database server crash ! URGENT !  ("Sunit Bhatia" <sunit_bhatia@hotmail.com>)
Ответы 7.2 pg_hba.conf load on SIGHUP?  ("Command Prompt, Inc." <pgsql-general@commandprompt.com>)
Список 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@hotmail.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


В списке pgsql-general по дате отправления:

Предыдущее
От: Francisco Reyes
Дата:
Сообщение: Re: pgsql and large tables
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: Database server crash ! URGENT !