I wonder if anyone can help me. I'm building a new Nagios Xi server form scratch.
The install script conked out on installing subcomponents.
I got this part from the install.log:
Code: Select all
It appears as though Ajaxterm is already configured, so we'll skip that step.
Subcomponent 'ajaxterm' installed OK
--2014-03-24 13:37:47-- http://assets.nagios.com/downloads/nagiosxi/components/wkhtmltopdf-0.10.0_rc2-static-amd64.tar.bz2
Connecting to [IPADRESS]:3128... failed: Connection refused.
Traceback (most recent call last):
File "./install", line 25, in <module>
tarname = tarfile.open( wkversion , 'r:bz2' )
File "/usr/lib64/python2.6/tarfile.py", line 1670, in open
return func(name, filemode, fileobj, **kwargs)
File "/usr/lib64/python2.6/tarfile.py", line 1741, in bz2open
fileobj = bz2.BZ2File(name, mode, compresslevel=compresslevel)
IOError: [Errno 2] No such file or directory: 'wkhtmltopdf-0.10.0_rc2-static-amd64.tar.bz2'
ERROR: Subcomponent 'wkhtml' 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'I disabled the squid proxy altogether (relying on customer firewall) That seemed to do the trick. Now the wkhtmltopdf package installed correctly.
Only to have the nagios install script exit with this:
Code: Select all
ERROR: PostgresQL not running - exiting.
ERROR: Nagios XI database was not setup properly - exiting.
This time it worked. I'm out of the woods but into the dark as to why this happened.
It was a fresh install on a VM machine.
Any clues?