<?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 error Execution of Firefox to create profile failed in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25411#M8478</link>
    <description>&lt;P&gt;@gareth hmm, I had specific errors logged about it. I'll look into it when i'm back from the user conf and update the answer if needed. Thanks for checking this out!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2010 08:44:04 GMT</pubDate>
    <dc:creator>ftk</dc:creator>
    <dc:date>2010-08-11T08:44:04Z</dc:date>
    <item>
      <title>pdf_server error Execution of Firefox to create profile failed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25407#M8474</link>
      <description>&lt;P&gt;I've installed the pdf_server app on my server, but firefox fails to generate the PDF. I have installed all prerequisites listed in the docs.&lt;/P&gt;

&lt;P&gt;Errors in python.log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@splunkpdfserver:/opt/splunk/etc# uname -a
Linux splunkpdfserver 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux
root@splunkpdfserver:/opt/splunk/etc# tail -25 ../var/log/splunk/python.log
2010-08-04 16:15:24,053 WARNING pdfhandler:340 - body=Splunk;4.1.4;4.1.4
2010-08-04 16:15:24,053 WARNING body=Splunk;4.1.4;4.1.4
2010-08-04 16:15:24,054 WARNING pdfhandler:341 - entries=['Splunk', '4.1.4', '4.1.4']
2010-08-04 16:15:24,054 WARNING entries=['Splunk', '4.1.4', '4.1.4']
2010-08-04 16:15:24,058 INFO    xvfb:45 - Started new X server. Now 1 active
2010-08-04 16:15:24,058 INFO Started new X server. Now 1 active
2010-08-04 16:15:24,061 INFO    xvfb:205 - Assigned DISPLAY :5
2010-08-04 16:15:24,061 INFO Assigned DISPLAY :5
2010-08-04 16:15:24,061 INFO    xvfb:115 - Starting X Server: ['/usr/bin/Xvfb', ':5', '-screen', '0', '3000x768x24', '-nolisten', 'tcp']
2010-08-04 16:15:24,061 INFO Starting X Server: ['/usr/bin/Xvfb', ':5', '-screen', '0', '3000x768x24', '-nolisten', 'tcp']
2010-08-04 16:15:24,061 INFO    xvfb:116 - Starting X Server env: {'XAUTHORITY': '/opt/splunk/var/run/splunk/xvfb/xauth-5/Xauthority'}
2010-08-04 16:15:24,061 INFO Starting X Server env: {'XAUTHORITY': '/opt/splunk/var/run/splunk/xvfb/xauth-5/Xauthority'}
2010-08-04 16:15:26,064 INFO    xvfb:122 - X Started
2010-08-04 16:15:26,064 INFO X Started
2010-08-04 16:15:26,152 ERROR   pdfhandler:308 - Execution of Firefox to create profile under x86_64 failed
2010-08-04 16:15:26,152 ERROR Execution of Firefox to create profile under x86_64 failed
2010-08-04 16:15:26,174 ERROR   pdfhandler:308 - Execution of Firefox to create profile under i386 failed
2010-08-04 16:15:26,174 ERROR Execution of Firefox to create profile under i386 failed
2010-08-04 16:15:26,175 ERROR   pdfhandler:423 - Failed to start any version of Firefox
2010-08-04 16:15:26,175 ERROR Failed to start any version of Firefox
2010-08-04 16:15:26,175 ERROR   pdfhandler:637 - (500) Failed to generate a report using Firefox: Failed to start: Check that all Firefox dependencies are met
2010-08-04 16:15:26,175 ERROR (500) Failed to generate a report using Firefox: Failed to start: Check that all Firefox dependencies are met
2010-08-04 16:15:26,175 WARNING xvfb:132 - Stopping X Server 5
2010-08-04 16:15:26,175 WARNING Stopping X Server 5
2010-08-04 16:15:26,192 ERROR An error occurred while generating a PDF of this report: Failed to generate PDF: PDF server at /services/pdfserver/renderpdf returned error: Failed to generate a report using Firefox: Failed to start: Check that all Firefox dependencies are met
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As per &lt;A href="http://answers.splunk.com/questions/1218/why-does-pdf-server-fail-with-the-message-error-pdfhandler453-execution-of-fi" rel="nofollow"&gt;http://answers.splunk.com/questions/1218/why-does-pdf-server-fail-with-the-message-error-pdfhandler453-execution-of-fi&lt;/A&gt; I have tried running the binary and I am getting the result suggested by gareth's answer...but still no PDFs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@splunkpdfserver:/opt/splunk/etc# sudo -H -u splunk DISPLAY=none /opt/splunk/etc/apps/pdfserver/bin/firefox-x86_64/firefox
Error: cannot open display: none
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does anybody have any suggestion on how to get the pdf_server working?&lt;/P&gt;

&lt;P&gt;[edit:]
@gareth, running Ubuntu 10.04 LTS amd64. &lt;A href="http://ubuntu.media.mit.edu/ubuntu-releases/10.04/ubuntu-10.04-server-amd64.iso" rel="nofollow"&gt;http://ubuntu.media.mit.edu/ubuntu-releases/10.04/ubuntu-10.04-server-amd64.iso&lt;/A&gt;. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2010 03:26:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25407#M8474</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2010-08-05T03:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: pdf_server error Execution of Firefox to create profile failed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25408#M8475</link>
      <description>&lt;P&gt;I haven't seen it fail at this point before - Which version of Ubuntu are you running exactly?  I''ll try and reproduce it here&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2010 03:52:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25408#M8475</guid>
      <dc:creator>gareth</dc:creator>
      <dc:date>2010-08-05T03:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: pdf_server error Execution of Firefox to create profile failed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25409#M8476</link>
      <description>&lt;P&gt;Figured this out. If you are running Ubuntu Server edition you will need to install the following packages in addition to xvfb and xauth:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;fontconfig
libxrender1
libxcursor1
libxinerama1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Use this command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;apt-get install xvfb xauth fontconfig libxrender1 libxcursor1 libxinerama1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Aug 2010 00:56:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25409#M8476</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2010-08-06T00:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: pdf_server error Execution of Firefox to create profile failed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25410#M8477</link>
      <description>&lt;P&gt;Thanks for the update - I've modified the docs accordingly - libxcursor1 shouldn't be required though (at least, it wasn't during my tests)&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2010 01:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25410#M8477</guid>
      <dc:creator>gareth</dc:creator>
      <dc:date>2010-08-11T01:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: pdf_server error Execution of Firefox to create profile failed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25411#M8478</link>
      <description>&lt;P&gt;@gareth hmm, I had specific errors logged about it. I'll look into it when i'm back from the user conf and update the answer if needed. Thanks for checking this out!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2010 08:44:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25411#M8478</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2010-08-11T08:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: pdf_server error Execution of Firefox to create profile failed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25412#M8479</link>
      <description>&lt;P&gt;In Splunk 4.3.4 on Ubuntu server 11.4 you can fix the problem installing the libxcursor1 packet, it contains the libXcursor.so.1 library needed to execute the pdf generator.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2012 15:18:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/pdf-server-error-Execution-of-Firefox-to-create-profile-failed/m-p/25412#M8479</guid>
      <dc:creator>sab231</dc:creator>
      <dc:date>2012-10-11T15:18:24Z</dc:date>
    </item>
  </channel>
</rss>

