Re: install problem

From: Bernard Clement <bernard(at)info-electronics(dot)com>
To: wayne schlemitz <schmtzway(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: install problem
Date: 2004-10-09 20:25:22
Message-ID: 200410091625.23189.bernard@info-electronics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear Wayne,

Hum! you are not following exactly the instructions for a "Short Installation"
which is:
./configure
gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test

Anyway, what did you enter after "useradd"?
That command requires at least one parameter, the new user name
which in this case should be postgres.

Once that is done, the "su postgres" will work without any password since
you are running it from root.

Regards,

Bernard

On Saturday 09 October 2004 10:29, wayne schlemitz wrote:
> I am using SuSE 8.0 Professional Linux and installing
> postresql 7.4 by placing the tar files in /temp and
> untar and unzip and followed the short install
> procedure.
> Log in as root
> ./ configure
> gmake
> gmake install
> useradd
> mkdir /usr/local/pgsql/data
> chown postgres /usr/local/pgsql/data
> su postgres
> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
> ""same as above"" >logfile 2>&1 &
>
> At this point I checked the last 2 lines to enter and
> was told I do not have the password for the postges
> sence it is not a person but a program it should not
> ask for the password. Have not had sucess to call up
> the program or to finish the last 2 lines.
> /usr/local/pgsql/bin/createdb test
> /usr/local/pgsql/bin/pgsql test
>
> What can I do to finish the last 2 lines and call up
> the potgres or pgsql?
>
>
>
>
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Net Virtual Mailing Lists 2004-10-09 23:50:17 Rules and locking within a transaction?...
Previous Message Scott Frankel 2004-10-09 18:33:14 Re: install problem