Oracle API Gateway Does Not Generate PDF Output for RedHat 5 or Oracle Linux 5 and Reports "Running command for generating report pdf file failed (result code 127)" (Doc ID 2125533.1)

Last updated on APRIL 11, 2016

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.

Symptoms

PROBLEM DESCRIPTION
--------------------
Oracle API Gateway 11.1.2.4 does not generate PDF output in OAG Analytics using wkhtmltopdf version 0.10.0_rc2.  Instead, the following error is observed:
 




ENVIRONMENT
------------
OAG 11.1.2.4
OS: RedHat Linux version 5 or Oracle Linux 5
OAG/Analytics

STEPS TO REPRODUCE
--------------------------

1. Install OAG with Analytics following the document:
Install API Gateway Analytics 

2. Download wkhtmltopdf-0.10.0_rc2-static-amd64.tar.bz2 from here since OAG requires old version 0.10.0_rc2.

3. Follow the step in article:
<Document: 1633745.1> What Is "wkhtmltopdf" And Why Does OAG Analytics Need It ? How To Install "wkhtmltopdf" Into OAG Analytics?

4. Try to generate the PDF from OAG Analytics.

5. You will get the above error.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms