SUMMARY: Can rlogin but can't telnet

From: vispi@lgc.com
Date: Sat Jan 25 1992 - 01:23:06 CST


This was my original question. The summary follows. Essentially most
people said to check portmap in some way or another. Well I did a
sum on /usr/etc/portmap. (actually /etc/portmap -> /usr/etc/portmap)
on the sick machine and ona healthy one. They were different.
So I just ftp the portmap file from the healthy on and it all worked.
Should have done that in the very beginning. However there were some
very interesting comments and ideas that were mail me.

About not being able to mount file systems that were exported, I didn't
have much luck. A reboot fixed it (*of course*) :-)

Many thanks to

Tom Leach <leach@oce.orst.edu>
ralph@swmerc.rain.com (Ralph Merwin)
bzs@world.std.com (Barry Shein)
zjat02@trc.amoco.com (Jon A. Tankersley)
mark@isis.berkeley.edu (mark kraitchman)
gpr@proteon.com (Gary Richardson)
stern@sunne.east.sun.com (Hal Stern - NE Area Systems Engineer)u

Sincerely

        -Vispi Dumasia
        vdumasia@lgc.com
-------

==>
==>
==>
==>Hi
==>
==>I have a machines here that I can rlogin to, but can't telnet to.
==>When I telnet it asks for login and password. It then logs me out.
==>
==>SS1+, SunOS 4.1.1, 32M, approx 100M swap.
==>
==>This may or may not be related. I cannot mount anything from that machine.
==>/etc/exports exports the filesystems. rcp.mountd, nfsd, and biod are running
==>.
==>When I try to mount ro,bg I get the error message.
==>
==> NSF getattr failed. RPC timed out, backgrounding mount.
==>
==>Any clues?? I'll summarize.
==>Thanks
==>
==>-Vispi Dumasia
==>vdumasia@lgc.com
==>(713) 579 4871

-------

From: Tom Leach <leach@oce.orst.edu>
Message-Id: <9201171946.AA22051@oce.orst.edu>
To: vispi
Subject: Re: Can rlogin but can't telnet

Is your portmapper running? If not, then I believe that you'll need to
reboot to get it started. Many of the rpc problems boil down to an
un-responsive portmapper...

Tom
leach@oce.orst.edu

From: ralph@swmerc.rain.com (Ralph Merwin)
Subject: Re: Can rlogin but can't telnet
To: vispi
Date: Fri, 17 Jan 92 19:33:22 PST
In-Reply-To: <9201171659.AA16783@minnie.lgc.com>; from "vispi@lgc.com" at Jan 17, 92 10:58 am
X-Mailer: ELM [version 2.3 PL0]

Check /etc/shells on the machine that you're trying to telnet into.
I had a similar problem when trying to ftp into a machine, and because
my default shell (in /etc/passwd) was not listed in /etc/shells, ftp
would bounce me out after entering my password.

Ralph

From: bzs@world.std.com (Barry Shein)
Message-Id: <9201180452.AA10361@world.std.com>
To: vispi
In-Reply-To: vispi@lgc.com's message of Fri, 17 Jan 92 10:58:58 -0600 <9201171659.AA16783@minnie.lgc.com>
Subject: Can rlogin but can't telnet

The portmapper is probably gone. Look in the /etc/rc.local file for
how it starts up portmap and do it as root, by hand. Then you'll have
to kill and re-start all the rc* rpc thingies, rpc.lockd and so forth,
as they'll think they're attached to the old one (or just reboot.)

There's a patched portmapper on ftp.uu.net that might be better (check
to make sure it's for your version etc.) Another thing to watch out
for, as we discovered here, is that if you login to the console using
sh (not csh) and it INTR (^C) it seems like it can kill the
portmapper! Seems to get into the same tty group or something. Wierd.
We wrapped our startup in the rc.local file with:

        (trap '' 1 2 3; portmap); (echo -n ' portmap') >/dev/console

Thanks to Geoff Collyer here.

And the symptoms are as you describe, we know them well.

        -Barry Shein

Software Tool & Die | bzs@world.std.com | uunet!world!bzs
Purveyors to the Trade | Voice: 617-739-0202 | Login: 617-739-WRLD

From: zjat02@trc.amoco.com (Jon A. Tankersley)
Message-Id: <9201190524.AA26478@trc.amoco.com>
To: vispi
Subject: Re: Can rlogin but can't telnet

I'd make a minor guess that the /dev entries may be screwed up. The log in
and immediately out is often a symptom I've seen with the pseudo-tty's.

From: mark@isis.berkeley.edu (mark kraitchman)
Message-Id: <9201190823.AA28366@isis.Berkeley.EDU>
To: vispi
Subject: Re: Can rlogin but can't telnet

Concerning the remote mounting. Did you run 'exportfs -a' on the server
after changing /etc/exports?

From: gpr@proteon.com (Gary Richardson)
Message-Id: <9201211334.AA22241@sonny.proteon.com>
To: vispi
Subject: Re: Can rlogin but can't telnet

Hi,

Is portmap running? If not, it can hose any rpc programs that are running
or will get run.

It's just a guess...

-Gary

From: stern@sunne.east.sun.com (Hal Stern - NE Area Systems Engineer)
Message-Id: <9201211652.AA26686@sunne.East.Sun.COM>
To: vispi
Subject: Re: Can rlogin but can't telnet

sounds like you're having NIS problems. could be
that when you go to verify the password, you're
not able to reach an NIS server in time.

the NFS errors are from soft mounts; you are
probably having trouble reaching the NFS server.
if this is also your NIS server, it neatly explains
both problems.

is the machine's network connection OK?

--hal



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:34 CDT