Re: Databse installation problem

Поиск
Список
Период
Сортировка
От Tim Bowden
Тема Re: Databse installation problem
Дата
Msg-id 1253526808.4434.73.camel@mordor
обсуждение исходный текст
Ответ на Re: Databse installation problem  (Bhushan Verma <verma.bhushan@gmail.com>)
Ответы Re: Databse installation problem  (Bhushan Verma <verma.bhushan@gmail.com>)
Список pgsql-novice
On Mon, 2009-09-21 at 13:54 +0530, Bhushan Verma wrote:
> Hi,
>
> I am stopping the server as follows
> /etc/init.d/postgres stop
>
> starting the new /etc/init.d/postgres

Have you edited /etc/init.d/postgres to point prefix at /var/lib/pgsql
(and updated any other settings that need to be changed for the new
server; PGDATA maybe)?  I suspect it is still starting the old
installation in /usr/local/...

>
> my pg_log contains as follows logs
>
> LOG:  database system was shut down at 2009-09-21 13:40:53 IST
> LOG:  autovacuum launcher started
> LOG:  database system is ready to accept connections
>
> >and are there any messages in /var/lib/pgsql/data/serverlog?
> what do you mean by serverlog is this same as pg_log.

serverlog is the default log file for postgresql and is in the data dir
(by default, along with pg_hba.conf, pg_ident.conf, postgresql.conf and
so on; see PGLOG in /etc/init.d/postgresql to find out what is happening
with logs on your installation).  Where did
*your* /etc/init.d/postgresql file come from?

>
>
>                 You seem to be using psql from 8.3.7 but running the
>                 8.3.1 server still.
>                 How *exactly* are you stopping the old server and
>                 starting the new one,
>                 and are there any messages
>                 in /var/lib/pgsql/data/serverlog?
>
>                 Tim Bowden
>
>                 BTW, please don't top post.  It ruins the flow of the
>                 conversation and
>                 makes it very difficult to follow.
>



Tim Bowden




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

Предыдущее
От: Bhushan Verma
Дата:
Сообщение: Re: Databse installation problem
Следующее
От: Bhushan Verma
Дата:
Сообщение: Re: Databse installation problem