Re: BUG #15213: unable to login on PostgreSQL by postgres user

Поиск
Список
Период
Сортировка
От Arthur Zakirov
Тема Re: BUG #15213: unable to login on PostgreSQL by postgres user
Дата
Msg-id 20180529082300.GA2424@zakirov.localdomain
обсуждение исходный текст
Ответ на BUG #15213: unable to login on PostgreSQL by postgres user  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15213: unable to login on PostgreSQL by postgres user  (dhirendra Singh <dhirendra04@hotmail.com>)
Список pgsql-bugs
Hello,

On Tue, May 29, 2018 at 07:32:38AM +0000, PG Bug reporting form wrote:
> [dhirsing@jira-stg ~]$ sudo -u postgres psql postgres
> [sudo] password for dhirsing:
> could not change directory to "/home/dhirsing"
> psql: FATAL:  database "postgres" does not exist
> DETAIL:  The database subdirectory "base/12950" is missing.

I think you missed postgres database directory. Can you check using a
file manager if the directory "base/12950" exists in your PGDATA?

If it is lost the only way is to restore your instance from a backup.

-- 
Arthur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company


В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15213: unable to login on PostgreSQL by postgres user
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15214: Pg 10.4 windows 64 bit installer is 32 bit