Bug 782 - Unable to start openssh after upgrading to 3.7.1.p2
Summary: Unable to start openssh after upgrading to 3.7.1.p2
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 3.7.1p2
Hardware: SPARC Solaris
: P3 major
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-04 23:46 AEDT by Kishore Vinjam
Modified: 2004-04-14 12:24 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Vinjam 2004-01-04 23:46:47 AEDT
Hi, 
I had upgraded OpenSSH to 3.4.1 to 3.7.1 p2. Immediately after upgrade i was 
able to start SSH normally and it was working fine. After few days when SSH got 
to be restarted the it is throwing the below error. 

What could be the reason for that. Your help would be highly appreciated.

root@host01:/etc/init.d # openssh start
ld.so.1: ssh-rand-helper: fatal: librt.so.1: version `SUNW_1.2' not found 
(required by file ssh-rand-helper)
ssh-rand-helper child produced insufficient data
ld.so.1: ssh-rand-helper: fatal: librt.so.1: version `SUNW_1.2' not found 
(required by file ssh-rand-helper)
ssh-rand-helper child produced insufficient data
ld.so.1: ssh-rand-helper: fatal: librt.so.1: version `SUNW_1.2' not found 
(required by file ssh-rand-helper)
ssh-rand-helper child produced insufficient data
ld.so.1: ssh-rand-helper: fatal: librt.so.1: version `SUNW_1.2' not found 
(required by file ssh-rand-helper)
ssh-rand-helper child produced insufficient data

Regards,
Kishore
Comment 1 Kishore Vinjam 2004-01-04 23:48:41 AEDT
Sorry, missed the OS Details, the OS details are as mentioned below.
SunOS host01 5.7 Generic_106541-19 sun4u sparc SUNW,Ultra-Enterprise
Comment 2 Darren Tucker 2004-01-04 23:57:30 AEDT
It looks like librt (/usr/lib/librt.so*) does not match the one you linked
against.  Did you build on one version of Solaris and deploy on another, or did
you install an OS patch recently?
Comment 3 Kishore Vinjam 2004-01-05 04:38:29 AEDT
Hi,
 
Thanks for the quick response.  
 
We had build it on the same server ( OS Version ), and from logs we notice that 
the problem started from last reboot of the server.
In between sendmail patch was installed, however i dont see the  
file /usr/lib/librt.so*  getting effected because of this ( from list of 
affected files log). 
Please help me out
 
TIA,
Kishore.
Comment 4 Darren Tucker 2004-01-05 04:57:28 AEDT
This is from my Solaris 8 box:
$ ls -l `locate librt.so`
-rwxr-xr-x 1 root bin  76328 Jan  6 2000 /usr/lib/abi/abi_librt.so.1
lrwxrwxrwx 1 root root    12 Apr  2 2002 /usr/lib/librt.so -> ./librt.so.1
-rwxr-xr-x 1 root bin  41816 Jun 28 2001 /usr/lib/librt.so.1
lrwxrwxrwx 1 root other   10 May 20 2002 /usr/lib/sparcv9/librt.so -> librt.so.1
-rwxr-xr-x 1 root b    54928 Jun 28  2001 /usr/lib/sparcv9/librt.so.1

I'm betting you compiled and linked OpenSSH with LIBRARY_PATH (and probably
LD_LIBRARY_PATH) set with /usr/lib/sparcv9 first, and the linker picked up librt
from there.  Try this:
LD_LIBRARY_PATH=/usr/lib/sparcv9:/usr/lib /path/to/sshd

Alternatively, did someone fiddled with crle?
Comment 5 Darren Tucker 2004-03-30 11:51:29 AEST
2 months no reply = closed bug.
Comment 6 Damien Miller 2004-04-14 12:24:20 AEST
Mass change of RESOLVED bugs to CLOSED