problem upgrading to latest version

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: problem upgrading to latest version

Post by avandemore »

Run these commands:

Code: Select all

# cd /tmp
# rm -rf nagiosxi
# tar xzf xi-5.3.1.tar.gz
# cd nagiosxi
# ./upgrade
Please report the results.
Previous Nagios employee
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: problem upgrading to latest version

Post by benhank »

ok so i did what you asked and got this:

Code: Select all

Done!
Dashlets installed/updated OK
Attempting to read global hard/soft nofile limits failed. Check /etc/security/limits.conf and try again!
Guys, we are about to migrate our users to this server, so this is kind of critical, can I please set up a session to get this resolved?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: problem upgrading to latest version

Post by avandemore »

Comment out line 839 - 840 in the upgrade script with a '#" and rerun the upgrade. Lines should contain the following text:
# Increase open file limits for switch wizard changes
./subcomponents/mrtg/increase_open_file_limits.sh
Please report the result.
Previous Nagios employee
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: problem upgrading to latest version

Post by benhank »

Well I guess that last line did the trick! thanks man!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: problem upgrading to latest version

Post by avandemore »

Great, glad we were able to get that resolved. Hopefully this particular issue with never be an issue for you again. Are we good to lock this thread?
Previous Nagios employee
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: problem upgrading to latest version

Post by benhank »

yep lock it up bro!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: problem upgrading to latest version

Post by avandemore »

Thanks. FYI, much of what we had to go through here was due to some previous upgrade glitches. On a system say 5.2.9 was never attempted an upgrade to 5.3.X then a brand new upgrade shouldn't run into issues.
Previous Nagios employee
Locked