Internal Server Error thrown when trying to login to Cognos

Problem(Abstract)

When trying to login to Cognos 8/10, the following error message is immediately thrown after entering valid credentials:

=================

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

=================

You will also see the following error in the Apache log:

[error] [client x.x.x.56] Premature end of script headers: cognos.cgi, referer: http://<hostname>/ibmcognos/cgi-bin/cognos.cgi?b_action=xts.run&m=portal/main.xts&startwel=yes

Cause

This typically occurs when the user running Apache has insufficient permissions to the Cognos /configuration directory

Environment

- Apache Web Server

- Any Linux/Unix OS


Resolving the problem

To resolve the issue, grant recursive Read & Execute permissions on the /configuration directory (and all of its files/folders) to the Apache/httpd user.

You can also grant Everyone Read & Execute as well to confirm that this is in fact the issue and lock the permissions down afterward if you wish, ie:

chmod 755 -R /configuration





Popular posts from this blog

Shrink you container size up to 95%.

alma linux: dnf Module yaml error: Unexpected key in data