Search Engine: Elastic

Article ID: 117313, created on Sep 17, 2013, last review on Jul 14, 2018

  • Applies to:
  • Business Automation


Attempt to download PDF version of the document (invoice, notification, etc) in the PBA Provider or Customer Control Panel fails with one of the errors below:

PDF generation failed

Error on executing external command: <pdf_conversion_command>


([../stlrt/] unable to open a file '/tmp/pdfxgphzn.pdf': -1)

or the downloaded document is blank.

Possible Causes and Resolutions

  1. Incorrect HTML to PDF conversion command is configured in PBA Provider Control Panel at Communication Director > Notification Manager > PDF Conversion Setting, check if the command syntax is correct:

    There may be command variations with different charsets, htmldoc combination with iconv utility or any other third-party PDF-converter can be used, for more details of correct syntax refer to the documentation of the utility used (these are all third-party utilities).

    Try to execute the same command directly on the server.

  2. Check the MESSAGE.log on the PBA Application server for the details of the error.

    Possible errors with the htmldoc utility executing (which is used in PBA by default):

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF