Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site usl.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!akpcb!usl!pml From: pml@usl.UUCP (Patrick Landry) Newsgroups: net.bugs.4bsd Subject: Responses to Sndmail: Cannot open /dev/console Message-ID: <123@usl.UUCP> Date: Wed, 31-Oct-84 15:39:52 EST Article-I.D.: usl.123 Posted: Wed Oct 31 15:39:52 1984 Date-Received: Mon, 5-Nov-84 10:16:46 EST Organization: USL, Lafayette, LA Lines: 38 A couple of weeks ago I posted the following message: >... Every time sendmail is invoked >on my system the message "Cannot open /dev/console: Bad file number" >is printed on the users terminal. I would like again to thank everyone who responded. Following is a list of the responses/suggestions I received: 01 Recompile .../sendmail/lib/syslog.c with the -DEBUG option 02 Recompile .../sendmail/lib/syslog.c without the -DEBUG option 03 Include the INTERNET code in the kernel (options INET in the config file) 04 Make sure there is a 'localhost' entry in /etc/hosts with address 127.1 05 Change the LOG_HOST definition in .../sendmail/include/syslog.h to your sitename 06 Check for a mangled /dev/console file 07 Check the following files for correctness /etc/[hosts,protocols,services] 08 Check for modifications to the original description of the loopback facility in /etc/network & /etc/hosts My problem was #8. I had REPLACED 'localhost' by my hostname rather than leaving localhost as an alias. The other most frequent response was #3. I found out that #5 would have also done the trick for me since LOG_HOST is defined as 'localhost' in the distribution. Hopefully this has helped others. I did get quite of 'me too' responses. ---pat--- ut-sally!usl!pml UUCP LandryPM%usl@csnet-relay.ARPA Phonenet