pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tran Anh Tu <trantu@vnu.edu.vn>
To: andhie adam <andhie@linuxmail.org>
To: pgsql-php@postgresql.org
Subject: Re: Help me
Date: Fri, 12 Sep 2003 16:08:18 +0700
Message-ID: <WorldClient-F200309121608.AA08181655@vnu.edu.vn> (raw)
In-Reply-To: <20030912073621.32029.qmail@linuxmail.org>
References: <20030912073621.32029.qmail@linuxmail.org>

It's OK.Thank you for your help. Best wishes to you.
*******************************************************
Tran Anh Tu
Vien CNTT - DHQG Ha Noi
Phone: 047680417-25   Email trantu@vnu.edu.vn
*******************************************************


-----Original Message-----
From: "andhie adam" <andhie@linuxmail.org>
To: "Tran Anh Tu" <trantu@vnu.edu.vn>
Date: Fri, 12 Sep 2003 15:36:21 +0800
Subject: Re: [PHP] Help me

> 
> >Hi all!
> >Postgresql is installed automatically with rpm packets, It run
> perfectly 
> >with command : /etc/init.d/postgresql start
> >But when I stop it and switch to user: postgres, and start it with 
> >command: postmaster -i then it does not working because It don't know 
> >where the database is placed. A error message:
> 
> >postmaster does not know where to find the database system data.
> >You must specify the directory that contains the database system
> >either by specifying the -D invocation option or by setting the
> >PGDATA environment variable.
> 
> >Please help me!
> 
> if your postgresql is installed automatically with rpm packets. 
> before you start the postmaster, you must do it some steps like this...
> 1. from root, you must login as postgres superuser with command " su
> postgres"
>     # su postgres <ENTER>
> 2. the next steps you must create database cluster, the command like
> this...
>     $ initdb -D /var/lib/pgsql/data    
> 3. the finally steps, now you can start the postmaster (from postgres
> super user)
>    like this...
>     $ postmaster -i -D /var/lib/pgsql/data
> 
> I hope, my answer can help you
> 
> regards
> Andhie    
> 
> -- 
> ______________________________________________
> http://www.linuxmail.org/
> Now with e-mail forwarding for only US$5.95/yr
> 
> Powered by Outblaze




view thread (23+ messages)  latest in thread

Message-ID: <WorldClient-F200309121608.AA08181655@vnu.edu.vn>
Permalink:  ../WorldClient-F200309121608.AA08181655@vnu.edu.vn/
Also on:    postgresql.org/message-id/WorldClient-F200309121608.AA08181655@vnu.edu.vn

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: trantu@vnu.edu.vn, andhie@linuxmail.org
  Subject: Re: Help me
  In-Reply-To: <WorldClient-F200309121608.AA08181655@vnu.edu.vn>
  References: <20030912073621.32029.qmail@linuxmail.org> <WorldClient-F200309121608.AA08181655@vnu.edu.vn>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox