Re: Databse installation problem

From: Tim Bowden <tim(dot)bowden(at)westnet(dot)com(dot)au>
To: Bhushan Verma <verma(dot)bhushan(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Databse installation problem
Date: 2009-09-21 09:53:28
Message-ID: 1253526808.4434.73.camel@mordor
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tim Bunce 2009-09-21 10:05:43 Re: BUG #5066: plperl issues with perl_destruct() and END blocks
Previous Message Bhushan Verma 2009-09-21 08:24:34 Re: Databse installation problem

Browse pgsql-novice by date

  From Date Subject
Next Message Bhushan Verma 2009-09-21 10:19:52 Re: Databse installation problem
Previous Message Bhushan Verma 2009-09-21 08:24:34 Re: Databse installation problem