after freebsd-update getting undefined symbol "ssh_lowercase"

Busarow Dan dan at buildingonline.com
Thu Jan 15 18:10:54 UTC 2015


> On Jan 15, 2015, at 10:38 AM, Valeri Galtsev <galtsev at 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 at 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 at 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 at point:/usr # which ssh
> /usr/bin/ssh
> root at point:/usr # grep ssh_lowercase /usr/bin/ssh
> Binary file /usr/bin/ssh matches
> root at 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 at 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 at 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
> ++++++++++++++++++++++++++++++++++++++++



-- 




More information about the freebsd-questions mailing list