Page 1 of 1

Nagios Installation Error "WKHTMLX"

Posted: Mon Dec 04, 2017 11:01 am
by Sonu Kumar Gupta
Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... =6&t=27886

In the future, please create a new thread and link to the old one instead of adding on.


Hello All,

I am facing below error while installing the NagiosXI. Could you please check and revert..

I have read the other post and made changes on the server :

# grep -v ^# /etc/wgetrc
check_certificate = off

# grep -v ^# /etc/yum.conf
sslverify=false

[root@tx11nagiostestv ~]# rpm -qa wkhtmltox
wkhtmltox-0.12.2.1-1.x86_64
[root@tx11nagiostestv ~]# rpm -ql wkhtmltox
/usr/local/bin/wkhtmltoimage
/usr/local/bin/wkhtmltopdf
/usr/local/include/wkhtmltox/dllbegin.inc
/usr/local/include/wkhtmltox/dllend.inc
/usr/local/include/wkhtmltox/image.h
/usr/local/include/wkhtmltox/pdf.h
/usr/local/lib/libwkhtmltox.so
/usr/local/lib/libwkhtmltox.so.0
/usr/local/lib/libwkhtmltox.so.0.12
/usr/local/lib/libwkhtmltox.so.0.12.2
/usr/local/share/man/man1/wkhtmltoimage.1.gz
/usr/local/share/man/man1/wkhtmltopdf.1.gz


-----------------------------------------------------------------------------------------------------------------------------------
--2017-12-04 09:55:16-- https://assets.nagios.com/downloads/nag ... d64.tar.gz
Resolving assets.nagios.com... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
Unable to establish SSL connection.
ERROR: Subcomponent 'wkhtmlx' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './A-subcomponents'
-----------------------------------------------------------------------------------------------------------------------------------

Re: Nagios Installation Error "WKHTMLX"

Posted: Mon Dec 04, 2017 11:05 am
by Sonu Kumar Gupta
lmiltchev wrote:Can you try installing the package manually?

Code: Select all

cd /tmp/nagiosxi/subcomponents/wkhtmlx
./install
Then run the "./fullinstall" again.
I am trying to install but no luck
----------------------------------------------------------------------------------
wkhtmlx]# ./install
Installing wkhtmltopdf and wkhtmltoimage...
--2017-12-04 10:03:46-- https://assets.nagios.com/downloads/nag ... d64.tar.gz
Resolving assets.nagios.com... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
Unable to establish SSL connection.
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------

Re: Nagios Installation Error "WKHTMLX"

Posted: Mon Dec 04, 2017 2:34 pm
by npolovenko
@Sonu Kumar Gupta, Could it be that your server is blocking outbound connections on port 443?

Code: Select all

telnet 72.14.181.71 443
*You can install telnet with yum install telnet
Or perhaps your server is using a proxy? If yes, then you'd need to add the proxy address to /etc/wgetrc.