Re: Databse installation problem - Mailing list pgsql-novice

From Tim Bowden
Subject Re: Databse installation problem
Date
Msg-id 1253526808.4434.73.camel@mordor
Whole thread Raw
In response to Re: Databse installation problem  (Bhushan Verma <verma.bhushan@gmail.com>)
Responses Re: Databse installation problem
List 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 by date:

Previous
From: Bhushan Verma
Date:
Subject: Re: Databse installation problem
Next
From: Bhushan Verma
Date:
Subject: Re: Databse installation problem