Re: createuser: could not connect to database postgres: FATAL: could not open file "global/pg_database": No such file or directory - Mailing list pgsql-general

From Tri Quach
Subject Re: createuser: could not connect to database postgres: FATAL: could not open file "global/pg_database": No such file or directory
Date
Msg-id 20080321024329.EBA8D3EF4@mailrelay.k12.hi.us
Whole thread Raw
In response to Re: createuser: could not connect to database postgres: FATAL: could not open file "global/pg_database": No such file or directory  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general

Thanks everyone for all your help.  After reboot the server, I was able to
recreate user and database.  I am done with the installation.

Thanks,
Tri.




-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of Tom Lane
Sent: Thursday, March 20, 2008 3:57 PM
To: Tri Quach
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] createuser: could not connect to database postgres:
FATAL: could not open file "global/pg_database": No such file or directory

"Tri Quach" <tquach@k12.hi.us> writes:
> createuser: could not connect to database postgres: FATAL:  could not open
> file "global/pg_database": No such file or directory

So is that file present (under /var/lib/pgsql/data)?  What messages are
in the postmaster's logfile?  What PG version is this, and on what
platform?

            regards, tom lane

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

______________________________________________________________________
This email was scanned by the MessageLabs Security System contracted by the
Hawaii Dept Of Education. If you receive suspicious/phish email, forward a
copy to spamreport@k12.hi.us  This helps us monitor suspicious/phish email
getting thru. You will not receive a response from us, but rest assured the
information received will help to build additional protection. For info
about this service please visit http://www.messagelabs.com/email
______________________________________________________________________


pgsql-general by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Which JDBC version to use with PostgreSQL 8.1.11?
Next
From: Justin
Date:
Subject: cursor manipulation