Thread: Problem in running the postmaster

Problem in running the postmaster

From
"Raghavendra"
Date:
hi,

I have installed the latest version 0f PostgreSQL on a Linux system.
Also created a database. But now when I try to execute th Postmaster I will
be getting the following error:
980606.18:21:07.371 [17703] DEBUG:  Data Base System is starting up
at Sat Jun6 18:21:07 1998980606.18:21:07.371 [17703] FATAL 2:  Control file context is broken980606.18:21:07.371
[17703]FATAL 2:  Control file context is brokenStartup failed - abort
 

and the process gets terminated.

The variables PGHOST, PGDATA, and PGPORT are set to appropriate values.

Please let me know the solution for this as soon as possible.

Thanks in advance,
With Regards,
raghavendra



Re: Problem in running the postmaster

From
Tom Lane
Date:
"Raghavendra" <raghavendra@wsspl.com> writes:
> I have installed the latest version 0f PostgreSQL on a Linux system.
> Also created a database. But now when I try to execute th Postmaster I will
> be getting the following error:

>     980606.18:21:07.371 [17703] DEBUG:  Data Base System is starting up
> at Sat Jun
>     6 18:21:07 1998
>     980606.18:21:07.371 [17703] FATAL 2:  Control file context is broken
>     980606.18:21:07.371 [17703] FATAL 2:  Control file context is broken
>     Startup failed - abort

You sure that's the latest version?  There is no such debug message in
the 7.1 release.  I think you are trying to start a 7.0 postmaster in a
7.1 database, or something like that.  In any case, you most likely
haven't initdb'd with the correct version of initdb.
        regards, tom lane