Re: postgresql startup

From: "Jan de Visser" <jdevisser(at)digitalfairway(dot)com>
To: post(at)upyours(dot)us
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql startup
Date: 2007-12-08 18:23:41
Message-ID: 1159c1e90712081023t1185e764ud2005bf2dc72913f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/8/07, Charles <post(at)upyours(dot)us> wrote:
> I am using Ubuntu 7.10. When trying to use Postgresql 8.2 I get the
> following errors:
>
> root(at)DagonUX32:~# su -c postgres
> bash: postgres: command not found

Ignoring an error and just charging on seems quite dangerous to me,
especially when being root.

But that aside, try 'su - postgres' (so just a minus, not -c).

> root(at)DagonUX32:~# createuser -s -P dagon
> Enter password for new role:
> Enter it again:
> createuser: could not connect to database postgres: FATAL: role "root"
> does not exist
>
> I have done a complete removal of postgresql, then resinstalled. I still
> get the same error. Is there a configuration file somewhere that needs
> to be removed? (I did make sure that /etc/postgresql was deleted.
>
> All the help I can get will be appreciated!
>
> Thanks.
>
> Charles

jan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Roger Mason 2007-12-08 19:02:55 wriring a file to a database
Previous Message Charles 2007-12-08 18:01:37 postgresql startup