From: Henshall, Stuart - WCP <SHenshall@westcountrypublications.co.uk>
To: 'meaghana@magtech.com.au' <meaghana@magtech.com.au>
To: pgsql-admin@postgresql.org
Subject: Re: Postgresql 7.1 "No database files found"
Date: Wed, 13 Mar 2002 11:50:04 -0000
Message-ID: <E2870D8CE1CCD311BAF50008C71EDE8E01F7481D@MAIL_EXCHANGE> (raw)
In 7.1 the directory names changed to be the oids. It appears to
be you're start up script that is at fault.
Hope this helps,
- Stuart
> -----Original Message-----
> From: meaghana@magtech.com.au [mailto:meaghana@magtech.com.au]
> Sent: 05 March 2002 07:03
>
>
> Hi,
>
> We recently installed pgsql 7.1 on Mandrake 8.1, and did a pg_dumpall
> to import our old pgsql 7.0.2 databases.
>
> This morning, we tried to restart postgresql after a system crash, and
> we find that we suddenly have an error starting postgresql with the
> following message:
>
> [root@ocean home]# /etc/init.d/postgresql start
> Checking postgresql installation: no database files found.
> [ OK ]
> Starting postgresql service: [FAILED]
>
> The strange thing is, is that the database and postgresql/postmaster
> etc has been running for a month with no problems.
>
> By looking at the startup script, we noted that it needs a "template1"
> directory, which we don't seem to have. We restored an old backup of
> the pgsql directory, and it doesn't seem to exist there either. So
> basically, we are not sure whether we have lost files in a system
> crash, or something really weird is going on with postgresql.
>
> After doing an initdb, we noticed that template1 directory was
> actually renamed to /var/lib/pgsql/data/1. Do this simply mean that
> the startup script is incorrect?
>
> Does anyone have any suggestions?
>
> TIA,
>
> Meaghan
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: SHenshall@westcountrypublications.co.uk, meaghana@magtech.com.au
Subject: Re: Postgresql 7.1 "No database files found"
In-Reply-To: <E2870D8CE1CCD311BAF50008C71EDE8E01F7481D@MAIL_EXCHANGE>
References: <E2870D8CE1CCD311BAF50008C71EDE8E01F7481D@MAIL_EXCHANGE>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox