IBM Support

Premature end of script header encountered in apache log when accessing url

Troubleshooting


Problem

[Issue 1 When trying to access a cube source from the browser get the premature end of script error in apache logs. Issue 2] After configuring apache_mod support for the gateway, when trying to access the cognos connection portal, the 'premature end of script' error is seen in the apache logs.

Symptom

Issue 1
Internal server error, the server encountered an internal error and is unable to complete your request Premature end of script header, /usr/local/apache/share/cgi-bin/ppwb/temp/<file>.htm

This occurs when attempting to connect to a cube from your browser when you are using an Apache web server.

Issue 2

In the apache.log, one sees:

Premature end of script headers: mod2_cognos.so

In the browser, one sees:

Internal server error, the server encountered an internal error and is unable to complete your request.

[{"Product":{"code":"SSTQPQ","label":"IBM Cognos Series 7 PowerPlay"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"PowerPlay Enterprise Server","Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"","label":"aix"},{"code":"PF016","label":"Linux"},{"code":"","label":"solaris"}],"Version":"Cognos 8 BI Install and Config 8.1;Cognos 8 BI Install and Config 8.2;Cognos 8 BI Query Studio 8.1;Cognos 8 BI Report Studio 8.1;Cognos ReportNet 1.1MR3;PowerPlay Enterprise Server 6.5;PowerPlay Enterprise Server 7.3","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Install and Config","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Query Studio","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Report Studio","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SUNSET","label":"PRODUCT REMOVED"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":"ReportNet","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"SSTQPQ","label":"IBM Cognos Series 7 PowerPlay"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"PowerPlay Enterprise Server","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

73327

Document Information

Modified date:
09 May 2025

UID

swg21367653