Re: [ADMIN] my postgres.init file - Mailing list pgsql-admin

From Terry Mackintosh
Subject Re: [ADMIN] my postgres.init file
Date
Msg-id Pine.LNX.3.95.990110081622.19394C-100000@terry1.acun.com
Whole thread Raw
In response to Re: [ADMIN] my postgres.init file  ("Vance Greenway" <vance@ricochet.net>)
List pgsql-admin
Hi

On Sat, 9 Jan 1999, Vance Greenway wrote:

> hmmm, that raised another error:
>
> Starting postgres:  stdin:  is not a tty

How are you trying to run it???
The file should reside in /etc/rc.d/init/ and be called like this:
/etc/rc.d/init/postgres.init start
or
/etc/rc.d/init/postgres.init stop

> any ideas on that one?

Not really.  Would kinda need to see what your doing/not doing.

> what is a tty anyway?

tty is a term left over from the early days of computers, it stands for
tellitype (I probable spelled it wrong).  Today it has come to mean the
controling termial, that is, your keyboard and monitor.

So, when you login your on one tty, do Alt-F2, now your on the 2nd tty,
and probably have a new login prompt. (Ctrl-Alt-F2 if your in X windows.)
Your box probably has tty's setup on F1 through F6, X goes on F7 usually.

> sure appreciate your help.

No problem.

> -----Original Message-----
> From: Terry Mackintosh <terry@terrym.com>
> To: Vance Greenway <vance@ricochet.net>
> Cc: pgsql-admin@postgreSQL.org <pgsql-admin@postgreSQL.org>
> Date: Saturday, January 09, 1999 5:56 PM
> Subject: Re: [ADMIN] my postgres.init file
>
>
> >Hi Vance
> >
> >On Sat, 9 Jan 1999, Vance Greenway wrote:
> >
> >> when i execute my posgres.init file, it asks for a password per the su
> >> command that is in it, but does not pause for a password to be entered
> >> and consequently cannot launch the postmaster.  is there an obvious fix,
> >> or even an obscure one to help this newbie out?
> >
> >That file is ment to be run at boot time, that is, to be run as root.
> >Are you trying to run it as other then root or postgres?
> >
> >Have a great night, home that helps
> >Terry Mackintosh <terry@terrym.com>          http://www.terrym.com
> >sysadmin/owner  Please! No MIME encoded or HTML mail, unless needed.
> >
> >Proudly powered by R H Linux 4.2, Apache 1.3.x, PHP 3.x, PostgreSQL 6.x
> >-----------------------------------------------------------------------
> >Success Is A Choice ... book by Rick Pitino, get it, read it!
> >
> >
> >
>

Terry Mackintosh <terry@terrym.com>          http://www.terrym.com
sysadmin/owner  Please! No MIME encoded or HTML mail, unless needed.

Proudly powered by R H Linux 4.2, Apache 1.3.x, PHP 3.x, PostgreSQL 6.x
-----------------------------------------------------------------------
Success Is A Choice ... book by Rick Pitino, get it, read it!


pgsql-admin by date:

Previous
From: Benjamin Gonay
Date:
Subject: Re: [ADMIN] my postgres.init file
Next
From: Francisco Javier
Date:
Subject: Data dir