Re: role does not exist

Поиск
Список
Период
Сортировка
От Kevin Burton
Тема Re: role does not exist
Дата
Msg-id 007a01cdb836$299bbef0$7cd33cd0$@charter.net
обсуждение исходный текст
Ответ на Re: role does not exist  (Adrian Klaver <adrian.klaver@gmail.com>)
Ответы Re: role does not exist  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
Dpkg -l | grep postgresql shows
    postgresql-9.1
    postgresql-common
    postgresql-client-common
    postgresql-doc
    postgresql-doc-9.1
Ps -ax | grep postgresql shows
    Postgresql

I still get ' psql:  FATAL:  role "postgres" does not exist' when I execute
'sudo -u postgres psql'.


-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of Adrian Klaver
Sent: Thursday, November 01, 2012 8:24 AM
To: Kevin Burton
Cc: 'Joshua D. Drake'; pgsql-general@postgresql.org
Subject: Re: [GENERAL] role does not exist

On 11/01/2012 05:02 AM, Kevin Burton wrote:
> There is a tutorial directory but it has a README that I need to type
'make'
> to view the files. Well, make wasn't available so I installed 'make'
> with apt-get. Then I was met with an error apparently from the
> Makefile that
> pg_conf: command not found. I seem to be getting farther and farther
> from the original question, that of role "postgres" does not exist.
>

I just tested an install of Postgres on Ubuntu and sudo -u postgres psql
worked just fine.

Are you sure you installed all of the Postgres packages?
    What does dpkg -l| grep postgresql show?
Is Postgres is running?
    What does ps ax| grep postgresql show?



>


--
Adrian Klaver
adrian.klaver@gmail.com


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



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: role does not exist
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: role does not exist