Update to 5.6.3 appears to have failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Update to 5.6.3 appears to have failed

Post by lmiltchev »

I've also seen an issue where the upgrade fails because there is no snmptt user added to the system. If this happens, just add the user:

Code: Select all

useradd snmptt
and rerun the upgrade. The issue should be fixed in the next release of Nagios XI. It may not fail on your system for this reason - I am just giving you heads up in case this happens. Let us know how it went.
Be sure to check out our Knowledgebase for helpful articles and solutions!
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

it did fail due to that earlier, that has been added along with the appropriate permissions.

adduser snmptt
usermod -a -G nagcmd snmptt
usermod -a -G nagios snmptt
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Update to 5.6.3 appears to have failed

Post by lmiltchev »

Ah, all right then. Did it complete successfully on the last run?
Be sure to check out our Knowledgebase for helpful articles and solutions!
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

it is still going, it takes a very long time.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

that was the first time it has asked my to update sudoers list
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

okay, it said it completed that time

Checking for existing snmptt.conf file
No existing snmptt.conf.nxti file was found, or the file was empty
Adding snmptt.conf.nxti to snmptt.ini
Changing permissions for snmptt.conf
Editing snmptt.ini
Creating a test file for NXTI Test Events to write to
Restarting snmptt
Stopping snmptt: [ OK ]
Starting snmptt: [ OK ]
Restarting snmptrapd

Nagios XI Upgrade Complete!
---------------------------

You can access the Nagios XI web interface by visiting:
http://192.168.99.69/nagiosxi/
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

okay, i think we are good, it says i am at 5.6.3 finally

thanks guys

Anything i should check, just to make sure all is well? since i did run the upgrade about 10 times
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

and i can download the profile now, if you still need to see it
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Update to 5.6.3 appears to have failed

Post by lmiltchev »

You are probably fine - running the upgrade script multiple times wouldn't hurt anything. We don't need the profile, unless you notice an issue, and we need to troubleshoot it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

Okay sounds good, until next time, thanks again.
Locked