Fresh Installation Issue on rhel 7

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
ar0431
Posts: 73
Joined: Tue May 21, 2019 12:05 pm

Fresh Installation Issue on rhel 7

Post by ar0431 »

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'
You do not have the required permissions to view the files attached to this post.
ar0431
Posts: 73
Joined: Tue May 21, 2019 12:05 pm

Re: Fresh Installation Issue on rhel 7

Post by ar0431 »

any response????
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Fresh Installation Issue on rhel 7

Post by pbroste »

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:
It looks like MySQL and MariaDB are available on your system. Please pick one:
1 - MariaDB (Default)
2 - MySQL Community
Since that logic is in place, let's have you install the MariaDB via yum install then re-run the 'fullinstall' again.

Thanks,
Perry
ar0431
Posts: 73
Joined: Tue May 21, 2019 12:05 pm

Re: Fresh Installation Issue on rhel 7

Post by ar0431 »

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.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Fresh Installation Issue on rhel 7

Post by pbroste »

Excellent @ar0431; please let us know if you need anything further,
Perry
Locked