Received: from jupiter.hub.org (jupiter.hub.org [64.49.215.5]) by postgresql.org (Postfix) with ESMTP id D28BD474E49 for ; Tue, 5 Mar 2002 02:03:57 -0500 (EST) Received: (from news@localhost) by jupiter.hub.org (8.11.6/8.11.6) id g2573Hh50257 for pgsql-admin@postgresql.org; Tue, 5 Mar 2002 01:03:17 -0600 (CST) (envelope-from news) From: meaghana@magtech.com.au (Meaghan) X-Newsgroups: comp.databases.postgresql.admin Subject: Postgresql 7.1 "No database files found" Date: 4 Mar 2002 23:02:51 -0800 Organization: http://groups.google.com/ Lines: 32 Message-ID: <794514bc.0203042302.436a32d0@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Archive-Number: 200203/154 X-Sequence-Number: 3688 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