Loading nsapi_shib.so results in "stderr:Could not load a transcoding service" on Sun WebServer 6.1 SP 11

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Loading nsapi_shib.so results in "stderr:Could not load a transcoding service" on Sun WebServer 6.1 SP 11

rahuld1123
Posting it again as the earlier post did not get accepted

Hi,

I built Shibboleth SP and all the dependent libraries(all of them were built as 32-bit libraries) on solaris 10 (SPARC 64-bit) and the nsapi module was built for Sun iPlanet WebServer 6.1 SP 11 (32-bit installation)

my magnus.conf entry:

Init fn="load-modules" funcs="nsapi_shib_init,nsapi_shib,shib_handler" shlib="$Shibboleth_Build_Dir/lib/shibboleth/nsapi_shib.so"
Init fn="nsapi_shib_init" server-name="myhost"

When i load the nsapi_shib.so module for a server instance, the server instance failes to start with the below in the error logs

11/Aug/2010:10:25:04] info (14568): CORE1116: Sun ONE Web Server 6.1SP11 B03/25/2009 12:47
[11/Aug/2010:10:25:04] fine (14568): Emulating writev for filter http-compression
[11/Aug/2010:10:25:04] fine (14568): Emulating sendfile for filter http-compression
[11/Aug/2010:10:25:04] fine (14568): HTTP3063: KeepAliveTimeout is 30 seconds (default value)
[11/Aug/2010:10:25:04] fine (14568): HTTP3067: PostThreadsEarly set to off
[11/Aug/2010:10:25:05] info (14568): nsapi_shib_init reports: nsapi_shib loaded for host (myhost)
[11/Aug/2010:10:25:05] warning (14568): CORE3283: stderr: Could not load a transcoding service

shibd starts without any issues (as indicated from the shibd logs)

I had also built the same for Sun iPlanet WebServer 7.0 (32-bit installation) and that runs fine without any issues

Some more information:

I did a truss on the start file for the webserver instance and below is how the warning is generated

18130/1:        stat("/users/is/build/sparc/icu/s8/20020814/icu-sparc-build/usr/src/../../proto/usr/lib/icu/2/icudt2b_uprops.
icu", 0xFFBFABD0) Err#2 ENOENT
18130/1:        stat("icudt2b_uprops.icu", 0xFFBFABD0)          Err#2 ENOENT
18130/1:        stat("/users/is/build/sparc/icu/s8/20020814/icu-sparc-build/usr/src/../../proto/usr/lib/icu/2/uprops.icu", 0x
FFBFABD0) Err#2 ENOENT
18130/1:        stat("uprops.icu", 0xFFBFABD0)                  Err#2 ENOENT
18130/1:        write(2, " C o u l d   n o t   l o".., 36)      = 36
18130/3:        pollsys(0xFD8FADB0, 1, 0xFD8FAD40, 0x00000000)  = 1
18130/1:        write(2, "\n", 1)                               = 1
18130/3:        read(9, " C o u l d   n o t   l o".., 4096)     = 37
18130/3:        getpid()                                        = 18130 [18128]
warning18130/3: write(8, " w a r n i n g", 7)                   = 7
: CORE3283: stderr: Could not load a transcoding service
18130/3:        write(8, " :   C O R E 3 2 8 3 :  ".., 57)      = 57


It is looking for files icudt2b_uprops.icu and uprops.icu which are not found.The warning gets generated because of the below..

Any help would be greatly appreciated