BAD SU operator at Postgresql startup (during boot)

Поиск
Список
Период
Сортировка
От Hal Shearer
Тема BAD SU operator at Postgresql startup (during boot)
Дата
Msg-id 200505171053.AA631832696@lynchburg.net
обсуждение исходный текст
Ответы Re: BAD SU operator at Postgresql startup (during boot)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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
theconsole 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 по дате отправления:

Предыдущее
От: D.C.
Дата:
Сообщение: Re: concepts?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BAD SU operator at Postgresql startup (during boot)