Re: start/stop error message

From: brian <brian(at)zijn-digital(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: start/stop error message
Date: 2008-11-20 05:27:14
Message-ID: 4924F532.5080509@zijn-digital.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

David wrote:
> I am unable to solve the following problem.
>
> When I start or stop PostgreSQL using pg_ctl (without the -D option) the
> system works fine. No errors. I have the PGDATA environment variable
> set and it points to my cluster.
>
> When I run the /etc/init.d/postgresql-8.2 script with either of "stop"
> or "start" as parameters I get the following error:
>
>
> david(at)kepler:/etc/init.d$ sudo /etc/init.d/postgresql-8.2 start
> * Starting PostgreSQL 8.2 database server
> * Error: specified cluster does not exist
> [fail]
>
> and the same error when passing "stop"
>
> The cluster clearly exists and is recognized by pg_ctl. As a result
> PostgreSQL does not start with the system and must be started and
> stopped manually.
>
> I am running Ubuntu linux (very close to Debian).
>
> There must be a configuration error but I cannot find it.
>

Do the paths set in /etc/init.d/postgresql-8.2 conform to your PG*
environment variables?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vishal Arora 2008-11-20 05:30:45 Re: Scheduling backup via PgAgent
Previous Message David 2008-11-20 05:22:24 start/stop error message