Skip site navigation (1) Skip section navigation (2)

Re: Help me

From: "Tran Anh Tu" <trantu(at)vnu(dot)edu(dot)vn>
To: "andhie adam" <andhie(at)linuxmail(dot)org>, <pgsql-php(at)postgresql(dot)org>
Subject: Re: Help me
Date: 2003-09-12 09:08:18
Message-ID: WorldClient-F200309121608.AA08181655@vnu.edu.vn (view raw or flat)
Thread:
Lists: pgsql-php
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(at)vnu(dot)edu(dot)vn
*******************************************************


-----Original Message-----
From: "andhie adam" <andhie(at)linuxmail(dot)org>
To: "Tran Anh Tu" <trantu(at)vnu(dot)edu(dot)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


pgsql-php by date

Next:From: Tran Anh TuDate: 2003-09-12 09:49:38
Subject: Re: Help me
Previous:From: Gerd TerlutterDate: 2003-09-12 07:38:59
Subject: Help MMMEEE

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group