Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: rogerj@cs.cornell.edu (Roger Jagoda)
Subject: ruptime,rsh bugs under 4.2, keyboard error b6
Date: 30 Sep 91 17:38:33 GMT	[thread overview]
Message-ID: <1991Sep30.173833.15404@cs.cornell.edu> (raw)


We have just upgraded to Ultrix 4.2 from 4.1
and have noticed some problems. It seems rsh and ruptime are both
broken or changed somehow. Phooey! The systems upgraded are all DS3100.
Here's the scoop; ruptime reports everything "down" and rsh <any machine>
<any X command> -d<local machine>:0.0 & issues either permission
denied or Cannot open display on remote machine." The record:

(protono and iscatr are both DS3100s runing 4.2, all other machines are
either DS3100s or VAX3100s running 4.1 or 3.1 respectively).

# 
# ruptime problem
#

34 % protono->root:/tmp ## ruptime
calvin     down ??:??
corona     down ??:??
exo        down ??:??
iono       down ??:??
iscatr     down ??:??
magneto    down ??:??
meso       down ??:??
protono    down ??:??
strato     down ??:??
tesla      down ??:??
thermo     down ??:??
tropo      down ??:??
vega       down ??:??
zaphod     down ??:??

##
## A past posting had thought that having all resolver hosts
## in the host table was necessary. We tried that too:
##

cat /etc/resolv.conf
;
; BIND data file.
;
; 	tesla.ee.cornell.edu	128.84.224.11
;	bigred.cit.cornell.edu	128.253.180.2
;	cloyd.cs.cornell.edu	128.84.254.190
;	cu-arpa.cs.cornell.edu	128.84.254.3
;
domain		ee.cornell.edu
nameserver	128.84.224.11
nameserver	128.253.180.2
nameserver	128.84.254.190
nameserver	128.84.254.3
37 % protono->root:/tmp ## grep 128.84.224.11 /etc/hosts
128.84.224.11    tesla.ee.cornell.edu ee.cornell.edu tesla
128.84.224.11   tesla tesla.ee.cornell.edu ee.cornell.edu
38 % protono->root:/tmp ## grep 128.84.254.190 !$
grep 128.84.254.190 /etc/hosts
128.84.254.190  cloyd.cs.cornell.edu cloyd
128.84.254.190  cloyd.cs.cornell.edu cs.cornell.edu uucp-mail-gw.cornell.edu
39 % protono->root:/tmp ## ^190^3 
grep 128.84.254.3 /etc/hosts
128.84.254.3    cu-arpa.cs.cornell.edu cornell.arpa cu-arpa.arpa
128.84.254.3    cu-arpa.cs.cornell.edu cuarpa.cs.cornell.edu
128.84.254.3    cu-arpa.cs.cornell.edu
40 % protono->root:/tmp ## grep 128.84.253.180.2 !$
grep 128.253.180.2 /etc/hosts
128.253.180.2   bigred.cit.cornell.edu bigred
128.253.180.2   bigred.cit.cornell.edu bigred

-----------The post --------------------

From: mellon@nigiri.pa.dec.com (Ted Lemon)
Newsgroups: comp.unix.ultrix
Subject: Re: rshd in Ultrix 4.2
Date: 25 Jun 91 20:22:01 GMT
References: <1991Jun25.171431.20459@neon.Stanford.EDU>
Sender: news@pa.dec.com (News)
Organization: Digital Equipment Corporation

I've had a similar problem.   I don't know if this is the same problem
you're experiencing, but you might want to try it.   The problem is
that the ruserok() function has been hacked in 4.2 to allow kerberos
authentication as well as the old .rhosts authentication.   In doing
this, a bug was introduced that requires that all the hostnames in
/etc/resolv.conf also appear in /etc/hosts - otherwise, the
authentication fails, even though BIND service is generally
functional.

I thought that this was going to be mentioned in the release notes -
did they neglect to include this information?

			       _MelloN_

----------------End of Post-----------------------------------


