Reports can't be generated

Hi

I’m currently evaluating Graylog and i tried the Report feature. Sadly it does not seem to work…
I’m getting the following error and it sounds like it can’t write the PDF file? But it does not tell me where.
Any ideas?

2019-03-07T19:13:18.743+01:00 INFO  [SystemJobManager] Submitted SystemJob <af406b60-4104-11e9-a2ef-005056839e25> [org.graylog.plugins.report.scheduler.ReportRenderSystemJob]
2019-03-07T19:13:18.746+01:00 INFO  [ReportService] Starting report render engine: http://localhost:9515
2019-03-07T19:13:18.752+01:00 ERROR [ReportService] Failed to shutdown report render engine, process unavailable.
2019-03-07T19:13:18.755+01:00 ERROR [EmailReportSender] Failed to send report:
2019-03-07T19:13:18.755+01:00 ERROR [ReportRenderJob] Failed to send report:
javax.mail.SendFailedException: Couldn't deliver email!
        at org.graylog.plugins.report.sender.EmailReportSender.sendTo(EmailReportSender.java:51) ~[graylog-plugin-enterprise-3.0.0.jar:?]
        at org.graylog.plugins.report.api.ReportService.sendEmails(ReportService.java:300) ~[graylog-plugin-enterprise-3.0.0.jar:?]
        at org.graylog.plugins.report.scheduler.ReportRenderJob.doRun(ReportRenderJob.java:91) [graylog-plugin-enterprise-3.0.0.jar:?]
        at org.graylog.plugins.report.scheduler.ReportRenderJob.run(ReportRenderJob.java:60) [graylog-plugin-enterprise-3.0.0.jar:?]
        at org.graylog.plugins.report.scheduler.ReportRenderSystemJob.execute(ReportRenderSystemJob.java:25) [graylog-plugin-enterprise-3.0.0.jar:?]
        at org.graylog2.system.jobs.SystemJobManager$1.run(SystemJobManager.java:89) [graylog.jar:?]
        at com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedRunnable.run(InstrumentedScheduledExecutorService.java:241) [graylog.jar:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_191]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
Caused by: java.io.FileNotFoundException: Couldn't access PDF file!
        at org.graylog.plugins.report.sender.EmailReportSender.sendEmail(EmailReportSender.java:81) ~[?:?]
        at org.graylog.plugins.report.sender.EmailReportSender.sendEmails(EmailReportSender.java:65) ~[?:?]
        at org.graylog.plugins.report.sender.EmailReportSender.sendTo(EmailReportSender.java:49) ~[?:?]
        ... 13 more
2019-03-07T19:13:18.756+01:00 INFO  [SystemJobManager] SystemJob <af406b60-4104-11e9-a2ef-005056839e25> [org.graylog.plugins.report.scheduler.ReportRenderSystemJob] finished in 13ms.
2019-03-07T19:14:23.294+01:00 INFO  [ReportService] Starting report render engine: http://localhost:9515
2019-03-07T19:14:23.300+01:00 ERROR [ReportService] Failed to shutdown report render engine, process unavailable.
2019-03-07T19:14:36.537+01:00 INFO  [ReportService] Starting report render engine: http://localhost:9515
2019-03-07T19:14:36.541+01:00 ERROR [ReportService] Failed to shutdown report render engine, process unavailable.


It can write the PDF just fine, it just can’t send it to you via e-mail. Make sure your email settings are configured properly in server.conf on all servers :slight_smile:

Thanks for you help :slight_smile:

I don’t think that’s the problem, because Alerts go out just fine.

And if you go down a bit further in the Log it says:

Caused by: java.io.FileNotFoundException: Couldn't access PDF file!

Sounds like a permission issue. But i don’t know where it is trying to write this file. And a file search did not reveal any .pdf files on the machine.

how about reading the documentation?

http://docs.graylog.org/en/3.0/pages/upgrade/graylog-3.0.html#new-bin-dir-and-data-dir-configuration-parameters

http://docs.graylog.org/en/3.0/pages/reporting/setup.html#configuration

Turns out i was looking in all the wrong places…
The reason it didn’t work was the same as here:

Installing “chromium-libs-71.0.3578.98” fixed the problem for me too.

Thanks for your suggestions though

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