Deployment Architecture

PDF Report Server App error : firefox-i386/firefox-bin: error while loading shared libraries: /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/dep/lib/libgtk-x11-2.0.so.0: file too short

RohiniJindam
Path Finder

I installed the PDF Report Server App on my linux box.

Installed the following packages :

fontconfig
libxrender1
libxinerama1

Enabled the app in alert_actions.conf

Set the Link hostname in Email Alert Settings

The staus page shows the following error inside the blue box: Failed to load PDF Document

Running the command- sudo /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/firefox gave the following error :

firefox-i386/firefox-bin: error while loading shared libraries: /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/dep/lib/libgtk-x11-2.0.so.0: file too short

When i try to preview the pdf in Actions--> Schedule pdf delivery.., for my view (built using advanced xml), i get the following error:

An error occurred while rendering the 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

Increased the firefox_timeout in the pdf_server.conf

My machine details : Linux Ubuntu02 3.5.0-30-generic #51-Ubuntu SMP Tue May 14 18:49:52 UTC 2013 i686 i686 i686 GNU/Linux

Using Splunk version 5.0.3, build 163460

Errors in python.log:

2013-06-12 17:37:41,024 +0530 INFO  pdfhandler:646 - Starting PDF App Renderer Version 1.3
2013-06-12 17:37:41,024 INFO Starting PDF App Renderer Version 1.3
2013-06-12 17:37:41,035 +0530 WARNING   pdfhandler:458 - body=Splunk;5.0.3;5.0.3
2013-06-12 17:37:41,035 WARNING body=Splunk;5.0.3;5.0.3
2013-06-12 17:37:41,035 +0530 WARNING   pdfhandler:459 - entries=['Splunk', '5.0.3', '5.0.3']
2013-06-12 17:37:41,035 WARNING entries=['Splunk', '5.0.3', '5.0.3']
2013-06-12 17:37:41,051 +0530 INFO  xvfb:45 - Started new X server. Now 1 active
2013-06-12 17:37:41,051 INFO Started new X server. Now 1 active
2013-06-12 17:37:41,051 +0530 WARNING   pdfhandler:551 - Restricting Firefox to following hosts only: *:53 
2013-06-12 17:37:41,051 WARNING Restricting Firefox to following hosts only: *:53 
2013-06-12 17:37:41,051 +0530 INFO  pdfhandler:558 - Executing /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/firefox -print http://hostname:8000/en-US/app/SplunkforCiscoIronportWSA/overview -printmode pdf -printfile /tmp/tmp8wZVOt -title Splunk Report -orientation portrait -paperwidth 216 -paperheight 279 -mode splunk -timeout 180 -windowsize 782x768 -footer_right Generated by Splunk at &D -cookie session_id_8000=317a46519a6e7254cdd5a8b6babbf4d3c306dc05
2013-06-12 17:37:41,051 INFO Executing /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/firefox -print http://hostname:8000/en-US/app/SplunkforCiscoIronportWSA/overview -printmode pdf -printfile /tmp/tmp8wZVOt -title Splunk Report -orientation portrait -paperwidth 216 -paperheight 279 -mode splunk -timeout 180 -windowsize 782x768 -footer_right Generated by Splunk at &D -cookie session_id_8000=317a46519a6e7254cdd5a8b6babbf4d3c306dc05
 2013-06-12 17:37:41,057 +0530 INFO xvfb:205 - Assigned DISPLAY :5
 2013-06-12 17:37:41,057 INFO Assigned DISPLAY :5
 2013-06-12 17:37:41,057 +0530 INFO xvfb:115 - Starting X Server: ['/usr/bin/Xvfb', ':5', '-screen', '0', '3000x768x24', '-nolisten', 'tcp']
 2013-06-12 17:37:41,057 INFO Starting X Server: ['/usr/bin/Xvfb', ':5', '-screen', '0', '3000x768x24', '-nolisten', 'tcp']
 2013-06-12 17:37:41,057 +0530 INFO xvfb:116 - Starting X Server env: {'XAUTHORITY': '/opt/splunk/var/run/splunk/xvfb/xauth-5/Xauthority'}
 2013-06-12 17:37:41,057 INFO Starting X Server env: {'XAUTHORITY': '/opt/splunk/var/run/splunk/xvfb/xauth-5/Xauthority'}
 2013-06-12 17:37:43,061 +0530 INFO xvfb:122 - X Started
 2013-06-12 17:37:43,061 INFO X Started
 2013-06-12 17:37:43,131 +0530 ERROR    pdfhandler:623 - Execution of Firefox for i386 failed
 2013-06-12 17:37:43,131 ERROR Execution of Firefox for i386 failed
 2013-06-12 17:37:43,131 +0530 ERROR    pdfhandler:625 - FF STDERR: /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/firefox-bin: error while loading shared libraries: /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/dep/lib/libgtk-x11-2.0.so.0: file too short
 2013-06-12 17:37:43,131 ERROR FF STDERR: /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/firefox-bin: error while loading shared libraries: /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/dep/lib/libgtk-x11-2.0.so.0: file too short
 2013-06-12 17:37:43,132 +0530 ERROR    pdfhandler:761 - (500) Failed to generate a report using Firefox: Failed to start: Check that all Firefox dependencies are met
 2013-06-12 17:37:43,132 ERROR (500) Failed to generate a report using Firefox: Failed to start: Check that all Firefox dependencies are met
 2013-06-12 17:37:43,132 +0530 WARNING  xvfb:132 - Stopping X Server 5
 2013-06-12 17:37:43,132 WARNING Stopping X Server 5

What am i missing? Any suggestion welcome. Thankyou

1 Solution

michael_sanchez
Path Finder

Hi,

Check the lib directory :

ls -l /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/dep/lib/

Example :

drwx--x--x 3 splunk splunk    4096 Apr 17 12:23 alsa-lib
-rwx--x--x 1 splunk splunk   14953 Apr 17 12:23 connect-restrict.so
drwx--x--x 4 splunk splunk    4096 Apr 17 12:23 gtk-2.0
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libIDL-2.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libIDL-2.so.0
-rwx--x--x 1 splunk splunk  216666 Apr 17 12:23 libIDL-2.so.0.0.0
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libasound.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libasound.so.2
-rwx--x--x 1 splunk splunk 1369309 Apr 17 12:23 libasound.so.2.0.0
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libatk-1.0.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libatk-1.0.so.0
-rwx--x--x 1 splunk splunk  185875 Apr 17 12:23 libatk-1.0.so.0.2913.1
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libcairo.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libcairo.so.2
-rwx--x--x 1 splunk splunk  750388 Apr 17 12:23 libcairo.so.2.10800.10
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libdatrie.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libdatrie.so.0
-rwx--x--x 1 splunk splunk   31563 Apr 17 12:23 libdatrie.so.0.0.4
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libexpat.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libexpat.so.1
-rwx--x--x 1 splunk splunk  227604 Apr 17 12:23 libexpat.so.1.5.2
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libfreetype.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libfreetype.so.6
-rwx--x--x 1 splunk splunk  793718 Apr 17 12:23 libfreetype.so.6.3.20

If the lib files are empty then you have the same issue I encountered.

Try to reinstall the app through the tar command (tar xvzf pdfserver.tar.gz) and restart splunk. Now the files should be linked to the correct libraries and everything should be ok.

I don't know why but the installation of the app through the web manager doesn't work correctly.

View solution in original post

michael_sanchez
Path Finder

This is what I was saying. The lib files are not linked correctly to each other.

Your files should be :

total 21060
drwx--x--x 3 splunk splunk 4096 Dec 2 2011 alsa-lib
-rwx--x--x 1 splunk splunk 13358 Dec 2 2011 connect-restrict.so
drwx--x--x 4 splunk splunk 4096 Dec 2 2011 gtk-2.0
lrwxrwxrwx 1 splunk splunk 17 Jul 9 18:40 libIDL-2.so -> libIDL-2.so.0.0.0
lrwxrwxrwx 1 splunk splunk 17 Jul 9 18:40 libIDL-2.so.0 -> libIDL-2.so.0.0.0
-rwx--x--x 1 splunk splunk 212570 Dec 2 2011 libIDL-2.so.0.0.0
lrwxrwxrwx 1 splunk splunk 18 Jul 9 18:40 libasound.so -> libasound.so.2.0.0
lrwxrwxrwx 1 splunk splunk 18 Jul 9 18:40 libasound.so.2 -> libasound.so.2.0.0
-rwx--x--x 1 splunk splunk 1126705 Dec 2 2011 libasound.so.2.0.0
lrwxrwxrwx 1 splunk splunk 22 Jul 9 18:40 libatk-1.0.so -> libatk-1.0.so.0.2913.1
lrwxrwxrwx 1 splunk splunk 22 Jul 9 18:40 libatk-1.0.so.0 -> libatk-1.0.so.0.2913.1
-rwx--x--x 1 splunk splunk 152640 Dec 2 2011 libatk-1.0.so.0.2913.1
lrwxrwxrwx 1 splunk splunk 22 Jul 9 18:40 libcairo.so -> libcairo.so.2.10800.10
lrwxrwxrwx 1 splunk splunk 22 Jul 9 18:40 libcairo.so.2 -> libcairo.so.2.10800.10
-rwx--x--x 1 splunk splunk 626364 Dec 2 2011 libcairo.so.2.10800.10
lrwxrwxrwx 1 splunk splunk 18 Jul 9 18:40 libdatrie.so -> libdatrie.so.0.0.4
lrwxrwxrwx 1 splunk splunk 18 Jul 9 18:40 libdatrie.so.0 -> libdatrie.so.0.0.4
-rwx--x--x 1 splunk splunk 27163 Dec 2 2011 libdatrie.so.0.0.4
lrwxrwxrwx 1 splunk splunk 17 Jul 9 18:40 libexpat.so -> libexpat.so.1.5.2
lrwxrwxrwx 1 splunk splunk 17 Jul 9 18:40 libexpat.so.1 -> libexpat.so.1.5.2
-rwx--x--x 1 splunk splunk 210354 Dec 2 2011 libexpat.so.1.5.2
lrwxrwxrwx 1 splunk splunk 21 Jul 9 18:40 libfreetype.so -> libfreetype.so.6.3.20
lrwxrwxrwx 1 splunk splunk 21 Jul 9 18:40 libfreetype.so.6 -> libfreetype.so.6.3.20
-rwx--x--x 1 splunk splunk 637870 Dec 2 2011 libfreetype.so.6.3.20
lrwxrwxrwx 1 splunk splunk 21 Jul 9 18:40 libgailutil.so -> libgailutil.so.18.0.1
lrwxrwxrwx 1 splunk splunk 21 Jul 9 18:40 libgailutil.so.18 -> libgailutil.so.18.0.1
-rwx--x--x 1 splunk splunk 37136 Dec 2 2011 libgailutil.so.18.0.1
lrwxrwxrwx 1 splunk splunk 13 Jul 9 18:40 libgcc_s.so -> libgcc_s.so.1
-rw------- 1 splunk splunk 232362 Dec 2 2011 libgcc_s.so.1
lrwxrwxrwx 1 splunk splunk 26 Jul 9 18:40 libgdk-x11-2.0.so -> libgdk-x11-2.0.so.0.1600.6
lrwxrwxrwx 1 splunk splunk 26 Jul 9 18:40 libgdk-x11-2.0.so.0 -> libgdk-x11-2.0.so.0.1600.6
-rwx--x--x 1 splunk splunk 782011 Dec 2 2011 libgdk-x11-2.0.so.0.1600.6
lrwxrwxrwx 1 splunk splunk 29 Jul 9 18:40 libgdk_pixbuf-2.0.so -> libgdk_pixbuf-2.0.so.0.1600.6
lrwxrwxrwx 1 splunk splunk 29 Jul 9 18:40 libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.1600.6
-rwx--x--x 1 splunk splunk 134914 Dec 2 2011 libgdk_pixbuf-2.0.so.0.1600.6
lrwxrwxrwx 1 splunk splunk 34 Jul 9 18:40 libgdk_pixbuf_xlib-2.0.so -> libgdk_pixbuf_xlib-2.0.so.0.1600.6
lrwxrwxrwx 1 splunk splunk 34 Jul 9 18:40 libgdk_pixbuf_xlib-2.0.so.0 -> libgdk_pixbuf_xlib-2.0.so.0.1600.6
-rwx--x--x 1 splunk splunk 73633 Dec 2 2011 libgdk_pixbuf_xlib-2.0.so.0.1600.6
lrwxrwxrwx 1 splunk splunk 22 Jul 9 18:40 libgio-2.0.so -> libgio-2.0.so.0.2200.4
lrwxrwxrwx 1 splunk splunk 22 Jul 9 18:40 libgio-2.0.so.0 -> libgio-2.0.so.0.2200.4
-rwx--x--x 1 splunk splunk 879905 Dec 2 2011 libgio-2.0.so.0.2200.4
lrwxrwxrwx 1 splunk splunk 23 Jul 9 18:40 libglib-2.0.so -> libglib-2.0.so.0.2200.4
lrwxrwxrwx 1 splunk splunk 23 Jul 9 18:40 libglib-2.0.so.0 -> libglib-2.0.so.0.2200.4
-rwx--x--x 1 splunk splunk 1133178 Dec 2 2011 libglib-2.0.so.0.2200.4
lrwxrwxrwx 1 splunk splunk 26 Jul 9 18:40 libgmodule-2.0.so -> libgmodule-2.0.so.0.2200.4
lrwxrwxrwx 1 splunk splunk 26 Jul 9 18:40 libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.2200.4
-rwx--x--x 1 splunk splunk 15859 Dec 2 2011 libgmodule-2.0.so.0.2200.4
lrwxrwxrwx 1 splunk splunk 26 Jul 9 18:40 libgobject-2.0.so -> libgobject-2.0.so.0.2200.4
lrwxrwxrwx 1 splunk splunk 26 Jul 9 18:40 libgobject-2.0.so.0 -> libgobject-2.0.so.0.2200.4
-rwx--x--x 1 splunk splunk 323655 Dec 2 2011 libgobject-2.0.so.0.2200.4
lrwxrwxrwx 1 splunk splunk 26 Jul 9 18:40 libgthread-2.0.so -> libgthread-2.0.so.0.2200.4
lrwxrwxrwx 1 splunk splunk 26 Jul 9 18:40 libgthread-2.0.so.0 -> libgthread-2.0.so.0.2200.4
-rwx--x--x 1 splunk splunk 21416 Dec 2 2011 libgthread-2.0.so.0.2200.4
lrwxrwxrwx 1 splunk splunk 26 Jul 9 18:40 libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.1600.6
lrwxrwxrwx 1 splunk splunk 26 Jul 9 18:40 libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.1600.6
-rwx--x--x 1 splunk splunk 5345862 Dec 2 2011 libgtk-x11-2.0.so.0.1600.6
lrwxrwxrwx 1 splunk splunk 19 Jul 9 18:40 libmudflap.so -> libmudflap.so.0.0.0
lrwxrwxrwx 1 splunk splunk 19 Jul 9 18:40 libmudflap.so.0 -> libmudflap.so.0.0.0
-rwx--x--x 1 splunk splunk 250225 Dec 2 2011 libmudflap.so.0.0.0
lrwxrwxrwx 1 splunk splunk 21 Jul 9 18:40 libmudflapth.so -> libmudflapth.so.0.0.0
lrwxrwxrwx 1 splunk splunk 21 Jul 9 18:40 libmudflapth.so.0 -> libmudflapth.so.0.0.0
-rwx--x--x 1 splunk splunk 260102 Dec 2 2011 libmudflapth.so.0.0.0
...

You should try to :

  • uninstall pdfreport server
  • check the checksum of your pdfserver.tar.gz file
  • reinstall pdfreport server with the command tar xvzf pdfserver.tar.gz in etc/apps

This worked for me.

michael_sanchez
Path Finder

Great !
I think this is a bug. I reported it to Splunk support.

RohiniJindam
Path Finder

And it worked like a charm. Thanks a lot. Is that a bug?

0 Karma

RohiniJindam
Path Finder

Sure.

drwx--x--x 3 root root    4096 Jun 12 17:14 alsa-lib
-rwx--x--x 1 root root   13358 Jun 12 17:14 connect-restrict.so
drwx--x--x 4 root root    4096 Jun 12 17:14 gtk-2.0
-rwx--x--x 1 root root       0 Jun 12 17:14 libasound.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libasound.so.2
-rwx--x--x 1 root root 1126705 Jun 12 17:14 libasound.so.2.0.0
-rwx--x--x 1 root root       0 Jun 12 17:14 libatk-1.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libatk-1.0.so.0
-rwx--x--x 1 root root  152640 Jun 12 17:14 libatk-1.0.so.0.2913.1
-rwx--x--x 1 root root       0 Jun 12 17:14 libcairo.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libcairo.so.2
-rwx--x--x 1 root root  626364 Jun 12 17:14 libcairo.so.2.10800.10
-rwx--x--x 1 root root       0 Jun 12 17:14 libdatrie.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libdatrie.so.0
-rwx--x--x 1 root root   27163 Jun 12 17:14 libdatrie.so.0.0.4
-rwx--x--x 1 root root       0 Jun 12 17:14 libexpat.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libexpat.so.1
-rwx--x--x 1 root root  210354 Jun 12 17:14 libexpat.so.1.5.2
-rwx--x--x 1 root root       0 Jun 12 17:14 libfreetype.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libfreetype.so.6
-rwx--x--x 1 root root  637870 Jun 12 17:14 libfreetype.so.6.3.20
-rwx--x--x 1 root root       0 Jun 12 17:14 libgailutil.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libgailutil.so.18
-rwx--x--x 1 root root   37136 Jun 12 17:14 libgailutil.so.18.0.1
-rwx--x--x 1 root root       0 Jun 12 17:14 libgcc_s.so
-rw------- 1 root root  232362 Jun 12 17:14 libgcc_s.so.1
-rwx--x--x 1 root root       0 Jun 12 17:14 libgdk_pixbuf-2.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libgdk_pixbuf-2.0.so.0
-rwx--x--x 1 root root  134914 Jun 12 17:14 libgdk_pixbuf-2.0.so.0.1600.6
-rwx--x--x 1 root root       0 Jun 12 17:14 libgdk_pixbuf_xlib-2.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libgdk_pixbuf_xlib-2.0.so.0
-rwx--x--x 1 root root   73633 Jun 12 17:14 libgdk_pixbuf_xlib-2.0.so.0.1600.6
-rwx--x--x 1 root root       0 Jun 12 17:14 libgdk-x11-2.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libgdk-x11-2.0.so.0
-rwx--x--x 1 root root  782011 Jun 12 17:14 libgdk-x11-2.0.so.0.1600.6
-rwx--x--x 1 root root       0 Jun 12 17:14 libgio-2.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libgio-2.0.so.0
-rwx--x--x 1 root root  879905 Jun 12 17:14 libgio-2.0.so.0.2200.4
-rwx--x--x 1 root root       0 Jun 12 17:14 libglib-2.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libglib-2.0.so.0
-rwx--x--x 1 root root 1133178 Jun 12 17:14 libglib-2.0.so.0.2200.4
-rwx--x--x 1 root root       0 Jun 12 17:14 libgmodule-2.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libgmodule-2.0.so.0
-rwx--x--x 1 root root   15859 Jun 12 17:14 libgmodule-2.0.so.0.2200.4
-rwx--x--x 1 root root       0 Jun 12 17:14 libgobject-2.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libgobject-2.0.so.0
-rwx--x--x 1 root root  323655 Jun 12 17:14 libgobject-2.0.so.0.2200.4
-rwx--x--x 1 root root       0 Jun 12 17:14 libgthread-2.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libgthread-2.0.so.0
-rwx--x--x 1 root root   21416 Jun 12 17:14 libgthread-2.0.so.0.2200.4
-rwx--x--x 1 root root       0 Jun 12 17:14 libgtk-x11-2.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libgtk-x11-2.0.so.0
-rwx--x--x 1 root root 5345862 Jun 12 17:14 libgtk-x11-2.0.so.0.1600.6
-rwx--x--x 1 root root       0 Jun 12 17:14 libIDL-2.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libIDL-2.so.0
-rwx--x--x 1 root root  212570 Jun 12 17:14 libIDL-2.so.0.0.0
-rwx--x--x 1 root root       0 Jun 12 17:14 libmudflap.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libmudflap.so.0
-rwx--x--x 1 root root  250225 Jun 12 17:14 libmudflap.so.0.0.0
-rwx--x--x 1 root root       0 Jun 12 17:14 libmudflapth.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libmudflapth.so.0
-rwx--x--x 1 root root  260102 Jun 12 17:14 libmudflapth.so.0.0.0
-rwx--x--x 1 root root       0 Jun 12 17:14 libpango-1.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libpango-1.0.so.0
-rwx--x--x 1 root root  372115 Jun 12 17:14 libpango-1.0.so.0.2800.1
-rwx--x--x 1 root root       0 Jun 12 17:14 libpangocairo-1.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libpangocairo-1.0.so.0
-rwx--x--x 1 root root   65785 Jun 12 17:14 libpangocairo-1.0.so.0.2800.1
-rwx--x--x 1 root root       0 Jun 12 17:14 libpangoft2-1.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libpangoft2-1.0.so.0
-rwx--x--x 1 root root  769451 Jun 12 17:14 libpangoft2-1.0.so.0.2800.1
-rwx--x--x 1 root root       0 Jun 12 17:14 libpangox-1.0.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libpangox-1.0.so.0
-rwx--x--x 1 root root   62851 Jun 12 17:14 libpangox-1.0.so.0.2800.1
-rwx--x--x 1 root root       0 Jun 12 17:14 libpixman-1.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libpixman-1.so.0
-rwx--x--x 1 root root  883941 Jun 12 17:14 libpixman-1.so.0.17.4
-rwx--x--x 1 root root       0 Jun 12 17:14 libpng12.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libpng12.so.0
-rwx--x--x 1 root root  193361 Jun 12 17:14 libpng12.so.0.42.0
-rwx--x--x 1 root root       0 Jun 12 17:14 libpng.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libpng.so.3
-rwx--x--x 1 root root  203177 Jun 12 17:14 libpng.so.3.42.0
-rwx--x--x 1 root root       0 Jun 12 17:14 libssp.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libssp.so.0
-rwx--x--x 1 root root   33133 Jun 12 17:14 libssp.so.0.0.0
-rwx--x--x 1 root root       0 Jun 12 17:14 libstdc++.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libstdc++.so.6
-rwx--x--x 1 root root 4422763 Jun 12 17:14 libstdc++.so.6.0.8
-rwx--x--x 1 root root       0 Jun 12 17:14 libthai.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libthai.so.0
-rwx--x--x 1 root root   36515 Jun 12 17:14 libthai.so.0.1.1
-rwx--x--x 1 root root       0 Jun 12 17:14 libxml2.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libxml2.so.2
-rwx--x--x 1 root root 1723966 Jun 12 17:14 libxml2.so.2.7.6
-rwx--x--x 1 root root       0 Jun 12 17:14 libz.so
-rwx--x--x 1 root root       0 Jun 12 17:14 libz.so.1
-rwx--x--x 1 root root   93016 Jun 12 17:14 libz.so.1.2.3
drwx--x--x 3 root root    4096 Jun 12 17:14 pango
-rwx--x--x 1 root root    9711 Jun 12 17:14 relocate.so
0 Karma

