Can you please try to run the XI upgrade script? That should replace the binaries. When you restore a 32 bit backup to a 64 bit system, it is also replacing the binaries. What happened, is now a bunch of 32 bit binaries are on your 64 bit system, and it's terribly confused.
If you are restoring a backup from a different OS version or architecture this can be a problem because the backup is overwriting the
compiled binaries.
...
If you have already deleted the /tmp/nagiosxi install directory do the following:
cd /tmp
wget http://assets.nagios.com/downloads/nagi ... est.tar.gz
tar xzf xi-2011-latest.tar.gz
cd /tmp/nagiosxi
touch installed.mrtg
./A-subcomponents
./build-perms-bin
[root@host ~]# tail -n25 /var/log/cron
Jan 7 10:08:01 host crond[15139]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:08:01 host crond[15137]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:08:01 host crond[15140]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:08:01 host crond[15138]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:08:01 host crond[15135]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:09:01 host crond[15202]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:09:01 host crond[15205]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:09:01 host crond[15207]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:09:01 host crond[15200]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:09:01 host crond[15203]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:09:01 host crond[15206]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:09:01 host crond[15204]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:09:01 host crond[15201]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:10:01 host crond[15252]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:10:01 host crond[15254]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:10:01 host crond[15257]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:10:01 host crond[15250]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:10:01 host crond[15251]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:10:01 host crond[15256]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:10:01 host crond[15249]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:10:01 host crond[15253]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:10:01 host crond[15255]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:10:01 host CROND[15259]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jan 7 10:10:01 host crond[15248]: (nagios) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jan 7 10:10:01 host CROND[15262]: (root) CMD (LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok)
[root@host ~]# chage -l nagios
Last password change : Sep 22, 2015
Password expires : Dec 21, 2015
Password inactive : never
Account expires : never
Minimum number of days between password change : 7
Maximum number of days between password change : 90
Number of days of warning before password expires : 14
[root@host ~]# chage -l nagios
Last password change : Sep 22, 2015
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 7
Maximum number of days between password change : 90
Number of days of warning before password expires : 14
Edit
Everything but 'Cleaner' went green but now a most changed back to red after a few minutes:
Capture.PNG
You do not have the required permissions to view the files attached to this post.
[root@host ~]# chage -l nagios
Last password change : Sep 22, 2015
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : -1
Maximum number of days between password change : -1
Number of days of warning before password expires : -1
Think I've fixed it back with the above. Now all Green!
root@localhost: /usr/local/nagios/etc
$ chage -l nagios
Last password change : Oct 01, 2014
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
But glad it's working! I'll be closing this thread now, but feel free to open another if you need anything in the future.