BAD SU operator at startup

From: "Buddy Shearer" <bshearer(at)fortegra(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: BAD SU operator at startup
Date: 2005-05-16 16:09:34
Message-ID: 200505161609.j4GG9dmO020626@mailrtr04.ntelos.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello.

I am new to Postgresql and I am having a problem with starting it in FreeBSD
at boot time.

Presently, I have this command in my /etc/rc.conf file:
su pgsql -c "/usr/local/bin/postmaster -D /usr/local/pgsql/data"

Postgresql does start at bootup and the ports are listening (5432).
However, every 5-10 minutes a message pops up on the console screen:
su: in prompt_echo_off(): tcgetattr(): Inappropriate ioctl for device
su: BAD SU operator to pgsql on tty

and then a message appears in mail:

Browse pgsql-novice by date

  From Date Subject
Next Message Celia McInnis 2005-05-16 16:49:13 describe table (from perl)
Previous Message Magnus Hagander 2005-05-16 16:07:55 Re: problems with postgresql.msi (installing 8.0.2)