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