My Oracle Support Banner

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.


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

OS: RedHat Linux version 5 or Oracle Linux 5


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.


To view full details, 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 a vibrant support community of peers and Oracle experts.