Re: Help me

Поиск
Список
Период
Сортировка
От Tran Anh Tu
Тема Re: Help me
Дата
Msg-id WorldClient-F200309121608.AA08181655@vnu.edu.vn
обсуждение исходный текст
Ответ на Help me  ("Tran Anh Tu" <trantu@vnu.edu.vn>)
Список 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@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


В списке pgsql-php по дате отправления:

Предыдущее
От: Gerd Terlutter
Дата:
Сообщение: Help MMMEEE
Следующее
От: "Tran Anh Tu"
Дата:
Сообщение: Re: Help me