Hello, I'm trying PDF report server application on Splunk 4.1 on a Centos 5.4 x86_64 server. When I try to test the pdf, I receive the following errors: Adobe Reader: File does not begin with '%PDF-'
I tried with chrome,IE,firefox If I try with document viewer, I receive the following error: Unable to open document : Unhandled MIME type: "text/html"
It works now. The error was to copy the Splunk app from a windows pc to the centos machine. Sorry for noise.
answered 14 Apr '10, 13:33
Sorry, but I don't understand what the fix was. "Copy the Splunk app from a windows pc..."???
I'm running Enterprise on a Linux (RH) box. Just installed the PDF app per the directions. ("auto" install) Then I scheduled a PDF delivery, and got:
"An error occurred while generating a PDF of this report: Failed to generate PDF: Appserver got a 404 response while contacting the PDF server at /services/pdfserver/renderpdf - Check that the PDF Server app is installed and that reportServerURL is correct"
Back in the System Settings, Email Settings -- I try clicking on status page (to generate a test page, I presume) -- it passes all the tests ("true, true, true"), then opens Adobe Reader (8.2.2) with an error box of:
File does not begin with '%PDF-'
Thanks in advance!
answered 28 Apr '10, 19:37
There are some pre-installation requirements on CentOS that you will need to accommodate the app once it is installed. You will also need to specify the hostname perhaps instead of a FQDN, but read the following post that also talks about this... http://answers.splunk.com/questions/1945/pdf-server-404-and-file-does-not-begin-with-pdf
answered 13 Jul '10, 15:34