Re: Postgresql server does not start!:( -Re: PostgreSQl newbie!

Поиск
Список
Период
Сортировка
От lmyho
Тема Re: Postgresql server does not start!:( -Re: PostgreSQl newbie!
Дата
Msg-id 20060330172750.56815.qmail@web30804.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: Postgresql server does not start!:( -Re: PostgreSQl newbie!  (Chris Travers <chris@metatrontech.com>)
Список pgsql-admin

--- Chris Travers <chris@metatrontech.com> wrote:

> lmyho wrote:
>
> >
> >The last one (successful bootup and shutdown):
> >pg_log# more postgresql-2006-03-30_103237.log
> >2006-03-30 10:32:37 CSTLOG:  database system was shut down at 2006-03-30 10:32:20
> >CST
> >2006-03-30 10:32:37 CSTLOG:  checkpoint record is at 0/33B96C
> >2006-03-30 10:32:37 CSTLOG:  redo record is at 0/33B96C; undo record is at 0/0;
> >shutdown TRUE
> >2006-03-30 10:32:37 CSTLOG:  next transaction ID: 5839; next OID: 16386
> >2006-03-30 10:32:37 CSTLOG:  next MultiXactId: 1; next MultiXactOffset: 0
> >2006-03-30 10:32:37 CSTLOG:  database system is ready
> >2006-03-30 10:32:37 CSTLOG:  transaction ID wrap limit is 2147484146, limited by
> >database "postgres"
> >2006-03-30 10:32:37 CSTLOG:  autovacuum: processing database "template1"
> >2006-03-30 10:33:37 CSTLOG:  autovacuum: processing database "postgres"
> >2006-03-30 10:33:42 CSTLOG:  incomplete startup packet
> >2006-03-30 10:33:42 CSTLOG:  received fast shutdown request
> >2006-03-30 10:33:42 CSTLOG:  shutting down
> >2006-03-30 10:33:42 CSTLOG:  database system is shut down
> >2006-03-30 10:33:42 CSTLOG:  logger shutting down
> >
> >You can see they all have that line!  Can you see what's may be the problem?
> Thank
> >you!!!
> >
> >
> Interesting.... Database starts up at 10:32:37 and processes all
> databases through autovacuum.
> Then exactly a minute later, it processes the postgres database.
> 5 seconds later, you get a SIGINT.
>
That one was shut down by me, just to see of it will generate the bad line again,
and it did!  Then I restarted the computer and got the new log and it still has the
bad line!  One of the logs even has that line in the middle of a long list of
"autovacuum"s, I was afraid it's too long for the post, but see it below, just to
figure out waht's wrong:
pg_log# more postgresql-2006-03-30_092929.log
2006-03-30 09:29:29 CSTLOG:  database system was shut down at 2006-03-30 09:29:15
CST
2006-03-30 09:29:29 CSTLOG:  checkpoint record is at 0/33B8E4
2006-03-30 09:29:29 CSTLOG:  redo record is at 0/33B8E4; undo record is at 0/0;
shutdown TRUE
2006-03-30 09:29:29 CSTLOG:  next transaction ID: 5713; next OID: 16386
2006-03-30 09:29:29 CSTLOG:  next MultiXactId: 1; next MultiXactOffset: 0
2006-03-30 09:29:29 CSTLOG:  database system is ready
2006-03-30 09:29:29 CSTLOG:  transaction ID wrap limit is 2147484146, limited by
database "postgres"
2006-03-30 09:29:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:30:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:31:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:32:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:33:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:34:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:35:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:36:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:37:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:38:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:39:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:40:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:41:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:42:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:43:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:44:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:45:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:46:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:47:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:48:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:49:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:50:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:51:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:52:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:53:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:54:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:55:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:56:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:57:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 09:58:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 09:59:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:00:29 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:01:29 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:02:01 CSTLOG:  incomplete startup packet
2006-03-30 10:03:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:04:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:05:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:06:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:07:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:08:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:09:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:10:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:11:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:12:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:13:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:14:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:15:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:16:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:17:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:18:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:19:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:20:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:21:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:22:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:23:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:24:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:25:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:26:01 CSTLOG:  autovacuum: processing database "postgres"
2006-03-30 10:27:01 CSTLOG:  autovacuum: processing database "template1"
2006-03-30 10:27:05 CSTLOG:  received smart shutdown request
2006-03-30 10:27:05 CSTLOG:  shutting down
2006-03-30 10:27:05 CSTLOG:  database system is shut down
2006-03-30 10:27:05 CSTLOG:  logger shutting down


> Is there something wrong with autovacuum?  Normally I would doubt it but
> the other possibility is something is waiting for just over a minute and
> then shutting down the database.
>
Please help me find it out!  Thanks!! I just get in touch of postgresql, has no idea
what it suppose to be.  The databse just be installed for two days and I am
struggling on it all the time!!


> If you su postgres, can you run pg_ctl and get the database up by itself?
>
Yes I can.  And some log files were from such running.

Help!!

Kind regards,
leo



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: can't get connection during pg_dump
Следующее
От: "Sriram Dandapani"
Дата:
Сообщение: export of schema only