If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

mod2_cognos.so issue - UTF8 error

Started by dropkickmurphy, 08 May 2008 11:14:58 AM

Previous topic - Next topic

dropkickmurphy

Hi All,

When I have the apache module (mod2_cognos.so) loaded and configured as soon as I authenticate (via AD) apache returns a blank page and the following error is reported in the gwmod2.log file:

16:05:32 - 27536 ERROR t:3086911168 Caught a CCLThrowable: <Exception Name="I18NRuntimeError" Error="-3" Severity="Fatal"><Messages><MessageText>The specified encoding is not valid: "UTF8".</MessageText></Messages><TraceInfo><Trace Text="i18n/cpp/i18n_converter.cpp(1525): I18NRuntimeError: CCL_RETHROW: "/><Trace Text="i18n/cpp/i18n_converter.cpp(285): I18NRuntimeError: CCL_THROW: "/></TraceInfo></Exception>

My apache config for cognos is as follows:

# cognos.conf

LoadModule cognos_module "/opt/cognos/c83/cgi-bin/mod2_cognos.so"

<IfModule mod_cognos.c>
        CGIBinDir "/opt/cognos/c83/cgi-bin"
</IfModule>

<Location /cognos8/cgi-bin/cognos_module>
        SetHandler cognos-handler
</Location>

<Location /cognos8/cgi-bin/diag_cognos_module>
        SetHandler cognos-handler
</Location>

ScriptAlias /cognos8/cgi-bin "/opt/cognos/c83/cgi-bin"
Alias /cognos8/help "/opt/cognos/c83/webcontent/documentation"
Alias /cognos8 "/opt/cognos/c83/webcontent"

<Directory "/opt/cognos/c83/cgi-bin">
        Options Indexes MultiViews
        AllowOverride None
        Order deny,allow
        Allow from all
</Directory>

<Directory "/opt/cognos/c83/webcontent/documentation">
        Options Indexes MultiViews
        AllowOverride None
        Order deny,allow
        Allow from all
</Directory>

<Directory "/opt/cognos/c83/webcontent">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Allow from all
</Directory>

Any help would be appreciated. Thx!

swordfish

Hey ....

Can you try giving 'Order allow, deny' instead of 'order deny, allow' ??

Swordfish

Darek

Does cognos.cgi have the same problem?

robyn

Hi,

Did you find a resolution to this issue? I am finding the same thing when testing the datasources via the gateway (but not the dispatcher).

Thanks,

Robyn

kolonell

Think I've seen that before. Try adding the <c8_root>/cgi-bin/ folder the environment variable that controls the Dynamically Linked Libraries. (eg on linux that'll be LD_LIBRARY_PATH)

grindel

Did anyone ever get this one solved?  I'm having the exact same issue - Cognos 8.3 on RHEL 4.  cognos.cgi works fine but since Cognos recommends using mod2_cognos.so we're trying to go that way. 

TIA
Rick

grindel

OK here we go! 

Cognos 8.3 on RHEL 4 Update 5

1) Make sure LD_LIBRARY_PATH includes cognos_base_dir/cgi-bin
2) Don't start apache via "service httpd start | stop" but rather use "apachectl start | stop" - there's something hinky in the way these 2 scripts differ.  I haven't been able to nail it down yet, but working on it.

That was the magic bullet - all is well now.

HTH
Grindel