S.O.S postgresql installation with REDHAT

From: "Rahul Sharma - Tech(dot) Trainee - 97" <rahul(at)plasma(dot)ernet(dot)in>
To: pgsql-admin(at)postgresql(dot)org
Subject: S.O.S postgresql installation with REDHAT
Date: 1998-08-16 05:05:36
Message-ID: 35D668A0.1F97@plasma.ernet.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

IMPORTANT
***************************************************************

PLEASE send a CC: of the reply at

rahul_sh(at)yahoo(dot)com

also as sometimes the plasma mail server is down nowdays
************************************************************

Dear Sir,
I am trying to install POSTGRES with the REDHAT linux on a partitioned
standalone PC ( Pentium MMX ). As far as i understood while installing
linux the POSTGRES is also installed ( Provided it was selected in the
PACKAGES list ).
The problem i am facing is this that , when i try to run

$ psql template1

it gives me message that

Connection to database template1 failed
ConnectDB() failed : Is the postmaster running at localhost at port
'5432'

If i run trhe command
$ createuser

i get the following errors

Connection to database template1 failed
ConnectDB() : failed : Is postmater running at localhost at port 5432
createuser : database access failed

I checked the postmaster with command
$ ps -ax
its running.

My doubts are :

Q-1 Is it due to something related to network configuration ( MY PC is a
standalone ). Why i am having this doubt is because when i run
pg_hba.conf
the error states that domain not found.

Q-2 Or is it because initdb was not run . Does the 'Redhat CD' while
installation runs the initdb also ? i cannot run the regress test as the
there is no such src directory. ?

Q-3 Does the template1 forms only after initdb has been executed ? When
i
run initdb from the postgres login , it links with the library and it
stops with the error that
mkdir : cannot create directory /var/lib/pgsql : no such file or
directory .

By default after installation of package i found the base/template1
directory under /var/lib/pgsql so i have set PGDATA to /var/lib/pgsql


Please listen to my probs as i am working on my college project and
right
now stuck at this point.

Waitng for the HELP
Regards
Priyanka Jha
B.E Computer Software

Browse pgsql-admin by date

  From Date Subject
Next Message Mark Cartwright 1998-08-16 23:19:49 Remote administration of PostgreSQl?
Previous Message Rahul Sharma 1998-08-15 18:52:28 S.O.S postgresql installation with REDHAT