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
Fresh Install of Nagios 5.8 failing on RHEL 7.4 Server
Re: Fresh Install of Nagios 5.8 failing on RHEL 7.4 Server
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:
If that doesn't fix it, what's the contents of /etc/sudoers?
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) ALLIf 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.
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.
Re: Fresh Install of Nagios 5.8 failing on RHEL 7.4 Server
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.
Thanks for help! This can be closed.