Re: Solaris, Postgresql and Problems - Mailing list pgsql-general

From Jonathan Bartlett
Subject Re: Solaris, Postgresql and Problems
Date
Msg-id Pine.GSU.4.44.0307250836441.14162-100000@eskimo.com
Whole thread Raw
In response to Re: Solaris, Postgresql and Problems  (Weiping He <laser@zhengmai.com.cn>)
List pgsql-general
I don't remember if I mentioned this or not on this thread, but Solaris
pfiles and other similar tools sometimes send wierd signals to processes.
You might check your cron tabs to see if something like this is being run
on a regular basis.

Jon

On Fri, 25 Jul 2003, Weiping He wrote:

> Errol Neal wrote:
>
> >
> >
> >
> > Actually Doug, it is not even "dying". I used the incorrect word. It
> > is shutting down... Here is a log entry:
> >
> > LOG:  fast shutdown request
> > LOG:  shutting down
> > LOG:  database system is shut down
> > LOG:  database system was shut down at 2003-07-25 10:54:57 EDT
> > LOG:  checkpoint record is at 0/909710
> > LOG:  redo record is at 0/909710; undo record is at 0/0; shutdown TRUE
> > LOG:  next transaction id: 7898764; next oid: 49906
> > LOG:  database system is ready
> > LOG:  fast shutdown request
> > LOG:  shutting down
> > LOG:  database system is shut down
> >
> I've ever met  problem alike in solaris 8, and it turns out as Tom suggested
> that it's the ctrl-c (SIGTERM) causes the problem. If I'm not guessed worng,
> may be you are using the command 'tail -f yourlogfile' to see your log after
> the server start up, and then ctrl-c to quit the 'tail', but the signal
> would send
> to postmaster also and cause it shutdown.
>
> If so, I'll recommend the precedure below to circumvent the problem:
>
> 1, login postgresql superuser accound;
> 2, start postgresql (nohup pg_ctl start blah, blah);
> 3, exit login
> 4, re-login with postgresql superuser and 'tail -f yourlogfile' to
> monitor it.
>
> but I still searching the reason why solaris would act like that
>
> Don't know if it helps.
>
>
> regards
>
> Laser
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org
>


pgsql-general by date:

Previous
From: Weiping He
Date:
Subject: Re: Solaris, Postgresql and Problems
Next
From: "Cory 'G' Watson"
Date:
Subject: Re: Solaris, Postgresql and Problems