- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Apache Failure: Can't open shared library: /us...
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
Forums
Discussions
Discussions
Discussions
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
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
09-21-2006 03:21 AM
09-21-2006 03:21 AM
Apache Failure: Can't open shared library: /usr/lib/libnsl.1
ksi_alloc_max=32768; found ksi_alloc_max=16384
maxssiz_64bit=1073741824; found maxssiz_64bit=134217728
maxswapchunks=16384; found maxswapchunks=1513
maxuprc=3687; found maxuprc=75
msgmap=4098; found msgmap=42
msgmni=4096; found msgmni=50
msgseg=32767; found msgseg=2048
msgtql=4096; found msgtql=40
ncsize=34816; found ncsize=7848
nfile=63488; found nfile=3000
nflocks=4096; found nflocks=200
ninode=34816; found ninode=2728
nkthread=7184; found nkthread=6000
nproc=4096; found nproc=2048
semmap=4098; found semmap=2050
semmni=4096; found semmni=2048
semmns=8192; found semmns=2048
semmnu=4092; found semmnu=64
shmmax=1073741824; found shmmax=268435456
shmmni=512; found shmmni=500
vps_ceiling=64; foundvps_ceiling=16
This is the contents of the Bundle that was applied:
patch hp-ux_patches/s700_800/11.X/PHCO_33142
patch hp-ux_patches/s700_800/11.X/PHKL_29243
patch hp-ux_patches/s700_800/11.X/PHSS_32732
patch hp-ux_patches/s700_800/11.X/PHSS_33037
patch hp-ux_patches/s700_800/11.X/PHSS_33944
patch hp-ux_patches/s700_800/11.X/PHSS_35098
patch hp-ux_patches/s700_800/11.X/PHSS_35099
patch hp-ux_patches/s700_800/11.X/PHSS_35100
patch superseded_patches/hp-ux_patches/s700_800/11.X/PHCO_31314
patch superseded_patches/hp-ux_patches/s700_800/11.X/PHNE_28810
patch superseded_patches/hp-ux_patches/s700_800/11.X/PHSS_32731
The Kernel changes and patches applied. The database starts up fine. but when I try and start Apache, the following error is thrown:
Syntax error on line 176 of /opt/hpapache2/conf/httpd.conf:
Cannot load /web/sso/netegrity/webagent/bin/libmod_sm20.sl into server: Can't open shared library: /usr/lib/libnsl.1
Line 176 of httpd.conf is:
LoadModule sm_module "/web/sso/netegrity/webagent/bin/libmod_sm20.sl"
libmod_sm20.sl trys to load /usr/lib/libnsl.1
When I comment out the following 2 lines in httpd.conf, it starts:
LoadModule sm_module "/web/sso/netegrity/webagent/bin/libmod_sm20.sl"
SmInitFile "/opt/hpapache2/conf/WebAgent.conf"
But the applications are all coded to use Siteminder variables so that is why I need those lines.
Any help would be greatly appreciated!
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2006 03:30 AM
09-21-2006 03:30 AM
Re: Apache Failure: Can't open shared library: /usr/lib/libnsl.1
The problem lies on your build. You have a hard coded library path in your apache, /web/sso/netegrity/webagent/bin/libmod_sm20.sl. Either you should have that library in place or you need to compile statically.
I hope, it is clear.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2006 03:54 AM
09-21-2006 03:54 AM
Re: Apache Failure: Can't open shared library: /usr/lib/libnsl.1
I created the directory structure and put symbolic links but still get:
Syntax error on line 176 of /opt/hpapache2/conf/httpd.conf:
Cannot load /web/sso/netegrity/webagent/bin/libmod_sm20.sl into server: Can't open shared library: /usr/lib/libnsl.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2006 04:04 AM
09-21-2006 04:04 AM
Re: Apache Failure: Can't open shared library: /usr/lib/libnsl.1
I dont think creating symbolic would be helpful. You can do "ll /web/sso/netegrity/webagent/bin/libmod_sm20.sl" and post your output here. I think, it could be either due to permission issue or link problem.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2006 04:13 AM
09-21-2006 04:13 AM
Re: Apache Failure: Can't open shared library: /usr/lib/libnsl.1
agent/bin/libmod_sm20.sl