error during fresh Nagios Xi install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MichielvM
Posts: 160
Joined: Thu Oct 24, 2013 3:48 am

error during fresh Nagios Xi install

Post by MichielvM »

Hello All,

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'
We use Squid as a proxy server. I changed the squidport from 443 to 3128, same result.
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.
I found a post about the postgresql error and decided to start the service manually and try again.
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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: error during fresh Nagios Xi install

Post by lmiltchev »

Most probably these errors were caused by the use of proxy.
We do not officially support Nagios XI when you install and use proxy software...
You can use some "workarounds" in the future if you need to - please, read our FAQ wiki page, regarding proxies here:

http://support.nagios.com/wiki/index.ph ... th_Proxies
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked