Reporting - PDF generation fail "Unable to generate report Error : Caught error spawning Chromium"


I get an error each time i want to generate a PDF report, a pop-up say " Unable to generate report Error : Caught error spawning Chromium".

I already try a lot of things i found on other discussion but nothing works...

Kibana 6.5 is installed on a SLES 12 SP2

A solution provided is to ensure that headless_shell binary located in Kibana data directory is owned by the user who is running Kibana, that the user has the execute permission, that's the case :

admin@linux-5t15:~> ps -eaf |grep kiba
root      2473  2220  8 15:29 pts/1    00:00:22 ./kibana-6.5.4-linux-x86_64/bin/../node/bin/node --no-warnings ./kibana-6.5.4-linux-x86_64/bin/../src/cli
admin     2578  2554  0 15:34 pts/2    00:00:00 grep --color=auto kiba
admin@linux-5t15:~> ll ./kibana-6.5.4-linux-x86_64/data/
total 4
drwxr-xr-x 3 root root 43 Nov 13 14:56 headless_shell-linux
-rw-r--r-- 1 root root 36 Nov 13 10:49 uuid

admin@linux-5t15:~> ll ./kibana-6.5.4-linux-x86_64/data/headless_shell-linux/
total 111116
-rwxr-xr-x 1 root root 113780392 Nov 13 10:49 headless_shell
drwx------ 2 root root         6 Nov 13 14:56 locales

I also installed : fontconfig, freetype, ipa-gothic-fonts, xorg-x11-fonts, xorg-x11-fonts-core, mozilla-nss, mozilla-nspr but still the same issue.

I try ldd command to see missing dependencies and i think all is alright :

    linux-5t15:/home/admin # ldd ./kibana-6.5.4-linux-x86_64/data/headless_shell-linux/headless_shell (0x00007ffdd91f6000) => /lib64/ (0x00007f01f5343000) => /lib64/ (0x00007f01f5126000) => /lib64/ (0x00007f01f4f1e000) => /usr/lib64/ (0x00007f01f4bfb000) => /usr/lib64/ (0x00007f01f49cd000) => /usr/lib64/ (0x00007f01f478f000) => /usr/lib64/ (0x00007f01f4565000) => /usr/lib64/ (0x00007f01f4360000) => /lib64/ (0x00007f01f4063000) => /lib64/ (0x00007f01f3e4c000) => /lib64/ (0x00007f01f3aab000)
	/lib64/ (0x00007f01f5547000) => /usr/lib64/ (0x00007f01f38a6000) => /usr/lib64/ (0x00007f01f36a2000)

need your help to make it works please :slight_smile:

I think kibana is not run by your own user, it should be run by the elasticsearch user when ran as a service.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.