BAD SU operator at Postgresql startup (during boot) - Mailing list pgsql-novice

From Buddy Shearer
Subject BAD SU operator at Postgresql startup (during boot)
Date
Msg-id 200505171448.j4HEmcB16435@mailrtr03.ntelos.net
Whole thread Raw
List pgsql-novice
Hello.

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

(Also, my user account is pgsql not postgresql)

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:


pgsql-novice by date:

Previous
From: Mikko Heiskanen
Date:
Subject: Unable to connect from other machine
Next
From: "Magnus Hagander"
Date:
Subject: Re: problems with postgresql.msi (installing 8.0.2)