Date: Thu, 15 Jan 2015 11:10:52 -0700 From: Busarow Dan <dan@buildingonline.com> To: galtsev@kicp.uchicago.edu Cc: freebsd-questions@freebsd.org Subject: Re: after freebsd-update getting undefined symbol "ssh_lowercase" Message-ID: <14C5236A-4583-4298-B235-26023CAF835D@buildingonline.com> In-Reply-To: <17568.128.135.70.2.1421343482.squirrel@cosmo.uchicago.edu> References: <96FF4D20-D22E-45FE-9347-E84941D70EE8@buildingonline.com> <58385.128.135.70.2.1421339726.squirrel@cosmo.uchicago.edu> <FE0B85AA-2A51-46D4-8C3C-C865A02617A6@buildingonline.com> <17568.128.135.70.2.1421343482.squirrel@cosmo.uchicago.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Jan 15, 2015, at 10:38 AM, Valeri Galtsev <galtsev@kicp.uchicago.edu> wrote: > > > On Thu, January 15, 2015 11:04 am, Busarow Dan wrote: >> On Jan 15, 2015, at 9:35 AM, Valeri Galtsev <galtsev@kicp.uchicago.edu> >> wrote: >>> >>> >>> On Thu, January 15, 2015 8:54 am, Dan Busarow wrote: >>>> I just ran freebsd-update install on 10 9.3-RLEASE systems. >>>> >>>> All but one work fine. That one is giving me the error >>>> >>>> /usr/bin/slogin: Undefined symbol "ssh_lowercase" >>>> >>>> when trying to ssh out >>>> >>>> Trying to connect to this machine using ssh give the error >>>> >>>> ssh_exchange_identification: Connection closed by remote host >>>> >>>> Any ideas??? >>>> >>> >>> posting here what you get doing >>> >>> ssh -vvv username@host.in.question >>> >>> may help. >>> >>> Valeri >> >> Hi Valeri, >> >> Here you go. >> >> OpenSSH_6.6.1, OpenSSL 0.9.8za-freebsd 5 Jun 2014 >> debug1: Reading configuration data /etc/ssh/ssh_config >> debug2: ssh_connect: needpriv 0 >> debug1: Connecting to doheny.buildingonline.net [2607:fc50:1001:8f00::10] >> port 22. >> debug1: Connection established. >> debug3: Incorrect RSA1 identifier >> debug3: Could not load "/home/dan/.ssh/id_rsa" as a RSA1 public key >> debug1: identity file /home/dan/.ssh/id_rsa type 1 >> debug1: identity file /home/dan/.ssh/id_rsa-cert type -1 >> debug1: identity file /home/dan/.ssh/id_dsa type -1 >> debug1: identity file /home/dan/.ssh/id_dsa-cert type -1 >> debug1: identity file /home/dan/.ssh/id_ecdsa type -1 >> debug1: identity file /home/dan/.ssh/id_ecdsa-cert type -1 >> debug1: identity file /home/dan/.ssh/id_ed25519 type -1 >> debug1: identity file /home/dan/.ssh/id_ed25519-cert type -1 >> debug1: Enabling compatibility mode for protocol 2.0 >> debug1: Local version string SSH-2.0-OpenSSH_6.6.1_hpn13v11 >> FreeBSD-20140420 >> ssh_exchange_identification: Connection closed by remote host >> >> >> Note the message is the same when using IPv4, just the IP address changes. >> >> >> On the host in question, ssh -vvv another.host gives >> >> OpenSSH_6.6.1, OpenSSL 0.9.8za-freebsd 5 Jun 2014 >> debug 1: Reading configuration data /etc/ssh/ssh_config >> /usr/bin/ssh: Undefined symbol "ssh_lowercase" >> > > My wild guess would be that one of the libraries is ether corrupt on > upgraded machine, or does not match what ssh (and sshd) were compiled > against. A quick look on my machine: > > root@point:/usr # which ssh > /usr/bin/ssh > root@point:/usr # grep ssh_lowercase /usr/bin/ssh > Binary file /usr/bin/ssh matches > root@point:/usr # ldd /usr/bin/ssh > /usr/bin/ssh: > libssh.so.5 => /usr/lib/private/libssh.so.5 (0x800847000) > libutil.so.9 => /lib/libutil.so.9 (0x800ad4000) > libldns.so.5 => /usr/lib/private/libldns.so.5 (0x800ce6000) > libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x800f42000) > libcrypt.so.5 => /lib/libcrypt.so.5 (0x80114b000) > libcrypto.so.7 => /lib/libcrypto.so.7 (0x80136b000) > libz.so.6 => /lib/libz.so.6 (0x80175e000) > libc.so.7 => /lib/libc.so.7 (0x801974000) > libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x801d1d000) > libhx509.so.11 => /usr/lib/libhx509.so.11 (0x801f95000) > libasn1.so.11 => /usr/lib/libasn1.so.11 (0x8021df000) > libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x80247c000) > libmd.so.6 => /lib/libmd.so.6 (0x80267e000) > libroken.so.11 => /usr/lib/libroken.so.11 (0x80288e000) > libwind.so.11 => /usr/lib/libwind.so.11 (0x802aa0000) > libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x802cc8000) > libheimipcc.so.11 => /usr/lib/private/libheimipcc.so.11 (0x802ecc000) > libthr.so.3 => /lib/libthr.so.3 (0x8030ce000) > > root@point:/usr # grep ssh_lowercase /usr/lib/private/libssh.so.5 > Binary file /usr/lib/private/libssh.so.5 matches > > ...you can check all other libraries ssh linked against for the same > string. These (/usr/lib/private/libssh.so.5 and others that contain that > string) are the ones I would reinstall (together with ssh and sshd). > > Hopefully someone can pinpoint it. I just described how I would proceed... > > Good luck. Valeri, Thank you. Thank you. Thank you!!! The bad box did not have /usr/lib/private The directory didn't exist. I created it and then ftp'd the lib files from /usr/lib/private on another box. I'm back up! Thank you so much. Dan -- Dan Busarow dan@buildingonline.com 949 496 6648 x218 Follow BuildingOnline on: http://Twitter.com/BuildingOnline http://Facebook.com/BuildingOnline http://Linkedin.com/groupRegistration?gid=1925831 > > Valeri > > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14C5236A-4583-4298-B235-26023CAF835D>
