I'm a newbie too. In my case I had to create the directories prior to
initdb. Also I had to create the linux user "postrgres".
John
"James Szabadics" <jmsz@wespine.com.au> wrote in message
news:d1f73d90.0110240031.4c55331f@posting.google.com...
> I recently decided I would install Postgres 7.1.3 server on a Linux
> Redhat 7.1 server.
>
> I downloaded the following RPMS and installed them in this order with
> no apparent problems.
>
> postgresql-libs-7.1.3-1PGDG.i386.rpm
> postgresql-7.1.3-1PGDG.i386.rpm
> postgresql-server-7.1.3-1PGDG.i386.rpm
>
> Now where to from here?
>
> I did this
>
> adduser database
> su database
> initdb -D /usr/local/pgsql/data
>
> but all I got was that the file didnt exist?
>
> Am I doing something wrong? Have I missed a vital component/step?
>
> Regards
>
> James Szabadics