Page 1 of 1

Failed to create PDF report

Posted: Sun Jul 10, 2016 1:48 pm
by Naveed
Hello,

I am unable to get availability report as pdf document.
Getting below error message.


Please help.

Thank you

Re: Failed to create PDF report

Posted: Mon Jul 11, 2016 2:12 am
by Box293
In your screenshot you've blanked out the server address.

Can you go to Admin > System Config > Manage System Config

What is in your "Program URL" and "External URL" fields?

At the command prompt of XI I'll get you to run some tests. Please run this command to ensure a trouble shooting command I am going to use is installed:

Code: Select all

yum install -y bind-utils
Now type the following commands:

Code: Select all

host xxxx
host yyyy
Where:
xxxx = Program URL
yyyy= External URL

Please post the results.

Also, type the following command:

Code: Select all

tail -f /var/log/httpd/error_log
Now try and generate the PDF report.
What appears in the SSH session when the report runs?

How long does it take before the error appears?

Re: Failed to create PDF report

Posted: Mon Jul 11, 2016 5:42 am
by Naveed
Thank you!


I have updated bind-utils on nagios server.

Program URL
http://40.112.151.161/nagiosxi/

No External URL is defined in my settings, required field is empty.

[root@AXmonitor vmn]# host http://40.112.151.161/nagiosxi/
http://40.112.151.161/nagiosxi/ has address 104.239.213.7
http://40.112.151.161/nagiosxi/ has address 198.105.244.11



[root@AXmonitor vmn]# tail -f /var/log/httpd/error_log
[Mon Jul 11 03:25:05.046714 2016] [auth_digest:notice] [pid 1332] AH01757: generating secret for digest authentication ...
[Mon Jul 11 03:25:05.079171 2016] [lbmethod_heartbeat:notice] [pid 1332] AH02282: No slotmem from mod_heartmonitor
[Mon Jul 11 03:25:05.206252 2016] [mpm_prefork:notice] [pid 1332] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 configured -- resuming normal operations
[Mon Jul 11 03:25:05.206279 2016] [core:notice] [pid 1332] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

Re: Failed to create PDF report

Posted: Mon Jul 11, 2016 7:20 am
by Naveed
Great Box293!

Your hint worked for me.
I must appreciate it.

Thank you!

You may close this thread.

Re: Failed to create PDF report

Posted: Mon Jul 11, 2016 9:11 am
by mcapra
Closing this per your request.