Installation not completed, fullinstall won't resume
Posted: Thu Oct 18, 2018 3:57 pm
One of our prospects installed Nagios Network Analyzer on CentOS7 and ran into a problem installing wkhtmltopdf. Looking at the relevant output (below) the solution looked simple: install wget package and run ./fullinstall again to resume from the point the previous step failed.
I had to remove line 667 from libinstall.sh that reads "exit 0" to continue fullinstall.
To my surprise the installer exits fullinstall script when I run it again because /usr/local/nagiosna is present.
Thanks in advance, Jørgen van der Meulen
To my surpise the installer immediately exited with "It looks like Nagios Network Analyzer is already installed." although some installed.<step> files were not yet created.Running 'install_cron'...
install_cron step completed OK
Running 'wkhtmltopdf'...
./fullinstall: line 315: wget: command not found
===================
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 Enterprises technical support.
The step that failed was: 'wkhtmltopdf'
I had to remove line 667 from libinstall.sh that reads "exit 0" to continue fullinstall.
To my surprise the installer exits fullinstall script when I run it again because /usr/local/nagiosna is present.
Could you please improve fullinstall logic?do_install_check() {
# Check if NNA is already installed
if [ -d "/usr/local/nagiosna" ]; then
echo "It looks like Nagios Network Analyzer is already installed."
exit 0
fi
Thanks in advance, Jørgen van der Meulen