Skip site navigation (1)Skip section navigation (2)
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:
>=20
>=20
> 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:
>>>=20
>>>=20
>>> On Thu, January 15, 2015 8:54 am, Dan Busarow wrote:
>>>> I just ran freebsd-update install on 10 9.3-RLEASE systems.
>>>>=20
>>>> All but one work fine.  That one is giving me the error
>>>>=20
>>>> /usr/bin/slogin: Undefined symbol "ssh_lowercase"
>>>>=20
>>>> when trying to ssh out
>>>>=20
>>>> Trying to connect to this machine using ssh give the error
>>>>=20
>>>> ssh_exchange_identification: Connection closed by remote host
>>>>=20
>>>> Any ideas???
>>>>=20
>>>=20
>>> posting here what you get doing
>>>=20
>>> ssh -vvv username@host.in.question
>>>=20
>>> may help.
>>>=20
>>> Valeri
>>=20
>> Hi Valeri,
>>=20
>> Here you go.
>>=20
>> 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
>>=20
>>=20
>> Note the message is the same when using IPv4, just the IP address =
changes.
>>=20
>>=20
>> On the host in question, ssh -vvv another.host gives
>>=20
>> 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"
>>=20
>=20
> 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:
>=20
> 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 =3D> /usr/lib/private/libssh.so.5 (0x800847000)
> 	libutil.so.9 =3D> /lib/libutil.so.9 (0x800ad4000)
> 	libldns.so.5 =3D> /usr/lib/private/libldns.so.5 (0x800ce6000)
> 	libgssapi.so.10 =3D> /usr/lib/libgssapi.so.10 (0x800f42000)
> 	libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x80114b000)
> 	libcrypto.so.7 =3D> /lib/libcrypto.so.7 (0x80136b000)
> 	libz.so.6 =3D> /lib/libz.so.6 (0x80175e000)
> 	libc.so.7 =3D> /lib/libc.so.7 (0x801974000)
> 	libkrb5.so.11 =3D> /usr/lib/libkrb5.so.11 (0x801d1d000)
> 	libhx509.so.11 =3D> /usr/lib/libhx509.so.11 (0x801f95000)
> 	libasn1.so.11 =3D> /usr/lib/libasn1.so.11 (0x8021df000)
> 	libcom_err.so.5 =3D> /usr/lib/libcom_err.so.5 (0x80247c000)
> 	libmd.so.6 =3D> /lib/libmd.so.6 (0x80267e000)
> 	libroken.so.11 =3D> /usr/lib/libroken.so.11 (0x80288e000)
> 	libwind.so.11 =3D> /usr/lib/libwind.so.11 (0x802aa0000)
> 	libheimbase.so.11 =3D> /usr/lib/libheimbase.so.11 (0x802cc8000)
> 	libheimipcc.so.11 =3D> /usr/lib/private/libheimipcc.so.11 =
(0x802ecc000)
> 	libthr.so.3 =3D> /lib/libthr.so.3 (0x8030ce000)
>=20
> root@point:/usr # grep ssh_lowercase /usr/lib/private/libssh.so.5
> Binary file /usr/lib/private/libssh.so.5 matches
>=20
> ...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).
>=20
> Hopefully someone can pinpoint it. I just described how I would =
proceed...
>=20
> 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
--=20
 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=3D1925831



>=20
> Valeri
>=20
> ++++++++++++++++++++++++++++++++++++++++
> Valeri Galtsev
> Sr System Administrator
> Department of Astronomy and Astrophysics
> Kavli Institute for Cosmological Physics
> University of Chicago
> Phone: 773-702-4247
> ++++++++++++++++++++++++++++++++++++++++



--=20





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14C5236A-4583-4298-B235-26023CAF835D>