pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Browne <cbbrowne@acm.org>
To: pgsql-admin@postgresql.org
Subject: Re: HELP pleaseeee!!!
Date: Wed, 25 Aug 2004 11:46:44 -0400
Message-ID: <608yc3rziz.fsf@dev6.int.libertyrms.info> (raw)
References: <BAY10-F8N7SIt865WYt00066d2c@hotmail.com>

andresbarra@hotmail.com ("andres barra") writes:
> hi, somebody can help me???
>
> I tried to create a new database but i can“t.
>
> psql: FATAL:  Database "template1" does not exist in the system catalog.
> createdb: database creation failed
>
> I tried to make initdb in another directory and it shows me  Segmentation 
> Fault.
>
> how i do to restore the template1????

You could restore template1 from template0...

$ createdb -T template0 template1

I would suggest figuring out first why template1 got trashed, as
that's a pretty severe problem.  It sounds to me as though something's
severely broken with your PostgreSQL binaries; you may want to check
the provenance of the code.

If you compiled it yourself, then checking where the compile has
gotten to is clearly in your hands; if it was installed in "packaged"
form, you should look into whether someone has corrupted it, and
how/why...
-- 
let name="cbbrowne" and tld="cbbrowne.com" in String.concat "@" [name;tld];;
http://cbbrowne.com/info/finances.html
The human race  will decree from time to time:  "There is something at
which it is absolutely forbidden to laugh."
-- Nietzche on Common Lisp



view thread (2+ messages)

Message-ID: <608yc3rziz.fsf@dev6.int.libertyrms.info>
Permalink:  ../608yc3rziz.fsf@dev6.int.libertyrms.info/
Also on:    postgresql.org/message-id/608yc3rziz.fsf@dev6.int.libertyrms.info

 · 

reply

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: cbbrowne@acm.org
  Subject: Re: HELP pleaseeee!!!
  In-Reply-To: <608yc3rziz.fsf@dev6.int.libertyrms.info>
  References: <BAY10-F8N7SIt865WYt00066d2c@hotmail.com> <608yc3rziz.fsf@dev6.int.libertyrms.info>

* 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