michael_sanchez
Path Finder

Hi,

Check the lib directory :

ls -l /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/dep/lib/

Example :

drwx--x--x 3 splunk splunk    4096 Apr 17 12:23 alsa-lib
-rwx--x--x 1 splunk splunk   14953 Apr 17 12:23 connect-restrict.so
drwx--x--x 4 splunk splunk    4096 Apr 17 12:23 gtk-2.0
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libIDL-2.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libIDL-2.so.0
-rwx--x--x 1 splunk splunk  216666 Apr 17 12:23 libIDL-2.so.0.0.0
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libasound.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libasound.so.2
-rwx--x--x 1 splunk splunk 1369309 Apr 17 12:23 libasound.so.2.0.0
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libatk-1.0.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libatk-1.0.so.0
-rwx--x--x 1 splunk splunk  185875 Apr 17 12:23 libatk-1.0.so.0.2913.1
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libcairo.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libcairo.so.2
-rwx--x--x 1 splunk splunk  750388 Apr 17 12:23 libcairo.so.2.10800.10
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libdatrie.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libdatrie.so.0
-rwx--x--x 1 splunk splunk   31563 Apr 17 12:23 libdatrie.so.0.0.4
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libexpat.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libexpat.so.1
-rwx--x--x 1 splunk splunk  227604 Apr 17 12:23 libexpat.so.1.5.2
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libfreetype.so
-rwx--x--x 1 splunk splunk       0 Apr 17 12:23 libfreetype.so.6
-rwx--x--x 1 splunk splunk  793718 Apr 17 12:23 libfreetype.so.6.3.20

If the lib files are empty then you have the same issue I encountered.

Try to reinstall the app through the tar command (tar xvzf pdfserver.tar.gz) and restart splunk. Now the files should be linked to the correct libraries and everything should be ok.

I don't know why but the installation of the app through the web manager doesn't work correctly.

michael_sanchez
Path Finder

Weird. Could you give us the result of : ls -l /opt/splunk/etc/apps/pdfserver/bin/firefox-i386/dep/lib/

0 Karma

RohiniJindam
Path Finder

Thankyou for your response. The lib files seem to be fine

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...