Standard in must be a tty - Mailing list pgsql-novice

From White, Benjamin
Subject Standard in must be a tty
Date
Msg-id BF6D55009E4EF847B08A66465FDBFDBE13A100@edcentmail01.ad.umassmed.edu
Whole thread Raw
Responses Re: Standard in must be a tty
Re: Standard in must be a tty
List pgsql-novice

I’m trying to initialize and start postgresql  under Red Hat 8 using the command:

 

/etc/rc.d/init.d/postgresql start

 

The script fails, and from looking at the log, it would appear that the error “Standard in must be a tty” occurs when the script does a

“su” to the postgres user to run the initdb script.

 

The version of Postgresql is 7.1.3-2, and all components (lib, postgresql, server, and perl) were installed using RPM.

 

I appreciate the help – tried a bunch of things over the past 2 days with no avail…

 

Thanks

 

Benjamin J. White

Associate Chief Information Officer

Product Support & Technology

University of Massachusetts Medical School

 

pgsql-novice by date:

Previous
From: "Patrick Hatcher"
Date:
Subject: Re: Finding connected users
Next
From: Tom Lane
Date:
Subject: Re: Standard in must be a tty