From: | Terry Mackintosh <terry(at)terrym(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Cc: | Vance Greenway <vance(at)ricochet(dot)net> |
Subject: | Re: [ADMIN] my postgres.init file |
Date: | 1999-01-10 13:28:40 |
Message-ID: | Pine.LNX.3.95.990110081622.19394C-100000@terry1.acun.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)terrym(dot)com>
> To: Vance Greenway <vance(at)ricochet(dot)net>
> Cc: pgsql-admin(at)postgreSQL(dot)org <pgsql-admin(at)postgreSQL(dot)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(at)terrym(dot)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(at)terrym(dot)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!
From | Date | Subject | |
---|---|---|---|
Next Message | Gregg Berkholtz | 1999-01-10 16:38:48 | Re: [ADMIN] Data dir |
Previous Message | Benjamin Gonay | 1999-01-10 09:42:29 | Re: [ADMIN] my postgres.init file |