| From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
|---|---|
| To: | Tom K <tomkcpr(at)gmail(dot)com> |
| Cc: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: psql: FATAL: the database system is starting up |
| Date: | 2019-06-01 22:36:53 |
| Message-ID: | aca93e88-e293-a03e-f29e-089eac69c111@aklaver.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 6/1/19 3:14 PM, Tom K wrote:
>
>
> ** Correction. There is postgres, template1 and template2 but none of
> the other databases we had.
In a psql session do:
select oid, datname from pg_database ;
Then go to /data/patroni an drill down to the base directory. In that
directory there should be sub-directories with numbers equal to the oid
values from the query. If not then something is wrong. That could be:
1) Wrong data directory.
2) Copied over incorrect data directory.
Basically if the only sub-directories are for the system databases then
the user databases do not exist. You might want to look at some of the
other clusters to see what is there.
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2019-06-01 22:39:34 | Re: psql: FATAL: the database system is starting up |
| Previous Message | Tom K | 2019-06-01 22:14:59 | Re: psql: FATAL: the database system is starting up |