RE: Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can"t find libmod_sm20.sl

RE: Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can"t find libmod_sm20.sl

am 04.07.2006 08:04:29 von Axel-Stephane.SMORGRAV

That piece of shit has made me tear all of my hair out, but if you =
really have to use it, please make yourself a favor and use the latest =
and greatest (SMWA 5QMR8). I think I counted something like 160 bug =
fixes in that release, as compared to appx. 40 in other releases. Given =
all the problems I have had with previous releases of the so-called =
framework agent, I think they have had huge quality problems that have =
hopefully been solved after CA acquired Netegrity.

What I believe is your problem is that libmod_sm20 depends on another =
library, and since it appears that /opt/siteminder2/webagent/lib/ is not =
in your SHLIB_PATH, the run-time linker can't find it.

The definitions below relate to Solaris. You probably want to replace =
LD_LIBRARY_PATH with SHLIB_PATH

I added the following to the Apache environment. There are several ways =
of doing that. I personally prefer adding to the end of =
apache/bin/envvars:

NETE_WA_ROOT=3D/u01/netegrity/siteminder/webagent
NETE_WA_PATH=3D$NETE_WA_ROOT/lib
LD_LIBRARY_PATH=3D"$LD_LIBRARY_PATH:/u01/opt/lib:$NETE_WA_PA TH"
PATH=3D$NETE_WA_ROOT/bin:$PATH
export NETE_WA_PATH NETE_WA_ROOT PATH LD_LIBRARY_PATH

You absolutely need to set both LD_LIBRARY_PATH (SHLIB_PATH) and PATH in =
order for the LLAWP process to be able to start.

Good luck!
-ascs

-----Original Message-----
From: Lindsey_Lepisko@cargill.com [mailto:Lindsey_Lepisko@cargill.com]=20
Sent: Monday, July 03, 2006 7:06 PM
To: users@httpd.apache.org
Subject: [users@httpd] Configuring Siteminder 5.5 for apache2.0 on HP-UX =
11- can't find libmod_sm20.sl=20

Hi,

I'm very new to the apache/unix world and am currently in charge of =
switching the web server my department's web pages run on to apache =
(currently they are running on a sun one server). My first goal is to =
get apache and siteminder working together nicely. I installed apache =
2.0 and compiled it with mod.so as the only non-default module. The =
siteminder installation went well and it is registered as a trusted host =
with our policy servers. I followed the netegrity =
installation/configuration manual for configuring siteminder for apache =
and added the following to apache's httpd.conf file:=20

PassEnv SHLIB_PATH /opt/siteminder2/webagent/config
LoadModule sm_module "/opt/siteminder2/webagent/lib/libmod_sm20.sl"
SmInitFile "\opt\sitemindre2\webagent\config\WebAgent.conf"
(also tried \opt\web\apache2\conf\WebAgent.conf...the manual is very =
confusing as to what means. )

Alias /siteminderagent/ ./samples/.

Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all


AddHandler smcookieprovider-handler .ccc

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

RE: Configuring Siteminder 5.5 for apache2.0 on HP-UX

am 06.07.2006 16:30:43 von Lindsey_Lepisko

Still isn't working. I put what you suggested in the envvars file and =
it didn't help. I even tried explicitly setting PATH to include =
/opt/siteminder2/webagent/bin and SHLIB_PATH to include =
/opt/siteminder2/webagent/lib by using export and even with that it =
didn't work. It still has a problem with the line=20
'LoadModule sm_module "/opt/siteminder2/webagent/lib/libmod_sm20.sl" ' =
and says it can't find libmod_sm20.sl. =20

So I really don't know what the heck to do now. I spent more time =
searching the web for linking issues and solutions to those issues, but =
nothing was very helpful. Any other ideas?

-Lindsey


