I should have given more information. The OS is 4.1.3 and I am not logging in as root. I do have all tty's
and the console "unsecure" in the /etc/ttytab.
What ended up working is to issue a "kill -HUP `cat /etc/syslog.pid` The eventual solution coming from
chris@vlsi.cs.caltech.edu (Christopher K. Lee) and heas <heas@chpc.org> who suggested it had
something to do with syslogd and that it should be restarted (I opted for the kill -HUP).
Original Post:
> I have a Sparc10 40 that I cannot rlogin to. The error is "Connection refused". Curiously, rsh works
and the inetd and inted.conf and in.rlogind all appear normal.
Other responses were:
----------------------------------------------------------------------------------------------
If you are on Solaris 2.x, you need to modify the /etc/default/console
file to allow root to login from a remote location. Look for the line
that reads:
CONSOLE=/dev/console
Comment this line out and then root will be able to remotely login.
----------------------------------------------------------------------------------------------
It should mean that no process is listening on the login port (port 513).
Check 'inetd.conf' very carefully. If the entry for 'login' is correct,
try sending a HUP to 'inetd'. Then check for any 'syslog' messages. If
you have too many entries in 'inetd.conf' you might exceed the limit on
the max number of open file descriptors, and that could have this effect.
----------------------------------------------------------------------------------------------
Try temporarily commenting out a few unimportant lines in 'inetd.conf',
and then try again. It probably will do little or no harm if you comment the entries for
comsat, rquotad, exec, daytime . Then reHUP your inetd.
It might also be useful to do a 'netstat -a' and cross check all the
listen ports with what inetd is doing. <---[very interesting output]
----------------------------------------------------------------------------------------------
you could kill off inetd and run it in debug mode ( I would at least try killing
inetd and restarting it)
----------------------------------------------------------------------------------------------
I saw this same problem after installing the security patches. Syslogd
probably core dumped. Just telnet into the machine and restart it.
----------------------------------------------------------------------------------------------
Check the .rhosts file on the Sparc10 for your remote system's hostname
----------------------------------------------------------------------------------------------
check the inetd.conf to see if a tcp wrapper is used; e.g., tcpd.
tcp wrapper is used to restrict traffic going into the machine; e.g,
restricting finger, rsh, rlogin, etc. And it also does logging
----------------------------------------------------------------------------------------------
Make sure you are not root
----------------------------------------------------------------------------------------------
reboot <----- [Not an option for me]
----------------------------------------------------------------------------------------------
Thanks To:
terry.white@babss.COM (Terry White)
mclark@adams.com (MICHAEL A. CLARK, MECHANICAL DYNAMICS)
Neil W Rickert <rickert@cs.niu.edu>
heas <heas@chpc.org>
yves@abcomp.be (Yves Hardy)
pawel@grape.meil.pw.edu.pl (Pawel Marczewski)
daley@eve120.cpd.ford.com (Mike Daley)
Neil W Rickert <rickert@cs.niu.edu>
david.warm@fi.gs.com
sdillman@tech.concorde.com (Sean Dillman)
"David Stadden" <david@sinatra>
jayl@lattice.com (Jay Lessert)
chris@vlsi.cs.caltech.edu (Christopher K. Lee)
"Roger H. Kou" <rkou@hto.usc.edu>
micky@shaddam.usb.ve (LDC - Michele Bellino)
ebernard@ifremer.fr (Eric Bernard)
Chris Swanson <cds@sanjose.ssds.com>
x092306@hyperion.lanl.gov (Jerry Weber C-8/IS-5)
Sorry if I missed a few.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:58 CDT