Page 3 of 3

Re: problem upgrading to latest version

Posted: Wed Oct 26, 2016 9:05 am
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.

Re: problem upgrading to latest version

Posted: Thu Oct 27, 2016 3:39 pm
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?

Re: problem upgrading to latest version

Posted: Thu Oct 27, 2016 4:23 pm
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.

Re: problem upgrading to latest version

Posted: Fri Oct 28, 2016 12:18 pm
by benhank
Well I guess that last line did the trick! thanks man!

Re: problem upgrading to latest version

Posted: Fri Oct 28, 2016 12:45 pm
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?

Re: problem upgrading to latest version

Posted: Fri Oct 28, 2016 12:47 pm
by benhank
yep lock it up bro!

Re: problem upgrading to latest version

Posted: Fri Oct 28, 2016 1:05 pm
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.