Date: Mon, 5 Aug 2002 01:17:11 -0400 (EDT) From: Charles Sprickman <spork@inch.com> To: CHOI Junho <cjh@kr.FreeBSD.org> Cc: dan@langille.org, <FreeBSD-stable@FreeBSD.ORG> Subject: Re: remote upgrade stops ssh connections Message-ID: <Pine.BSF.4.44.0208050114030.22536-100000@shell.inch.com> In-Reply-To: <20020805.130519.124046267.cjh@kr.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <dan@langille.org> > 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] <http://www.kr.FreeBSD.org/~cjh> > [while sleeping] <cjh @ kr.FreeBSD.ORG> <cjh @ FreeBSD.ORG> <cjh @ wdb.co.kr> > Korea FreeBSD Users Group <www.kr.FreeBSD.org> Web Data Bank<www.wdb.co.kr> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.44.0208050114030.22536-100000>