<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PDF server:  404 and File does not begin with '%PDF-' in Installation</title>
    <link>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12486#M9084</link>
    <description>&lt;P&gt;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.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2010 22:12:21 GMT</pubDate>
    <dc:creator>rroberts</dc:creator>
    <dc:date>2010-04-29T22:12:21Z</dc:date>
    <item>
      <title>PDF server:  404 and File does not begin with '%PDF-'</title>
      <link>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12483#M9081</link>
      <description>&lt;P&gt;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:&lt;/P&gt;

&lt;P&gt;"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"&lt;/P&gt;

&lt;P&gt;In the config, the URL is blank, per the instructions ("Leave blank to use a local PDF server").&lt;/P&gt;

&lt;P&gt;Back in the System Settings, Email Settings -- I try clicking on &lt;EM&gt;status page&lt;/EM&gt; (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:&lt;/P&gt;

&lt;P&gt;File does not begin with '%PDF-'&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2010 02:41:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12483#M9081</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2010-04-29T02:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: PDF server:  404 and File does not begin with '%PDF-'</title>
      <link>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12484#M9082</link>
      <description>&lt;P&gt;I know you probably did this but just to check did you install Xvfb and xauth as mentioned here? &lt;A href="http://www.splunk.com/base/Documentation/4.1.1/Installation/ConfigurePDFprintingforSplunkWeb" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.1.1/Installation/ConfigurePDFprintingforSplunkWeb&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2010 03:05:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12484#M9082</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2010-04-29T03:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: PDF server:  404 and File does not begin with '%PDF-'</title>
      <link>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12485#M9083</link>
      <description>&lt;P&gt;Yes, sir! &lt;BR /&gt;
"On Redhat/CentOS/Fedora, type: yum install Xvfb xauth"&lt;BR /&gt;
Maybe I'll try a manual install and see what happens...&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2010 19:54:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12485#M9083</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2010-04-29T19:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: PDF server:  404 and File does not begin with '%PDF-'</title>
      <link>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12486#M9084</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2010 22:12:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12486#M9084</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2010-04-29T22:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: PDF server:  404 and File does not begin with '%PDF-'</title>
      <link>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12487#M9085</link>
      <description>&lt;P&gt;That was it!&lt;/P&gt;

&lt;P&gt;I could have &lt;EM&gt;sworn&lt;/EM&gt; I originally had that in there, then took it out while trouble-shooting. &lt;/P&gt;

&lt;P&gt;Oh well, in any case, I put it back in and now it's working.&lt;/P&gt;

&lt;P&gt;Thanks Roberts...&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2010 19:46:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12487#M9085</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2010-04-30T19:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: PDF server:  404 and File does not begin with '%PDF-'</title>
      <link>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12488#M9086</link>
      <description>&lt;P&gt;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?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 00:07:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12488#M9086</guid>
      <dc:creator>Hazel</dc:creator>
      <dc:date>2010-06-16T00:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: PDF server:  404 and File does not begin with '%PDF-'</title>
      <link>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12489#M9087</link>
      <description>&lt;P&gt;You may be missing essential firefox components on your linux server.&lt;/P&gt;

&lt;P&gt;(apt-get install firefox) or equiv. for your flavor of linux (this fixed this for me).&lt;/P&gt;

&lt;P&gt;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. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Gary&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2010 06:35:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/PDF-server-404-and-File-does-not-begin-with-PDF/m-p/12489#M9087</guid>
      <dc:creator>kstocks</dc:creator>
      <dc:date>2010-09-02T06:35:34Z</dc:date>
    </item>
  </channel>
</rss>