-----Original Message-----
From: Axel-St=E9phane SMORGRAV
[mailto:Axel-Stephane.SMORGRAV@europe.adp.com]
Sent: Tuesday, July 04, 2006 1:04 AM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Configuring Siteminder 5.5 for apache2.0 on
HP-UX 11- can't find libmod_sm20.sl=20


That piece of shit has made me tear all of my hair out, but if you =
really have to use it, please make yourself a favor and use the latest =
and greatest (SMWA 5QMR8). I think I counted something like 160 bug =
fixes in that release, as compared to appx. 40 in other releases. Given =
all the problems I have had with previous releases of the so-called =
framework agent, I think they have had huge quality problems that have =
hopefully been solved after CA acquired Netegrity.

What I believe is your problem is that libmod_sm20 depends on another =
library, and since it appears that /opt/siteminder2/webagent/lib/ is not =
in your SHLIB_PATH, the run-time linker can't find it.

The definitions below relate to Solaris. You probably want to replace =
LD_LIBRARY_PATH with SHLIB_PATH

I added the following to the Apache environment. There are several ways =
of doing that. I personally prefer adding to the end of =
apache/bin/envvars:

NETE_WA_ROOT=3D/u01/netegrity/siteminder/webagent
NETE_WA_PATH=3D$NETE_WA_ROOT/lib
LD_LIBRARY_PATH=3D"$LD_LIBRARY_PATH:/u01/opt/lib:$NETE_WA_PA TH"
PATH=3D$NETE_WA_ROOT/bin:$PATH
export NETE_WA_PATH NETE_WA_ROOT PATH LD_LIBRARY_PATH

You absolutely need to set both LD_LIBRARY_PATH (SHLIB_PATH) and PATH in =
order for the LLAWP process to be able to start.

Good luck!
-ascs

-----Original Message-----
From: Lindsey_Lepisko@cargill.com [mailto:Lindsey_Lepisko@cargill.com]=20
Sent: Monday, July 03, 2006 7:06 PM
To: users@httpd.apache.org
Subject: [users@httpd] Configuring Siteminder 5.5 for apache2.0 on HP-UX =
11- can't find libmod_sm20.sl=20

Hi,

I'm very new to the apache/unix world and am currently in charge of =
switching the web server my department's web pages run on to apache =
(currently they are running on a sun one server). My first goal is to =
get apache and siteminder working together nicely. I installed apache =
2.0 and compiled it with mod.so as the only non-default module. The =
siteminder installation went well and it is registered as a trusted host =
with our policy servers. I followed the netegrity =
installation/configuration manual for configuring siteminder for apache =
and added the following to apache's httpd.conf file:=20

PassEnv SHLIB_PATH /opt/siteminder2/webagent/config
LoadModule sm_module "/opt/siteminder2/webagent/lib/libmod_sm20.sl"
SmInitFile "\opt\sitemindre2\webagent\config\WebAgent.conf"
(also tried \opt\web\apache2\conf\WebAgent.conf...the manual is very =
confusing as to what means. )

Alias /siteminderagent/ ./samples/.

Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all


AddHandler smcookieprovider-handler .ccc

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server =
Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

RE: Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can"t find libmod_sm20.sl

am 07.07.2006 08:26:59 von Joost de Heer

Lindsey_Lepisko@cargill.com wrote:
> Still isn't working. I put what you suggested in the envvars file and it
> didn't help. I even tried explicitly setting PATH to include
> /opt/siteminder2/webagent/bin and SHLIB_PATH to include
> /opt/siteminder2/webagent/lib by using export and even with that it didn't
> work. It still has a problem with the line
> 'LoadModule sm_module "/opt/siteminder2/webagent/lib/libmod_sm20.sl" ' and
> says it can't find libmod_sm20.sl.

What does 'ldd /opt/siteminder2/webagent/lib/libmod_sm20.sl' give? 'File
not found' can also mean that one of the libs it depends on can't be
found. You may have to set the LD_LIBRARY_PATH var in apachectl to fix
this.

Joost


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org