Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site hadron.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rlgvax!hadron!jsdy From: jsdy@hadron.UUCP (Joseph S. D. Yao) Newsgroups: net.unix Subject: Re: sendmail Message-ID: <82@hadron.UUCP> Date: Sat, 16-Nov-85 18:46:05 EST Article-I.D.: hadron.82 Posted: Sat Nov 16 18:46:05 1985 Date-Received: Mon, 18-Nov-85 08:01:20 EST References: <2743@brl-tgr.ARPA> Reply-To: jsdy@hadron.UUCP (Joseph S. D. Yao) Organization: Hadron, Inc., Fairfax, VA Lines: 25 In article <2743@brl-tgr.ARPA> bader@b.psy.cmu.edu (miles bader) writes: >The sendmail I have has an annoying habit of give the message > Cannot open /dev/console: Bad file number The Ultrix 1.1 (and prob'ly 1.0) distribution does this. The first reason is that the syslog.c subroutine is compiled -DEBUG, for no apparent reason; this inhibits opening /dev/console if one cannot find localhost in /etc/hosts. However, you don't need source code to fix this. Go put back into /etc/hosts the line that was originally there -- I think: 127.1 localhost myname replacing "myname" with your local name. Then make sure your real hosts line is above this line. (Best performance from sendmail comes from making these ll 2 and 1 respectively in /etc/hosts.) Also, in /etc/networks, put: 127 loopback loop PLEASE check the Ultrix Installation Manual, as I am not sure these are absolutely correct. To make sure these changes are propagated the next time your netadmin user updates the /etc/hosts, put the 2 lines in /etc/hosts.local and the 1 line in /etc/networks.local. Again, check me with the UIM. -- Joe Yao hadron!jsdy@seismo.{CSS.GOV,ARPA,UUCP}