Hello,

In my understanding, createdb is run under the unix user's rights (here,
root?) you're logged on.
To create a db, you need to be the unix user which runs the postgres daemon.

My 2 cents,
--
François Parmentier / INIST-CNRS

On Tue, Sep 16, 2008 at 12:56 PM, Sangamnerkar Tushar
<[EMAIL PROTECTED]>wrote:

> Hello ,
> RHEL 5 >>>*DSpace 1.4.2* >>>Java 1.6.0_02 >>> *Postgres 8.1.9*
>
> while running *initdb*  message is data exists in folder is the message
> Is it necessarey to initdb for pgsql 8.1.9
>
> createuser runs ok
>
> *Error during createdb  -U dspace *
> **
> *could not change to "/root"*
> FATAL: Ident authentication failed for user dspace
>
> have altered the pgsql.conf   listen_addresses entry
> and have added
>
> *host dspace dspace 127.0.0.1 255.255.255 md5*
> *local template1 postgres trust*
> *local template1 dspace trust  *          to pg_hba.conf
>
> Tushar Sangamnerkar
>
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to