LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Anshuman Das <dasanshu@hotmail.com>
  To  : <linuxsa@linuxsa.org.au>
  Date: Tue, 5 Dec 2000 12:06:14 +0530

I'm a Linux RH6.2 user

This is a multi-part message in MIME format.

------=_NextPart_000_0078_01C05EB3.C3E3FF70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi
I'm a Linux RH6.2 user. I want to run PHP with postgreSQL. I'm facing =
some problems. Kindly help me:

1) How to run postmaster? usr/bin/postmaster is saying that: unable to =
find systemdata or unable to open "/usr/include/pgsql//base/template =
1/pg_class"

error:postmaster does not know to find the database system data.You must
specify the directory that contains the database system either by
specifying the -D invocation or by setting the PGDATA environment=20
variable


2) pg_connect() cannot find postgreSQL server.
error:Connection to database 'postgres' failed.connectDB() failed: Is =
the
postmaster running and accepting connections     at 'UNIX Socket' on =
port
'5432'?

3) How to use and configure pg_hba.conf?

PLZ Reply Soon

Anshuman
India
anshuman@simblos.com

------=_NextPart_000_0078_01C05EB3.C3E3FF70
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hi<BR>I'm a Linux RH6.2 user. I want to =
run PHP=20
with postgreSQL. I'm facing some problems. Kindly help me:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>1) How to run postmaster? =
usr/bin/postmaster is=20
saying that: unable to find systemdata or unable to open=20
"/usr/include/pgsql//base/template 1/pg_class"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>error:postmaster does not know to find =
the database=20
system data.You must<BR>specify the directory that contains the database =
system=20
either by<BR>specifying the -D invocation or by setting the PGDATA =
environment=20
<BR>variable</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><BR>2) pg_connect() cannot find =
postgreSQL=20
server.<BR>error:Connection to database 'postgres' failed.connectDB() =
failed: Is=20
the<BR>postmaster running and accepting =
connections     at=20
'UNIX Socket' on port<BR>'5432'?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>3) How to use and configure=20
pg_hba.conf?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>PLZ Reply Soon</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Anshuman<BR>India<BR><A=20
href=3D"mailto:anshuman@simblos.com">anshuman@simblos.com</A></FONT></DIV=
></BODY></HTML>

------=_NextPart_000_0078_01C05EB3.C3E3FF70--

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page