mbrookov@diana.cair.du.edu (Matthew B. Brookover) (04/19/91)
syslog is reporting these errors from rlogind: Apr 17 17:35:05 localhost: 15380 rlogind: notfound /dev/ttyp3 32 Apr 17 20:54:52 localhost: 22811 rlogind: notfound /dev/ttyp7 45 Apr 17 23:23:14 localhost: 27896 rlogind: notfound /dev/ttyp9 45 Apr 18 11:20:32 localhost: 8203 rlogind: notfound /dev/ttypf 20 Apr 18 11:26:17 localhost: 8238 rlogind: notfound /dev/ttyq2 20 Apr 18 16:11:02 localhost: 14636 rlogind: notfound /dev/ttyp5 30 Apr 18 17:44:28 localhost: 16292 rlogind: notfound /dev/ttyp3 30 Apr 18 19:32:19 localhost: 18629 rlogind: notfound /dev/ttyq0 30 Apr 18 20:02:51 localhost: 19843 rlogind: notfound /dev/ttyp2 32 Apr 19 07:24:13 localhost: 26584 rlogind: notfound /dev/ttyp1 7 Apr 19 10:06:57 localhost: 29941 rlogind: notfound /dev/ttyp9 15 We have been getting these errors from both RISC ultrix 4.1 on a 5400 and VAX Ultrix 4.1 on a microvax //. The errors started when we upgraded both machines from 3.1 to 4.1, I never did see them under 3.1. Any ideas? thanks. -- Matthew B. Brookover Computing and Information Resources University of Denver mbrookov@diana.cair.du.edu
arons@ash.eecs.ucdavis.edu (Tom Arons) (04/21/91)
In article <1991Apr19.161730.18491@mercury.cair.du.edu> mbrookov@diana.cair.du.edu (Matthew B. Brookover) writes: > syslog is reporting these errors from rlogind: > > > Apr 17 17:35:05 localhost: 15380 rlogind: notfound /dev/ttyp3 32 > Apr 17 20:54:52 localhost: 22811 rlogind: notfound /dev/ttyp7 45 > > We have been getting these errors from both RISC ultrix 4.1 on a 5400 and > VAX Ultrix 4.1 on a microvax //. The errors started when we upgraded > both machines from 3.1 to 4.1, I never did see them under 3.1. > > Any ideas? The message is caused by the lack of a utmp entry when rlogind is cleaning things up prior to exiting. I tracked down and corrected a similar problem under 4.0. Here is the behvior we saw, the fix that was applied under 4.0, and a bit of confusion. Symptoms: 1. People rlogging into a VAX running 4.0 got the message getaddress_yp: Too Many Open Files Since this VAX is the yp master server we turned off all use of yp in svc.conf and the problem went away. 2. groups are not intialized properly when people rlogin. telnet works fine. 3. /etc/motd and last login info are not printed when people rlogin, even if they do *not* have an /etc/hushlogin file. Again, telnet works fine. 4. core dumps of /usr/bin/login appear in people's home directories. 2,3 and 4 happen only when rlogging in from certain hosts and only when the user has a yp type entry in the password file. They occur on both RISC and VAX hosts running 4.0. Solution: Since we only had 4.1 sources we built the 4.1 version of login, linked against the 4.0 libraries and hoped that the problems didn't dissappear. They didn't. To make a long story short, the problem was apparently in the 4.0 version of res_init, which was doing an open() of /etc/reslov.conf for each entry in /etc/hosts.equiv without corresponding closes. The seemingly unrelated symptoms were caused by subsequent open failures on other files later on in login. res_init was called by doremotelogin(), which is only called on rlogins, not telnet logins. The problem in res_init was not apparent in the 4.1 source. We built versions of login for both RISC and VAX using 4.1 source for login and res_init, linked against the 4.0 libc for everything else and the problems all went away. Final Confusion: When we upgraded to 4.1 the problems came back! Out of expediency I just backed off to our 4.1/4.0 login hybrid and that's where things are today. Unfortunately I haven't figured out exactly how to make the problem repeatable under 4.1 and have alot of other things to do anyway, so I haven't quite gotten to the bottom of things. I am about to leave for vacation, but I have left copies of our logins under pub/DEC/login.4.x.{RISC,VAX} on filbert.eecs.ucdavis.edu. Hope this helps, Tom Tom Arons Internet: arons@eecs.ucdavis.edu EE/CS Department Bitnet: tgarons@ucdavis University of California UUCP: {lll-crg, ucbvax}!ucdavis!iris!arons Davis, CA 95616 Phone: (916) 752-1750