Re: Install or Bust - pgsql on Red Hat 9

Поиск
Список
Период
Сортировка
От Martin Atukunda
Тема Re: Install or Bust - pgsql on Red Hat 9
Дата
Msg-id 200401281109.39989.matlads@myrealbox.com
обсуждение исходный текст
Ответ на Install or Bust - pgsql on Red Hat 9  ("Phil Seretti" <phil@postsoundcorp.com>)
Список pgsql-novice
On Wednesday 28 January 2004 08:06, Phil Seretti wrote:
> Hello All,
>
> I'm a virgin newbie to Linux and PostgreSQL but have very much experience
> in - (whispered) sssh, Windows.
>
> I have downloaded the Red Hat 9 errata corrected  RPMs of pgsql - including
> the missing "odbc" package they left off the site (13 rpms in all).
>
> They seemed to unpack with no issues.  Following Red Hat's PostgreSQL
> Configuration instructions, here is my terminal dialog;
>
> [root@localhost user]# postmaster  -i > logfile 2>&1 &
> [1] 2884
> [root@localhost user]# createdb  -h localhost -E UNICODE mydb
> bash: createdb: command not found
> [1]+   Exit 127                                        postmaster -i
> >logfile 2>&1
>

You shouldn't be able to start the postmaster as root. that is why it exists
with error status 127. you should start the postmaster as the postgres user.

the postgres user's environment (usually) has the correct path settings
defined so that commands like createdb can work.

- Martin -

--
"If we don't succeed, we run the risk of failure."
--Bill Clinton, President

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

Предыдущее
От: Aarni Ruuhimäki
Дата:
Сообщение: Re: Install or Bust - pgsql on Red Hat 9
Следующее
От: Marcin Gil
Дата:
Сообщение: Re: db security; user identification