Search Postgresql Archives

Re: cannot open pg_database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jim Bryan <gooddayarizona@xxxxxxxxx> writes:
> Installing with yum, Fedora core 5.  Get error: "could
> not open file "global/pg_database": No such file or
> directory.

It seems pretty odd that that would be the first error.

"   The file exists however, in
> /var/lib/pgsql/data/global and contains 3 lines:

OK ...

> bash-3.1$ su -c 'pg_ctl start -D /usr/local/pgsql/data
> -l serverlog' postgres

/usr/local is not /var/lib.  Perhaps you have an incomplete/corrupt
database installation under /usr/local/pgsql/data?  I don't believe
the postmaster would start if there were nothing there at all, but
it certainly doesn't try very hard to check whether every required
file is present.

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux