Fresh Install of Nagios 5.8 failing on RHEL 7.4 Server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Fresh Install of Nagios 5.8 failing on RHEL 7.4 Server

Post by Berto »

We are attempting to do an install of NagiosXI 5.8 but run into an issue when the installer gets to E-importnagiosql, it fails with this error
Sorry, user root is not allowed to execute '/usr/local/nagiosxi/scripts/reset_config_perms.sh' as root on server.domain

The fullinstall script is being ran as root, the Red Hat server was a fresh install of Red Hat 7.4 server with GUI. The reset_config_perms.sh permissions are the following

-r-xr-x--- 1 root nagios 4894 Feb 5 12:12 reset_config_perms.sh
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Fresh Install of Nagios 5.8 failing on RHEL 7.4 Server

Post by dchurch »

This error message comes from sudo.

Does your organization install a custom sudoers file on the machine?

Inspect /etc/sudoers and ensure this line exists:

Code: Select all

root ALL=(ALL) ALL
If that doesn't fix it, what's the contents of /etc/sudoers?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Re: Fresh Install of Nagios 5.8 failing on RHEL 7.4 Server

Post by Berto »

Sorry, I thought I checked the notify me box. The issue was related to sudo as we point sudoers to LDAP, once we commented that line out the script worked.

Thanks for help! This can be closed.
Locked