From: | Rahul Sharma <rahul_sh(at)yahoo(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Cc: | cdrom(at)pcquest(dot)com, Red Hat Software <bugs(at)redhat(dot)com> |
Subject: | S.O.S postgresql installation with REDHAT |
Date: | 1998-08-15 18:52:28 |
Message-ID: | 19980815185228.21535.rocketmail@send102.yahoomail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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
==
Rahul Sharma (B.E Electronics)
Presently working as Tech. Trainee
in Institute for plasma research (IPR)
e-mails -: rahul(at)plasma(dot)ernet(dot)in
rahul_sh(at)yahoo(dot)com
rahul_ramkumar(at)hotmail(dot)com
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Rahul Sharma - Tech. Trainee - 97 | 1998-08-16 05:05:36 | S.O.S postgresql installation with REDHAT |
Previous Message | Dariusz Owczarek | 1998-08-15 17:33:02 | (no subject) |