Reset Config Permissions Failed
Posted: Thu Mar 22, 2012 4:06 pm
We're trying to cut over from a virtual instance of NagiosXI to a physical one on it's own dedicated server. During the migration process, we've run into a series of issues I've been trying to resolve. Initially we found that performance data wasn't displaying properly, but resolved that with the assistance of a post on the forums, converting the perfdata .rrd files to rrd.xml, followed by a compression, transfer, and restore using the rrdtool.
Shortly afterwards, we identified trouble with the mrtg check for our bandwidth graphs. It does not appear to be pulling any data from the devices. This remains an issue at the moment.
When attempting to update the configuration through Nagios Core Configuration Manager, we are receiving an error "Reset Config Permissions Failed." I attempted to reset the configuration permissions manually via /usr/local/nagioxi/scripts/reset_config_perms.sh. This returns a "RESETTING PERMS" but nothing else, and does not resolve. In addition the "reset_config_perms" file returns:
-bash: /usr/local/nagiosxi/scripts/reset_config_perms: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Running the "reconfigure_nagios.sh" script returns the following:
So I think we definitely have our work cut out for us. Any help would be greatly appreciated!
- Dan
Shortly afterwards, we identified trouble with the mrtg check for our bandwidth graphs. It does not appear to be pulling any data from the devices. This remains an issue at the moment.
When attempting to update the configuration through Nagios Core Configuration Manager, we are receiving an error "Reset Config Permissions Failed." I attempted to reset the configuration permissions manually via /usr/local/nagioxi/scripts/reset_config_perms.sh. This returns a "RESETTING PERMS" but nothing else, and does not resolve. In addition the "reset_config_perms" file returns:
-bash: /usr/local/nagiosxi/scripts/reset_config_perms: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Running the "reconfigure_nagios.sh" script returns the following:
Code: Select all
[root@noc scripts]# ./reconfigure_nagios.sh
URL: http://localhost/nagiosql/index.php
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=377rMNT2' -O nagiosql.login--2012-03-22 15:56:32-- http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosql/admin.php [following]
--2012-03-22 15:56:32-- http://localhost/nagiosql/admin.php
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5286 (5.2K) [text/html]
Saving to: ânagiosql.loginâ
100%[===================================================================================================================>] 5,286 --.-K/s in 0s
2012-03-22 15:56:32 (281 MB/s) - ânagiosql.loginâ
LOGIN SUCCESSFUL!
IMPORTING CONFIG FILES...URL: http://localhost/nagiosql/admin/import.php
Array
(
)
./export_nagiosql.sh: ./reset_config_perms: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
RESETTING CONFIG PERMS FAILED!\n
- Dan