From owner-freebsd-stable Sun Aug 4 22:17:18 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42BD137B400 for ; Sun, 4 Aug 2002 22:17:13 -0700 (PDT) Received: from arutam.inch.com (ns.inch.com [216.223.192.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 780E843E42 for ; Sun, 4 Aug 2002 22:17:12 -0700 (PDT) (envelope-from spork@inch.com) Received: from inch.com (inch.com [216.223.192.20]) by arutam.inch.com (8.12.2/8.12.2/UTIL-INCH-3.0.6) with ESMTP id g755HBCA013547; Mon, 5 Aug 2002 01:17:11 -0400 (EDT) Date: Mon, 5 Aug 2002 01:17:11 -0400 (EDT) From: Charles Sprickman To: CHOI Junho Cc: dan@langille.org, Subject: Re: remote upgrade stops ssh connections In-Reply-To: <20020805.130519.124046267.cjh@kr.FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 5 Aug 2002, CHOI Junho wrote: > There's another thread about this issue in -stable(Subject contains > "PAM... HELP!!") may help you. I faced exact same problem at Saturday > for 3 FreeBSD machines in the data center far from my office. Only > solution to this is just rebooting. I had to reboot all these machines > today morning, it works good without any work. You need not reboot. kill -HUP `cat /var/run/sshd.pid` will do just fine. Some shared libs sshd uses (pam stuff I assume) gets pulled out from under it and it (rightly) gets upset about this. HUP'ing it will restart it and it will work fine. It will *not* kill you existing connection, only the parent process. Just did this 10 minutes ago. Saw this in the logs: ug 4 23:04:17 bigpoop sshd[36676]: unable to dlopen(/usr/lib/pam_skey.so) Aug 4 23:04:17 bigpoop sshd[36676]: [dlerror: /usr/lib/pam_skey.so: Undefined symbol "pam_set_option"] Aug 4 23:04:17 bigpoop sshd[36676]: adding faulty module: /usr/lib/pam_skey.so Aug 4 23:04:17 bigpoop sshd[36676]: unable to dlopen(/usr/lib/pam_unix.so) Aug 4 23:04:17 bigpoop sshd[36676]: [dlerror: /usr/lib/pam_unix.so: Undefined symbol "pam_test_option"] Aug 4 23:04:17 bigpoop sshd[36676]: adding faulty module: /usr/lib/pam_unix.s HUP'd and all was well. Charles > If someone wish to upgrade -stable or RELENG_4_6, I recommend to open > telnet port(SRA login only...) for a moment for just safety. I had > trouble for rebooting at the console because this machine has no > keyboard and plugging keyboard doesn't help without some kernel > option! :< > > From: "Dan Langille" > Subject: remote upgrade stops ssh connections > Date: Sun, 4 Aug 2002 18:52:59 -0400 > > > I've lost ssh contact with a remote boxes which is halfway through an > > upgrade. I think it has completed their "make install" but the ssh > > connection was dropped[1]. But if I try to ssh to them, I get an > > "S/Key Password:" prompt. After a few garbage, replies, I do get a > > password prompt, but the correct password is being rejected. Here is > > what is appearing in /var/log/messages[2]: > > > > Aug 5 08:40:25 reg sshd[23976]: unable to > > dlopen(/usr/lib/pam_skey.so) > > 08:40:26 reg sshd[23976]: Failed password for dvl from a.b.c.d port > > 62763 > > Aug 5 08:40:25 reg sshd[23976]: [dlerror: /usr/lib/pam_skey.so: > > Undefined symbol "pam_set_option"] > > Aug 5 08:40:25 reg sshd[23976]: adding faulty module: > > /usr/lib/pam_skey.so > > Aug 5 08:40:25 reg sshd[23976]: unable to > > dlopen(/usr/lib/pam_unix.so) > > Aug 5 08:40:25 reg sshd[23976]: [dlerror: /usr/lib/pam_unix.so: > > Undefined symbol "pam_test_option"] > > Aug 5 08:40:25 reg sshd[23976]: adding faulty module: > > /usr/lib/pam_unix.so > > Aug 5 08:40:26 reg sshd[23976]: Failed password for dvl from a.b.c.d > > port 62763 > > Aug 5 08:40:27 reg sshd[23976]: Received disconnect from a.b.c.d: > > > > Am I going to need to get to the console on this one? > > > > [1] - yes, thanks to those thinking serial connection. It's not an > > answer here. > > > > [2] - thanks to security/logcheck which is mailing me these reports. > > -- > > Dan Langille > > I'm looking for a computer job: > > http://www.freebsddiary.org/dan_langille.php > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-stable" in the body of the message > > -- > +++ Any opinions in this posting are my own and not those of my employers +++ > CHOI Junho [sleeping now] > [while sleeping] > Korea FreeBSD Users Group Web Data Bank > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message