Re: [ADMIN] weird fatal error starting postmaster

Поиск
Список
Период
Сортировка
От Lamar Owen
Тема Re: [ADMIN] weird fatal error starting postmaster
Дата
Msg-id 38739252.5BB472D8@wgcr.org
обсуждение исходный текст
Ответ на weird fatal error starting postmaster  ("Dana Hudes" <dhudes@hudes.org>)
Список pgsql-admin
Dana Hudes wrote:
> I'm of course on RedHat Linux. Specifically v6.0 .Dual processor PII, running SMP kernel 2.2.5-22smp
> I do (in inittab)
> /bin/su - postgres -c "/usr/bin/postmaster -D/var/db" >>/var/log/postgres.log 2>&1 </dev/null

Does postmaster start successfully if simply started -- not from
inittab? Also, on RedHat, the standard location of the database is
/var/lib/pgsql, not /var/db -- this could get you into trouble later if
you run into other problems.  This location should only be changed if
there is really GOOD reason to do so.

Run, as root, '/etc/rc.d/init.d/postgresql start' -- it'll initdb in
/var/lib/pgsql if there's no database there.  Then, attempt to connect,
and see what happens. Feel free to modify the
/etc/rc.d/init.d/postgresql script for logging purposes.

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

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

Предыдущее
От: Karl DeBisschop
Дата:
Сообщение: Re: [ADMIN] weird fatal error starting postmaster
Следующее
От: "Dana Hudes"
Дата:
Сообщение: Re: [ADMIN] weird fatal error starting postmaster