##
## Do we have rwhod running? Yup.
##
41 % protono->root:/tmp ## grep rwho /etc/rc
grep rwhod /etc/rc
[ -f /etc/rwhod ] && {
		/etc/rwhod -b
		/etc/rwhod
	echo -n ' rwhod'		>/dev/console

34 % protono->root:/tmp ## ps -auxww | grep rwhod
root       173  0.0  2.1  472  400 ?  S      1:50 /etc/rwhod
root      3298  0.0  0.2   40   32 p4 S      0:00 grep rwhod

The /etc/svc.conf file:

aliases=local,bind
auth=local
group=local
hosts=local,bind
netgroup=local
networks=local,bind
passwd=local
protocols=local
rpc=local
services=local

PASSLENMIN=6
PASSLENMAX=16
SOFTEXP=604800		# 7 days in seconds 
SECLEVEL=BSD        	# (BSD | UPGRADE | ENHANCED)

#
# rsh problem
#

[59]:protono->roger:/usr/users/roger % rsh iscatr 
#
# this works, gives an opne DECWindow onto remote host,
# just like rlogin would. Fine.
#
# For below, ^C is where control C had to be typed to
# clear the line after the command just sat there too
# long.
#
[59]:protono->roger:/usr/users/roger % rsh iscatr ls
^C
[61]:protono->roger:/usr/users/roger % xhost iscatr
iscatr being added to access control list
[62]:protono->roger:/usr/users/roger % rsh iscatr
/usr/bin/X11/xterm -d protono:0.0
^C
[63]:protono->roger:/usr/users/roger % !! &
rsh iscatr /usr/bin/X11/xterm -d protono:0.0 &
[1] 425
[64]:protono->roger:/usr/users/roger % jobs

[1]  + Stopped (tty input)  rsh iscatr /usr/bin/X11/xterm -d
protono:0.0
[1]  + Stopped (tty input)  rsh iscatr /usr/bin/X11/xterm -d
protono:0.0
[65]:protono->roger:/usr/users/roger % fg
...error Can't open display

#
# Keyboard error
#


44 % protono->root:/tmp ## uerf -R | more
********************************* ENTRY    44. *********************************

----- EVENT INFORMATION -----

EVENT CLASS                             OPERATIONAL EVENT 
OS EVENT TYPE                  250.     ASCII MSG 
OPERATING SYSTEM                        ULTRIX 32 
OCCURRED/LOGGED ON                      Tue Sep 24 21:06:31 1991 EDT
OCCURRED ON SYSTEM                      protono.ee.c 
SYSTEM ID                 x82012001     HW REV: x1
                                        FW REV: x20
                                        CPU TYPE: R2000A/R3000 
PROCESSOR TYPE                          KN01 
MESSAGE                                 ws: Keyboard error, code = b6 

********************************* ENTRY    45. ********************************

                                        cpu0 ( version 2.0, implementation 2 ) 
                                        fpu0 ( version 2.0, implementation 3 )
                                        dc0 at ibus0 
                                        fb0 at ibus0 
                                        sii0 at ibus0 
                                        rz0 at sii0 slave 0 (RZ23) 
                                        rz2 at sii0 slave 2 (RZxx) [ CDC     
                                         _94191-15         0815 ] 
                                        rz3 at sii0 slave 3 (RZxx) [ CDC     
                                         _94191-15         0815 ] 
                                        tz4 at sii0 slave 4 (TZxx) [ CIPHER  
                                         _M995                  ] 
                                        tz5 at sii0 slave 5 (TZK08) 
                                        ln0: DEC LANCE Ethernet Interface, 
                                         _hardware address: 08:00:2b:0d:c2:81  

#
# So what is code b6????
# We never had this code under 4.1?
#

Thanks in advance!

--Roger

---------------------------------------------------------------------------
Roger Jagoda					-- A wise man adapts
Laboratory for Plasma Studies		himself to a changing world.
Cornell University				-- A foolish man tries
(607) 255-6115				to force the world to adapt to 
roger@ionvax.tn.cornell.edu			    him.	
---------------------------------------------------------------------------


                 reply	other threads:[~1991-09-30 17:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox