pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
HELP pleaseeee!!!
2+ messages / 2 participants
[nested] [flat]

* HELP pleaseeee!!!
@ 2004-08-24 20:05 andres barra <andresbarra@hotmail.com>
  2004-08-25 15:46 ` Re: HELP pleaseeee!!! Chris Browne <cbbrowne@acm.org>
  0 siblings, 1 reply; 2+ messages in thread

From: andres barra @ 2004-08-24 20:05 UTC (permalink / raw)
  To: pgsql-admin

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????

bye..thanks...

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.latam.msn.com/




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: HELP pleaseeee!!!
  2004-08-24 20:05 HELP pleaseeee!!! andres barra <andresbarra@hotmail.com>
@ 2004-08-25 15:46 ` Chris Browne <cbbrowne@acm.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Chris Browne @ 2004-08-25 15:46 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-08-25 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-08-24 20:05 HELP pleaseeee!!! andres barra <andresbarra@hotmail.com>
2004-08-25 15:46 ` Chris Browne <cbbrowne@acm.org>

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