- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem running SSH deamon on HP-UX 11 v1
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2009 01:21 AM
тАО06-20-2009 01:21 AM
i've got a problem running ssh deamon on hp-ux 11.11
when i try to start ssh using
./sbin/initd/secsh start
it throws an error:
hp3:/sbin/init.d#./secsh start
/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/lib/libkrb5.sl
/usr/lib/dld.sl: Permission denied
./secsh[70]: 9405 Abort(coredump)
EXIT CODE: 134
i've spend two days playing around with it, installed latest bundles of SSH and OpenSSL.
any help appreciated.
thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2009 01:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2009 02:00 AM
тАО06-20-2009 02:00 AM
Re: Problem running SSH deamon on HP-UX 11 v1
#kmtune -q executable_stack
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2009 03:31 AM
тАО06-20-2009 03:31 AM
Re: Problem running SSH deamon on HP-UX 11 v1
I have just reproduced the same error by changing the permission of the below lib link file.
# chmod 444 /usr/lib/libkrb5.sl
# /sbin/init.d/secsh start
/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/lib/libkrb5.sl
/usr/lib/dld.sl: Permission denied
/sbin/init.d/secsh[70]: 4149 Abort(coredump)
EXIT CODE: 134
If this is the problem ,please change the permission as below.
# chmod 755 /usr/lib/libkrb5.sl
# /sbin/init.d/secsh start
HP-UX Secure Shell started
#
Also make sure that the following permission for the below source file.
# ls -lrt /opt/krb5core/lib/libkrb5.1
-rwxr-xr-x 1 bin bin 1110016 Apr 2 2007 /opt/krb5core/lib/libkrb5.1
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2009 10:39 AM
тАО06-20-2009 10:39 AM
Re: Problem running SSH deamon on HP-UX 11 v1
Exactly, load modules must be executable.
>please change the permission as below.
# chmod 755 /usr/lib/libkrb5.sl
The correct permissions are a=rx, no need for write access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2009 07:45 PM
тАО06-21-2009 07:45 PM
Re: Problem running SSH deamon on HP-UX 11 v1
i did change the permisions, and i think that was the problem. but now i've got the other one.
when i try
/sbin/init.d/secsh start
it throughs an error:
hp3:/#./sbin/init.d/secsh start
/usr/lib/dld.sl: Can't find path for shared library: libcom_err.sl
/usr/lib/dld.sl: No such file or directory
./sbin/init.d/secsh[70]: 17469 Abort(coredump)
EXIT CODE: 134
i have checked the SHLIB_PATH, and it was pointing to a /sap/...
where should it point to?
i have tryed
SHLIB_PATH=/usr/lib
no success
also, when i tryed to change permisions:
hp3:/usr/lib#chmod 744 libcom_err.sl
chmod: can't access libcom_err.sl
is this a problem with the library or something else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2009 07:53 PM
тАО06-21-2009 07:53 PM
Re: Problem running SSH deamon on HP-UX 11 v1
1)
hp3:/#what /opt/ssh/sbin/sshd | head -n 5
/opt/ssh/sbin/sshd:
$Revision: 92453-07 linker linker crt0.o B.11.53 060320 $
$HP-UX Secure Shell: sshd.c,vA.05.20.004 ,TCP Wrappers: v7.6-ipv6.4, Zlib: v1.2.3 2009/04/24 $
$HP-UX Secure Shell: sftp-server.c,vA.05.20.004 ,TCP Wrappers: v7.6-ipv6.4, Zlib: v1.2.3 2009/04/24 $
$OpenSSL A.00.09.08k.001, Zlib: v1.2.3 $
2)
hp3:/#kmtune | grep -i "^max*"
max_async_ports 50 - 50
max_fcp_reqs 512 - 512
max_mem_window 0 - 0
max_thread_proc 4096 - 4096
maxdsiz 4294963200 - 4294963200
maxdsiz_64bit 68719476736 - 68719476736
maxfiles 10240 - 10240
maxfiles_lim 20480 Y 20480
maxqueuetime - - 0
maxssiz 268435456 - 268435456
maxssiz_64bit 1073741824 - 1073741824
maxswapchunks 16384 - 16384
maxtsiz 134217728 Y 134217728
maxtsiz_64bit 34359738368 Y 34359738368
maxuprc 29490 Y ((NPROC*9)/10)
maxusers 4096 - 4096
maxvgs 256 - 256
3)
hp3:/#swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 15008 0 15008 0% 0 - 0 /dev/vg00/swap
dev 11008 0 11008 0% 0 - 2 /dev/vg00/lvol14
reserve - 189 -189
memory 6369 520 5849 8%
total 36481 709 35772 2% - 0 -
4)
hp3:/#kmtune -q executable_stack
Parameter Current Dyn Planned Module Version
===============================================================================
executable_stack 1 - 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2009 08:37 PM
тАО06-21-2009 08:37 PM
Re: Problem running SSH deamon on HP-UX 11 v1
My suggestion is just remove your ssh from server and do a fresh install.
download ssh from this below link.
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-5.2p1/
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2009 08:44 PM
тАО06-21-2009 08:44 PM
Re: Problem running SSH deamon on HP-UX 11 v1
thanks for your help,
i finally solved the problem.
first problem was with the permisions
second problem was that the SHLIB_PATH was not set properly
and third something was wrong with the files in /usr/lib (i had to delete some of them, and copy from another hp-ux server, i guess it is not the best way to fix the problem, but it helped)
thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2009 08:50 PM
тАО06-21-2009 08:50 PM