Re: Standard in must be a tty

Поиск
Список
Период
Сортировка
От A.Bhuvaneswaran
Тема Re: Standard in must be a tty
Дата
Msg-id Pine.LNX.4.44.0309131126260.2105-100000@Bhuvan.bksys.co.in
обсуждение исходный текст
Ответ на Standard in must be a tty  ("White, Benjamin" <Benjamin.White@umassmed.edu>)
Список pgsql-novice
The problem is with su command. Postgresql does not emit this message.  I
faced similar problem long back when i tried su from cron. Are you trying
to run the script from cron? If not, you forward your postgresql init.d
script offlist to me.

regards,
bhuvaneswaran

On Fri, 12 Sep 2003, White, Benjamin wrote:

> I'm trying to initialize and start postgresql  under Red Hat 8 using the
> command:
>
>
>
> /etc/rc.d/init.d/postgresql start
>
>
>
> The script fails, and from looking at the log, it would appear that the
> error "Standard in must be a tty" occurs when the script does a
>
> "su" to the postgres user to run the initdb script.
>
>
>
> The version of Postgresql is 7.1.3-2, and all components (lib,
> postgresql, server, and perl) were installed using RPM.
>
>
>
> I appreciate the help - tried a bunch of things over the past 2 days
> with no avail...
>
>
>
> Thanks
>
>
>
> Benjamin J. White
>
> Associate Chief Information Officer
>
> Product Support & Technology
>
> University of Massachusetts Medical School
>
>
>
>


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Standard in must be a tty
Следующее
От: "Jim Byrne (NTL)"
Дата:
Сообщение: Postgresql 'backend closed the channelunexpectedly' - how to re-install?