Обсуждение: What's this mean?

Поиск
Список
Период
Сортировка

What's this mean?

От
Sterling
Дата:
H-

bash$ /etc/rc.d/init.d/postgresql start
Checking postgresql installation:                                  [
OK  ]
Starting postgresql service: standard in must be a tty    [FAILED]

I haven't seen this in any documentation.
Any one have any idea?

Any info is appreciated.
Thanks.
-Sterling




Re: What's this mean?

От
Sterling
Дата:
H-

I got an email from helpful person (John Burski) and this is what he said.

**********************************************
I saw this one a couple of days ago at home.

The /etc/rc.d/init.d/postgresql script expects to be run at boot time by
"root".  I simply "su-ed" to root an ran the script again.  It started
OK.

Regards,
******************************************

Hope this helps out.
-Sterling

PS(I haven't tried this solution yet myself as I'm in a different place than
when I posted the first email.)



"WOLF, PATRICK" wrote:

> I get the same message when running "/etc/rc.d/init.d/postgresql start".  I
> have just installed 7.0.3 rpms from ftp.postgresql.org
> <ftp://ftp.postgresql.org>  .  I'm running RedHat Linux 6.1 .  I've never
> seen this message either.  Something to do with the new version of
> PostgreSQL?
>
> Thanks.
>
> Pat
>
>                 -----Original Message-----
>                 From:   Sterling [mailto:smullett@omeninc.com]
>                 Sent:   Tuesday, December 12, 2000 11:47 AM
>                 To:     pgsql-novice@postgresql.org
>                 Subject:        [NOVICE] What's this mean?
>
>                 H-
>
>                 bash$ /etc/rc.d/init.d/postgresql start
>                 Checking postgresql installation:
> [
>                 OK  ]
>                 Starting postgresql service: standard in must be a tty
> [FAILED]
>
>                 I haven't seen this in any documentation.
>                 Any one have any idea?
>
>                 Any info is appreciated.
>                 Thanks.
>                 -Sterling
>
>


RE: What's this mean?

От
patrick.wolf@Aerojet.com (WOLF, PATRICK)
Дата:
I get the same message when running "/etc/rc.d/init.d/postgresql start".  I
have just installed 7.0.3 rpms from ftp.postgresql.org
<ftp://ftp.postgresql.org>  .  I'm running RedHat Linux 6.1 .  I've never
seen this message either.  Something to do with the new version of
PostgreSQL?

Thanks.

Pat



        -----Original Message-----
        From:    Sterling [mailto:smullett@omeninc.com]
        Sent:    Tuesday, December 12, 2000 11:47 AM
        To:    pgsql-novice@postgresql.org
        Subject:    [NOVICE] What's this mean?

        H-

        bash$ /etc/rc.d/init.d/postgresql start
        Checking postgresql installation:
[
        OK  ]
        Starting postgresql service: standard in must be a tty
[FAILED]

        I haven't seen this in any documentation.
        Any one have any idea?

        Any info is appreciated.
        Thanks.
        -Sterling



Re: What's this mean?

От
"Robert B. Easter"
Дата:
On Tuesday 12 December 2000 13:46, Sterling wrote:
> H-
>
> bash$ /etc/rc.d/init.d/postgresql start
> Checking postgresql installation:                                  [
> OK  ]
> Starting postgresql service: standard in must be a tty    [FAILED]
>
> I haven't seen this in any documentation.
> Any one have any idea?
>
> Any info is appreciated.
> Thanks.
> -Sterling

It could be hard to tell without knowing the internals of what the script
"postgresql" does.  If you have pg_ctl, consider using it for starting and
stopping the database.

--
-------- Robert B. Easter  reaster@comptechnews.com ---------
- CompTechNews Message Board   http://www.comptechnews.com/ -
- CompTechServ Tech Services   http://www.comptechserv.com/ -
---------- http://www.comptechnews.com/~reaster/ ------------

Re: What's this mean?

От
Tom Lane
Дата:
"Robert B. Easter" <reaster@comptechnews.com> writes:
> On Tuesday 12 December 2000 13:46, Sterling wrote:
>> Starting postgresql service: standard in must be a tty    [FAILED]
>>
>> I haven't seen this in any documentation.

> It could be hard to tell without knowing the internals of what the script
> "postgresql" does.

I'm fairly certain that there's no such error message in the Postgres
distribution itself.  It's probably coming out of that startup script
you're using ... why it thinks stdin should be a terminal I dunno,
because Postgres certainly doesn't care.

            regards, tom lane

Re: What's this mean?

От
John Burski
Дата:
I replied to Sterling's question, but sent it to him directly, instead of
posting it to the list like I intended.  I'll get the hang of this stuff
yet...

I ran across the same message a couple of days ago when I upgraded to 7.0.3 at
home.  The error that's being displayed is generated by the
/etc/rc.d/init.d/posgresql script.  These scripts are meant to be run at boot
time.  As such, they are usually started by "root".  I simply "su-ed" to root
and executed the script again.  Everything started OK.

Hope this helps.

Tom Lane wrote:

> "Robert B. Easter" <reaster@comptechnews.com> writes:
> > On Tuesday 12 December 2000 13:46, Sterling wrote:
> >> Starting postgresql service: standard in must be a tty    [FAILED]
> >>
> >> I haven't seen this in any documentation.
>
> > It could be hard to tell without knowing the internals of what the script
> > "postgresql" does.
>
> I'm fairly certain that there's no such error message in the Postgres
> distribution itself.  It's probably coming out of that startup script
> you're using ... why it thinks stdin should be a terminal I dunno,
> because Postgres certainly doesn't care.
>
>                         regards, tom lane

--
John Burski
Chief IT Cook and Bottlewasher
911 Emergency Products, St. Cloud, MN
(320) 656 0076