Refine your search:

3
1

I'm running Enterprise on a Linux (RH Ent 5) box. Just installed the PDF app per the directions ("auto" install). Then I scheduled a PDF delivery. My email said:

"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"

In the config, the URL is blank, per the instructions ("Leave blank to use a local PDF server").

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!

asked 28 Apr '10, 19:41

Michael's gravatar image

Michael
168239
accept rate: 8%

edited 26 Jul '10, 22:40

Justin%20Grant's gravatar image

Justin Grant
1.7k181860


3 Answers:

PDF server will make a HTTP call to whatever host you have listed in ‘hostname’. If that hostname doesn’t resolve (to itself, in this case), then the generic URL error is displayed. Try entering a hostname in the PDF server box.

link

answered 29 Apr '10, 15:12

rroberts's gravatar image

rroberts
1.7k218
accept rate: 44%

That was it!

I could have sworn I originally had that in there, then took it out while trouble-shooting.

Oh well, in any case, I put it back in and now it's working.

Thanks Roberts...

(30 Apr '10, 12:46) Michael

hello, could you let me know what exactly you typed in the box to fix this? How do i know what the url should be for my hostname?

(15 Jun '10, 17:07) Hazel

I know you probably did this but just to check did you install Xvfb and xauth as mentioned here? http://www.splunk.com/base/Documentation/4.1.1/Installation/ConfigurePDFprintingforSplunkWeb

link

answered 28 Apr '10, 20:05

rroberts's gravatar image

rroberts
1.7k218
accept rate: 44%

Yes, sir! "On Redhat/CentOS/Fedora, type: yum install Xvfb xauth" Maybe I'll try a manual install and see what happens...

(29 Apr '10, 12:54) Michael

You may be missing essential firefox components on your linux server.

(apt-get install firefox) or equiv. for your flavor of linux (this fixed this for me).

Also - is your Splunk instance running as http or https? If you are using https, you MUST use a valid SSL cert, or you'll just end up in "certificate is not valid" hell. :)

Gary

link

answered 01 Sep '10, 23:35

kstocks's gravatar image

kstocks
1
accept rate: 0%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×168
×68

Asked: 28 Apr '10, 19:41

Seen: 3,432 times

Last updated: 01 Sep '10, 23:35

Copyright © 2005-2012 Splunk Inc. All rights reserved.