SUMMARY: Can rlogin but can't telnet

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 <> (Ralph Merwin) (Barry Shein) (Jon A. Tankersley) (mark kraitchman) (Gary Richardson) (Hal Stern - NE Area Systems Engineer)u


        -Vispi Dumasia

==>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.
==>-Vispi Dumasia
==>(713) 579 4871


From: Tom Leach <>
Message-Id: <>
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...


From: (Ralph Merwin)
Subject: Re: Can rlogin but can't telnet
To: vispi
Date: Fri, 17 Jan 92 19:33:22 PST
In-Reply-To: <>; from "" 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.


From: (Barry Shein)
Message-Id: <>
To: vispi
In-Reply-To:'s message of Fri, 17 Jan 92 10:58:58 -0600 <>
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 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 | | uunet!world!bzs
Purveyors to the Trade | Voice: 617-739-0202 | Login: 617-739-WRLD

From: (Jon A. Tankersley)
Message-Id: <>
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 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: (Gary Richardson)
Message-Id: <>
To: vispi
Subject: Re: Can rlogin but can't telnet


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

It's just a guess...


From: (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?


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