LINUX.ORG.RU

Nagios XI reset_config_perms

 ,


0

1

Nagiox XI предлагает в окне админа решить проблему.

The following configuration files have incorrect permissions:

    /usr/local/nagios/etc/commands.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/contactgroups.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/contacts.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/contacttemplates.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/hostdependencies.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/hostescalations.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/hostextinfo.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/hostgroups.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/hosttemplates.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/servicedependencies.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/serviceescalations.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/serviceextinfo.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/servicegroups.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/servicetemplates.cfg (OWNER=root, GROUP=root, PERMS=u---------)
    /usr/local/nagios/etc/timeperiods.cfg (OWNER=root, GROUP=root, PERMS=u---------)

Each of these config files needs to be writable by the apache and nagios users. To fix this problem, follow these steps:

    Login to your Nagios XI server via SSH as the root user
    Execute the following commands:
        /usr/local/nagiosxi/scripts/reset_config_perms.sh
После чего в терминале:
/usr/local/nagiosxi/scripts/reset_config_perms.sh
RESETTING PERMS
И проблема не исчезает. С чем это связано?

А также при обновлении на более новую версию выдает ошибку:

NAGIOSQL LOGIN FAILED!
И установка обновления останавливается.