From dasanshu@hotmail.com Tue Dec 5 06:01:08 2000 Received: from hotmail.com (oe15.law6.hotmail.com [216.32.240.119]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eB5617G92125 for ; Tue, 5 Dec 2000 01:01:08 -0500 (EST) (envelope-from dasanshu@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 4 Dec 2000 22:01:26 -0800 X-Originating-IP: [202.54.79.65] Reply-To: "Anshuman Das" From: "Anshuman Das" To: Subject: I'm a Linux RH6.2 user Date: Tue, 5 Dec 2000 11:37:38 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0053_01C05EAF.C50EE7B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: X-OriginalArrivalTime: 05 Dec 2000 06:01:26.0496 (UTC) FILETIME=[CD9F2E00:01C05E80] X-Archive-Number: 200012/4 X-Sequence-Number: 47 This is a multi-part message in MIME format. ------=_NextPart_000_0053_01C05EAF.C50EE7B0 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_0053_01C05EAF.C50EE7B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hi
I'm a Linux RH6.2 user. I want to ru= n PHP=20 with postgreSQL. I'm facing some problems. Kindly help me:
 
1) How to run postmaster? usr/bin/postmast= er is=20 saying that: unable to find systemdata or unable to open=20 "/usr/include/pgsql//base/template 1/pg_class"
 
error:postmaster does not know to find the= database=20 system data.You must
specify the directory that contains the database sy= stem=20 either by
specifying the -D invocation or by setting the PGDATA environm= ent=20
variable
 

2) pg_connect() cannot find postgreSQL= =20 server.
error:Connection to database 'postgres' failed.connectDB() faile= d: Is=20 the
postmaster running and accepting connections    = at=20 'UNIX Socket' on port
'5432'?
 
3) How to use and configure=20 pg_hba.conf?
 
PLZ Reply Soon
 
Anshuman
India
anshuman@simblos.com
<= /BODY> ------=_NextPart_000_0053_01C05EAF.C50EE7B0-- From aalang@rutgersinsurance.com Tue Dec 5 15:10:21 2000 Received: from bush.rutgersinsurance.com (rutgersinsurance.com [38.138.71.194]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eB5FALG53473 for ; Tue, 5 Dec 2000 10:10:21 -0500 (EST) (envelope-from aalang@rutgersinsurance.com) Received: from 6014cwpza006 ([10.10.10.51]) by bush.rutgersinsurance.com (8.9.3/8.9.3) with SMTP id KAA06948 for ; Tue, 5 Dec 2000 10:15:15 -0500 Message-ID: <000201c05ecd$fa4c87c0$330a0a0a@6014cwpza006> From: "Adam Lang" To: References: Subject: Re: I'm a Linux RH6.2 user Date: Tue, 5 Dec 2000 08:54:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200012/5 X-Sequence-Number: 48 Like the error said. You need to start postmaster with the -D attribute to tell it the location of your database. Go to documentation at www.postgresql.org for instructions. Adam Lang Systems Engineer Rutgers Casualty Insurance Company http://www.rutgersinsurance.com ----- Original Message ----- From: "Anshuman Das" To: Sent: Tuesday, December 05, 2000 1:07 AM Subject: [PHP] I'm a Linux RH6.2 user 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 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