[Shib-Users] Problems with SP install and mod_shib_22.so

667 views
Skip to first unread message

Fabio Batalha C. Santos

unread,
Aug 5, 2008, 3:57:55 PM8/5/08
to shibboleth-users

Hi everybody,


why when I install the SP in a server with Apache.2.2.2 I have the mod_shib_20.so created and no the mod_shib_22.so? Can I have some problems with it in a near future when I begin to configure my Apache.2.2.2 to use the mod_shib_20.so or it's normal?


[fabio.batalha@scielo3 shibboleth]$ pwd
/usr/lib/shibboleth
[fabio.batalha@scielo3 shibboleth]$ ls -la
total 432
drwxr-xr-x   2 root root   4096 Aug  5 15:28 .
drwxr-xr-x  60 root root  36864 Aug  5 15:29 ..
-rwxr-xr-x   1 root root  94280 Aug  5 15:28 adfs-lite.so
-rwxr-xr-x   1 root root 161268 Aug  5 15:28 adfs.so
-rwxr-xr-x   1 root root 121256 Aug  5 15:28 mod_shib_20.so



Thanks,

Fabio Batalha


Scott Cantor

unread,
Aug 5, 2008, 4:07:59 PM8/5/08
to shibbole...@internet2.edu
> why when I install the SP in a server with Apache.2.2.2 I have the
> mod_shib_20.so created and no the mod_shib_22.so?

Then your server also natively has Apache 2.0 on it. Custom Apache builds
require different build procedures, which are described on the wiki and on
the list. Binaries will never be produced by the project for anything except
what comes with the OS.

> Can I have some problems
> with it in a near future when I begin to configure my Apache.2.2.2 to use
> the mod_shib_20.so or it's normal?

It will not work.

-- Scott


Fabio Batalha C. Santos

unread,
Aug 5, 2008, 5:27:05 PM8/5/08
to shibbole...@internet2.edu

Hi Scott,

 

Where I can find the complete config list options for the parameter shib_options to define the custom Apache instalation of my server.

 

Fabio Batalha 
----- Mensagem original -----
De: "Scott Cantor" <cant...@osu.edu>
Para: shibbole...@internet2.edu
Enviadas: Terça-feira, 5 de Agosto de 2008 17:07:59 (GMT-0300) Auto-Detected
Assunto: RE: [Shib-Users] Problems with SP install and mod_shib_22.so

Scott Cantor

unread,
Aug 5, 2008, 6:45:40 PM8/5/08
to shibbole...@internet2.edu
>
> Where I can find the complete config list options for the parameter
> shib_options to define the custom Apache instalation of my server.

From the unpacked source tarball:

./configure --help

Also https://spaces.internet2.edu/display/SHIB2/NativeSPLinuxSRPMBuild

-- Scott

Fabio Batalha C. Santos

unread,
Aug 6, 2008, 1:00:09 PM8/6/08
to shibbole...@internet2.edu
Hi Scott,

Can I install all the following packages compiling and installing the SRPM files?
  1. log4shib (requires the package doxygen from your distribution)
  2. xerces-c
  3. xml-security-c
  4. xmltooling
  5. opensaml
And then install the Shibboleth source using the ./configure? or I need to install all the packages from their source using ./configure?

Thanks
Fabio Batalha

Scott Cantor

unread,
Aug 6, 2008, 1:11:54 PM8/6/08
to shibbole...@internet2.edu
> Can I install all the following packages compiling and installing the SRPM
> files?

Yes.

> 1. log4shib (requires the package doxygen from your distribution)

Only if you don't give it -without=doxygenrpm to override that.

> And then install the Shibboleth source using the ./configure? or I need to
> install all the packages from their source using ./configure?

You don't have to install anything from source. The SRPM for shibboleth can
be rebuilt with whatever options you need.

That said, why are you using a custom Apache?

-- Scott

Peter Schober

unread,
Aug 6, 2008, 1:49:33 PM8/6/08
to shibbole...@internet2.edu
Fabio,

* Scott Cantor <cant...@osu.edu> [2008-08-06 19:12]:


> > Can I install all the following packages compiling and installing the SRPM
> > files?
>

> Yes.
>
> > 1. log4shib (requires the package doxygen from your distribution)
>
> Only if you don't give it -without=doxygenrpm to override that.

$ rpmbuild --rebuild log4shib-1.0-1.src.rpm -D '_without_doxygenrpm=y'

cheers,
-peter

Fabio Batalha C. Santos

unread,
Aug 7, 2008, 10:54:49 AM8/7/08
to shibbole...@internet2.edu

Hi Scott,

 

I did the compile of the RPM file with the following sintaxe:

 

   rpmbuild --rebuild -D 'shib_options --enable-apache-22  --with-apxs22=/usr/local/apache-2.2.2/bin/apxs' shibboleth-2.0-6.src.rpm

 

Then I did the install of the RPM file created and when I try to restart APACHE I have this error!

 

Cannot load /usr/lib/shibboleth/mod_shib_22.so into server: /usr/lib/shibboleth/mod_shib_22.so: undefined symbol: ap_run_http_scheme

 

Thanks,

Fabio Batalha
 


----- Original Message -----
From: "Peter Schober" <peter....@univie.ac.at>
To: shibbole...@internet2.edu
Sent: Wednesday, August 6, 2008 2:49:33 PM (GMT-0300) Auto-Detected
Subject: Re: [Shib-Users] Problems with SP install and mod_shib_22.so

Scott Cantor

unread,
Aug 7, 2008, 11:27:04 AM8/7/08
to shibbole...@internet2.edu
> Cannot load /usr/lib/shibboleth/mod_shib_22.so into server:
> /usr/lib/shibboleth/mod_shib_22.so: undefined symbol: ap_run_http_scheme

Looks like some kind of mismatch, you might have to trace the
configure/build to see what your options actually ended up doing. Or maybe
search the headers and Apache binaries for that symbol. Something's wrong
with the build.

My advice is to not do this. It's a self-inflicted problem. Just use the
Apache you got with the OS. 2.0 is still relatively current, and if it's not
current enough, neither is your OS.

-- Scott


Fabio Batalha C. Santos

unread,
Aug 7, 2008, 1:27:19 PM8/7/08
to shibbole...@internet2.edu
Yes Scott,

I agree with you, unfortunately this is our situation today, and we will need to update our servers to continue with shibboleth.


Thanks,
Fabio Batalha
----- Original Message -----
From: "Scott Cantor" <cant...@osu.edu>
To: shibbole...@internet2.edu

Jim Fox

unread,
Aug 7, 2008, 1:36:45 PM8/7/08
to shibbole...@internet2.edu

>
> I agree with you, unfortunately this is our situation today, and we will
> need to update our servers to continue with shibboleth.
>
>
> > Cannot load /usr/lib/shibboleth/mod_shib_22.so into server:
> > /usr/lib/shibboleth/mod_shib_22.so: undefined symbol:
> ap_run_http_scheme
>

With apache 2.2 ap_run_http_method was renamed to ap_run_http_scheme.

It looks like you built mod_shib for apache 2.2, but you're
attempting to link it with an apache 2.0

Jim

Reply all
Reply to author
Forward
0 new messages