I am trying to install Nagios Analyzer on new machine with the following command. But it failed. It could not find "mariadb". Please see the install log file.
curl https://assets.nagios.com/downloads/nag ... install.sh | sh
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tmp/nagiosna/subcomponents/nfdump-1.6.22/doc'
make[1]: Leaving directory `/tmp/nagiosna/subcomponents/nfdump-1.6.22/doc'
build_nfdump step completed OK
Running 'library_path'...
library_path step completed OK
Running 'nagiosna'...
nagiosna step completed OK
Running 'backend'...
backend step completed OK
Running 'db'...
Redirecting to /bin/systemctl restart mariadb.service
Failed to restart mariadb.service: Unit 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: 'db'
Fresh Installation Issue on rhel 7
Fresh Installation Issue on rhel 7
You do not have the required permissions to view the files attached to this post.
Re: Fresh Installation Issue on rhel 7
any response????
Re: Fresh Installation Issue on rhel 7
Hello @ar0431
Thanks for reaching out, took a look at the Nagios Network Analyzer fullinstaller and we see that there is a check-in place to scan to see if there is MariaDB or MySQL installed. The line found in the installer:
Thanks,
Perry
Thanks for reaching out, took a look at the Nagios Network Analyzer fullinstaller and we see that there is a check-in place to scan to see if there is MariaDB or MySQL installed. The line found in the installer:
Since that logic is in place, let's have you install the MariaDB via yum install then re-run the 'fullinstall' again.It looks like MySQL and MariaDB are available on your system. Please pick one:
1 - MariaDB (Default)
2 - MySQL Community
Thanks,
Perry
Re: Fresh Installation Issue on rhel 7
thanks for the response. But what I found that I have already enabled Fedora EPEL and Mysql Community repositories. Which I think Nagios do not like. Nagios script install EPEL repository by itself. Now it installation is working fine.
Re: Fresh Installation Issue on rhel 7
Excellent @ar0431; please let us know if you need anything further,
Perry
Perry