Re: role does not exist

From: "Kevin Burton" <rkevinburton(at)charter(dot)net>
To: "'Adrian Klaver'" <adrian(dot)klaver(at)gmail(dot)com>
Cc: "'Joshua D(dot) Drake'" <jd(at)commandprompt(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: role does not exist
Date: 2012-11-01 13:38:22
Message-ID: 007a01cdb836$299bbef0$7cd33cd0$@charter.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Adrian Klaver
Sent: Thursday, November 01, 2012 8:24 AM
To: Kevin Burton
Cc: 'Joshua D. Drake'; pgsql-general(at)postgresql(dot)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(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marti Raudsepp 2012-11-01 13:41:30 Re: Boolean type storage format
Previous Message Adrian Klaver 2012-11-01 13:23:32 Re: role does not exist