Page 1 of 2

Nagios XI upgrade

Posted: Tue Jan 03, 2017 2:49 pm
by ab3pu
Trying to upgrade my Nagios XI.

It seems to have failed. Here is a copy of the output.

Any thoughts?
---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
tar: /usr/local/nagios/share/perfdata/Environmental-CHS-SH3-POE/Ping.rrd: file changed as we read it
tar: /usr/local/nagios/share/perfdata/Environmental-CHS-SH3-POE/_HOST_.rrd: file changed as we read it
tar: /usr/local/nagios/share/perfdata/Environmental-CHS-SH3-POE: file changed as we read it
tar: /usr/local/nagios/share/perfdata/CHS-DC-R17-PDU1/_HOST_.rrd: file changed as we read it
tar: /usr/local/nagios/share/perfdata/CHS-DC-R17-PDU1: file changed as we read it
tar: /usr/local/nagios/share/perfdata/Infrastructure-V-SYNPROD-DC-02/_HOST_.rrd: file changed as we read it
tar: /usr/local/nagios/share/perfdata/Infrastructure-V-SYNPROD-DC-02: file changed as we read it
tar: /usr/local/nagios/share/perfdata: file changed as we read it
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up MySQL databases...
mysqldump: Got error: 145: Table './nagiosxi/xi_meta' is marked as crashed and should be repaired when using LOCK TABLES
Error backing up MySQL database 'nagiosxi' - check the password in this script!
Thanks in advance,
Bill

Re: Nagios XI upgrade

Posted: Tue Jan 03, 2017 3:02 pm
by dwhitfield
What's the output of ls -l /etc/init.d/ndo2db?

You'll also want to take a look at https://support.nagios.com/kb/article.p ... ategory=44

Re: Nagios XI upgrade

Posted: Wed Jan 04, 2017 10:00 am
by ab3pu
[root@V-TCS-NAGIOSXI ~]# ls -l /etc/init.d/ndo2db
-rwxr-xr-x 1 root root 4476 Oct 4 18:32 /etc/init.d/ndo2db

Re: Nagios XI upgrade

Posted: Wed Jan 04, 2017 10:44 am
by rkennedy
Did running the repair script help? You'll need to do so, then attempt the upgrade once again.

Re: Nagios XI upgrade

Posted: Wed Jan 04, 2017 11:08 am
by ab3pu
Repair worked, but upgrade failed again.

Re: Nagios XI upgrade

Posted: Wed Jan 04, 2017 11:27 am
by dwhitfield
Did you roll back to something that was previously working? If so, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info).

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.

UPDATE: Profile received and shared with techs.

Re: Nagios XI upgrade

Posted: Wed Jan 04, 2017 11:33 am
by ab3pu
system profile attached.

Re: Nagios XI upgrade

Posted: Wed Jan 04, 2017 2:36 pm
by dwhitfield
ab3pu wrote:Trying to upgrade my Nagios XI.
I assume you are trying to upgrade to 5.4.0? Could you try upgrading to 5.3.4 first and see if that goes through?

Re: Nagios XI upgrade

Posted: Thu Jan 05, 2017 8:23 am
by ab3pu
I believe I already upgraded to 5.3.4.

I must tell you that this forum support model is beginning to frustrate me. I have two active issues that I don't have resolutions on because we keep going back and forth.

Re: Nagios XI upgrade

Posted: Thu Jan 05, 2017 10:14 am
by tmcdonald
ab3pu wrote:I must tell you that this forum support model is beginning to frustrate me. I have two active issues that I don't have resolutions on because we keep going back and forth.
Have you opened an email ticket with us? If you are a current customer, you can email [email protected] to open an email ticket, and from there we can do a remote session if needed.

You can also give us a call if you have phone support (optional) or you can email [email protected] if you are interested in adding this.