... - Mailing list pgsql-novice
| From | |
|---|---|
| Subject | ... |
| Date | |
| Msg-id | 6d499fdd4a8a9a4ed29146f02f78246b Whole thread Raw |
| List | pgsql-novice |
su: Sorry
Now. If I issue the command myself (after the system starts up) then I do
not get the messages. Si I am assuming I am doing something wrong.
I hope someone can help with this one.
Thanks!
Buddy
------=_NextPart_000_005A_01C55A10.20983630
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D118305715-16052005><FONT face=3DArial=20
size=3D2>Hello.</FONT></SPAN></DIV>
<DIV><SPAN class=3D118305715-16052005><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D118305715-16052005><FONT face=3DArial size=3D2>I am =
new to=20
Postgresql and I am having a problem with starting it in FreeBSD at boot =
time.</FONT></SPAN></DIV>
<DIV><SPAN class=3D118305715-16052005><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D118305715-16052005><FONT face=3DArial =
size=3D2>Presently, I have=20
this command in my /etc/rc.conf file:</FONT></SPAN></DIV>
<DIV><SPAN class=3D118305715-16052005><FONT face=3DArial size=3D2>su =
pgsql -c=20
"/usr/local/bin/postmaster -D /usr/local/pgsql/data"</FONT></SPAN></DIV>
<DIV><SPAN class=3D118305715-16052005><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D118305715-16052005><FONT face=3DArial =
size=3D2>Postgresql does=20
start at bootup and the ports are listening (5432). However, every =
5-10=20
minutes a message pops up on the console screen:</FONT></SPAN></DIV>
<DIV><SPAN class=3D118305715-16052005>
<P><FONT size=3D2>su: in prompt_echo_off(): tcgetattr(): Inappropriate =
ioctl for=20
device<BR>su: BAD SU operator to pgsql on tty</FONT></P>
<P><SPAN class=3D118305715-16052005><FONT face=3DArial size=3D2>and then =
a message=20
appears in mail:</FONT></SPAN></P>
<P><SPAN class=3D118305715-16052005><FONT face=3DArial size=3D2>From <A=20
href=3D"mailto:operator@zeus.cablerocket.net">operator@zeus.cablerocket.n=
et</A>=20
Sun May 15 15:00:00 2005<BR>Return-Path: <<A=20
href=3D"mailto:operator@zeus.cablerocket.net">operator@zeus.cablerocket.n=
et</A>><BR>Received:=20
from zeus.cablerocket.net (localhost=20
[127.0.0.1])<BR> by=20
zeus.cablerocket.net (8.13.1/8.13.1) with ESMTP id=20
j4FJ00pQ000676<BR> for <<A=20
href=3D"mailto:operator@zeus.cablerocket.net">operator@zeus.cablerocket.n=
et</A>>;=20
Sun, 15 May 2005 15:00:00 -0400=20
(EDT)<BR> (envelope-from <A=20
href=3D"mailto:operator@zeus.cablerocket.net">operator@zeus.cablerocket.n=
et</A>)<BR>Received:=20
(from <A=20
href=3D"mailto:operator@localhost">operator@localhost</A>)<BR>  =
; =20
by zeus.cablerocket.net (8.13.1/8.13.1/Submit) id=20
j4FJ00is000660;<BR> Sun, 15 =
May 2005=20
15:00:00 -0400 (EDT)<BR> =20
(envelope-from operator)<BR>Date: Sun, 15 May 2005 15:00:00 -0400=20
(EDT)<BR>Message-Id: <<A=20
href=3D"mailto:200505151900.j4FJ00is000660@zeus.cablerocket.net">20050515=
1900.j4FJ00is000660@zeus.cablerocket.net</A>><BR>From:=20
<A =
href=3D"mailto:operator@zeus.cablerocket.net">operator@zeus.cablerocket.n=
et</A>=20
(Cron Daemon)<BR>To: <A=20
href=3D"mailto:operator@zeus.cablerocket.net">operator@zeus.cablerocket.n=
et</A><BR>Subject:=20
Cron <<A href=3D"mailto:operator@zeus">operator@zeus</A>>=20
/usr/libexec/save-entropy<BR>X-Cron-Env: =
<SHELL=3D/bin/sh><BR>X-Cron-Env:=20
<PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin><BR>X-Cron-Env:=20
<HOME=3D/><BR>X-Cron-Env: =
<LOGNAME=3Doperator><BR>X-Cron-Env:=20
<USER=3Doperator><BR>Status: RO</FONT></SPAN></P>
<P><SPAN class=3D118305715-16052005><FONT face=3DArial size=3D2>su:=20
Sorry</FONT></SPAN></P>
<P><SPAN class=3D118305715-16052005><FONT face=3DArial=20
size=3D2></FONT></SPAN> </P>
<P><SPAN class=3D118305715-16052005><FONT face=3DArial =
size=3D2>Now. If I issue=20
the command myself (after the system starts up) then I do not get =
the=20
messages. Si I am assuming I am doing something =
wrong.</FONT></SPAN></P>
<P><SPAN class=3D118305715-16052005><FONT face=3DArial size=3D2>I hope =
someone can=20
help with this one.</FONT></SPAN></P>
<P><SPAN class=3D118305715-16052005><FONT face=3DArial=20
size=3D2>Thanks!</FONT></SPAN></P>
<P><SPAN class=3D118305715-16052005><FONT face=3DArial=20
size=3D2>Buddy</FONT></SPAN></P></SPAN></DIV></BODY></HTML>
------=_NextPart_000_005A_01C55A10.20983630--
pgsql-novice by date: