Operating System - HP-UX
1753846 Members
8428 Online
108807 Solutions
New Discussion юеВ

Re: Update openssh in HP -UX 11i

 
SOLVED
Go to solution
Harikrishnan L
Frequent Advisor

Re: Update openssh in HP -UX 11i

now i had uninstalled and reinstalled the sssh but #ssh -V dont have any out put


new location of software is /usr/local/bin/ssh

old location is /opt/ssh

whish ssh : /usr/bin/ssh

its linked to:- /usr/bin/ssh -> /opt/ssh/bin/ssh

depot: (http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-5.3p1/)


Kanagaraj
Regular Advisor

Re: Update openssh in HP -UX 11i

if you uninstalled old version ssh,then that old /opt/ssh should not exist.

just rename that directory for backup and make a link /usr/bin/ssh to /usr/local/bin/ssh.

Also restart the daemon.

/sbin/init.d/secsh stop
/sbin/init.d/secsh start

I think you may accessing the server by telnet.
Horia Chirculescu
Honored Contributor

Re: Update openssh in HP -UX 11i

/usr/local/bin/ssh -V

shows anything?
Best regards from Romania,
Horia.
Jupinder Bedi
Respected Contributor

Re: Update openssh in HP -UX 11i

so are you finally successful ? what does ssh -V shows
All things excellent are as difficult as they are rare
Harikrishnan L
Frequent Advisor

Re: Update openssh in HP -UX 11i

No not yet


# usr/local/bin/ssh -V
/usr/lib/dld.sl: Can't find path for shared library: libz.sl
/usr/lib/dld.sl: No such file or directory
ARIES32: Core file for PA32 application saved to /core.ssh
Abort(coredump)
#
Horia Chirculescu
Honored Contributor

Re: Update openssh in HP -UX 11i

You did not installed all required dependencies.

Please go to:

http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-5.3p1/

On the line starting with:

"Run-time dependencies:"

Click on zlib, and install zlib depot for HP-UX 11.23

All the run-time dependencies must be installed on your server before you will run (successfully) the new ssh version.

Explicit: you must install/upgrade all depots:

db expat gdbm gettext libiconv openssl perl tcp_wrappers zlib

Horia.
Best regards from Romania,
Horia.
Dennis Handly
Acclaimed Contributor

Re: Update openssh in HP -UX 11i

/usr/lib/dld.sl: Can't find path for shared library: libz.sl

Any reason you are using the PA version of ssh?
Harikrishnan L
Frequent Advisor

Re: Update openssh in HP -UX 11i

I have installed all prerequisite as per the link. But i not able see the ssh -V output.

Details.
---------
#

db 4.8.24 db
expat 2.0.1 expat
gdbm 1.8.3 gdbm
gettext 0.17 gettext
libiconv 1.13.1 libiconv
openssh 5.3p1 openssh
openssl 0.9.8k openssl
perl 5.10.1 perl
tar 1.22 tar
tcp_wrappers 7.6 tcp_wrappers
zlib 1.2.3 zlib
#


#
# whereis ssh
ssh: /usr/bin/ssh /usr/local/bin/ssh /opt/ssh/bin/ssh /opt/ssh/share/man/man1/ssh.1 /usr/local/share/man/man1/ssh.1
# ssh
# ssh -V
# /usr/local/bin/ssh -V
/usr/lib/dld.sl: Can't find path for shared library: libz.sl
/usr/lib/dld.sl: No such file or directory
ARIES32: Core file for PA32 application saved to /glodist/ssh/core.ssh
Abort(coredump)
#


# ll /usr/bin/ssh
lrwxr-xr-x 1 root sys 16 Jul 24 2007 /usr/bin/ssh -> /opt/ssh/bin/ssh



Help me out to solve this issue
Horia Chirculescu
Honored Contributor

Re: Update openssh in HP -UX 11i

>/usr/lib/dld.sl: Can't find path for shared library: libz.sl

In order to understand how dynamic linker path works, Read this:

http://docs.hp.com/en/B2355-90655/ch03s02.html#changingdefaultlibrary-landlpath
[Moderator edit: Removed the broken link. Please refer to https://support.hpe.com]
Basically, you need this LPTAH var to be defined on your system-wide .profile

$ LPATH=/usr/lib:/usr/local/lib
$ export LPATH

Or you can install the libraries on /usr/lib.

Horia.

Best regards from Romania,
Horia.
Jupinder Bedi
Respected Contributor

Re: Update openssh in HP -UX 11i

The best way is remove you ssh by swremove command and install it again and than try .
All things excellent are as difficult as they are rare