Re: psql: FATAL: role "postgres" does not exist

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Martin Gainty <mgainty(at)hotmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql: FATAL: role "postgres" does not exist
Date: 2009-09-27 01:55:32
Message-ID: dcc563d10909261855w78a64aa1ka4ba6f888492bea0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

So, did you delete the postgres user?
Go here:
http://www.postgresql.org/docs/8.4/static/app-postgres.html
and look for single user mode. It's likely what you need.

Not surprised you can't get in with psql, you seem to not have a super
user account (or possibly any account)

2009/9/26 Martin Gainty <mgainty(at)hotmail(dot)com>:
> cant get in at all with psql
> netstat shows the listener is up on 5432
>
> trying with pgAdmin3
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
>> Date: Sat, 26 Sep 2009 19:44:09 -0600
>> Subject: Re: [GENERAL] psql: FATAL: role "postgres" does not exist
>> From: scott(dot)marlowe(at)gmail(dot)com
>> To: mgainty(at)hotmail(dot)com
>> CC: pgsql-general(at)postgresql(dot)org
>>
>> So, did you delete the postgres user? What happens if you bring up a
>> backend in single user mode? Can you see the users then with \du?
>>
>> 2009/9/26 Martin Gainty <mgainty(at)hotmail(dot)com>:
>> > postgres
>> > ?
>> > Martin Gainty
>> > ______________________________________________
>> > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>> >
>> > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
>> > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede
>> > unbefugte
>> > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese
>> > Nachricht
>> > dient lediglich dem Austausch von Informationen und entfaltet keine
>> > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
>> > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>> >
>> > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas
>> > le
>> > destinataire prévu, nous te demandons avec bonté que pour satisfaire
>> > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la
>> > copie
>> > de ceci est interdite. Ce message sert à l'information seulement et
>> > n'aura
>> > pas n'importe quel effet légalement obligatoire. Étant donné que les
>> > email
>> > peuvent facilement être sujets à la manipulation, nous ne pouvons
>> > accepter
>> > aucune responsabilité pour le contenu fourni.
>> >
>> >
>> >
>> >
>> >> Date: Sat, 26 Sep 2009 19:29:30 -0600
>> >> Subject: Re: [GENERAL] psql: FATAL: role "postgres" does not exist
>> >> From: scott(dot)marlowe(at)gmail(dot)com
>> >> To: mgainty(at)hotmail(dot)com
>> >> CC: pgsql-general(at)postgresql(dot)org
>> >>
>> >> 2009/9/26 Martin Gainty <mgainty(at)hotmail(dot)com>:
>> >> > All-
>> >> >
>> >> > when starting postgres what does this error mean exactly?
>> >> > psql: FATAL:  role "postgres" does not exist
>> >> >
>> >> > what is the exact solution for psql: FATAL:  role "postgres" does not
>> >> > exist
>> >> > error?
>> >>
>> >> That's not an error starting postgresql, it's an error starting psql.
>> >> Postgresql, by default, sets ownership of the cluster files and
>> >> creates a login role for the username used to run initdb. So, what
>> >> username was used to run initdb?
>> >
>> > ________________________________
>> > Bing™ brings you maps, menus, and reviews organized in one place. Try it
>> > now.
>>
>>
>>
>> --
>> When fascism comes to America, it will be intolerance sold as diversity.
>
> ________________________________
> Bing™ brings you maps, menus, and reviews organized in one place. Try it
> now.

--
When fascism comes to America, it will be intolerance sold as diversity.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-09-27 02:12:15 Re: psql: FATAL: role "postgres" does not exist
Previous Message Martin Gainty 2009-09-27 01:51:46 Re: psql: FATAL: role "postgres" does not exist