Page 2 of 5
Re: Update to 5.6.3 appears to have failed
Posted: Tue Jul 09, 2019 9:49 am
by danniiffxi
tgriep wrote:Run the following to create the snmptt user and re-run the upgrade.
Code: Select all
adduser snmptt
usermod -a -G nagcmd snmptt
usermod -a -G nagios snmptt
This worked for me, many thanks tgriep..
Re: Update to 5.6.3 appears to have failed
Posted: Tue Jul 09, 2019 9:50 am
by danniiffxi
benningtonr wrote:is this for Danni to run or me?
Both, we have the same error. it should work for you also. either way it can't hurt if it does not work

Re: Update to 5.6.3 appears to have failed
Posted: Tue Jul 09, 2019 9:50 am
by benningtonr
running upgrade again now, fingers crossed
Re: Update to 5.6.3 appears to have failed
Posted: Tue Jul 09, 2019 10:25 am
by benningtonr
getting same thing when trying to get profile
PROFILE BUILD FAILED
Array
(
)
CODE: 1
ran the three lines as directed, and ran the update again as root, still not completing.
i started capturing the install script a few seconds after i started it, ai am uploading the txt file
Re: Update to 5.6.3 appears to have failed
Posted: Tue Jul 09, 2019 10:37 am
by benningtonr
Should i try running the update from the GUI, i have always done it via CLI
Re: Update to 5.6.3 appears to have failed
Posted: Tue Jul 09, 2019 11:00 am
by tgriep
@benningtonr, Follow this article to fix the Profile Build Failure.
https://support.nagios.com/kb/article/n ... d-533.html
Stick with the CLI upgrade but run this procedure to do it.
Code: Select all
cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.3.tar.gz
tar xzf xi-5.6.3.tar.gz
cd /tmp/nagiosxi
sed -i '/\/mysql\/schema_/s/$/ --force/' upgrade
./upgrade
This should allow the upgrade to finish without the database update error.
Re: Update to 5.6.3 appears to have failed
Posted: Tue Jul 09, 2019 11:21 am
by benningtonr
[root@nagios tmp]# wget
https://assets.nagios.com/downloads/nag ... 6.3.tar.gz
--2019-07-09 12:21:31--
https://assets.nagios.com/downloads/nag
Resolving assets.nagios.com... 72.14.181.71, 2600

:f03c:91ff:fedf:b821
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
https://assets.nagios.com/redirects/red ... nloads/nag [following]
--2019-07-09 12:21:31--
https://assets.nagios.com/redirects/red ... nloads/nag
Reusing existing connection to assets.nagios.com:443.
HTTP request sent, awaiting response... 404 Not Found
2019-07-09 12:21:31 ERROR 404: Not Found.
--2019-07-09 12:21:31-- http://.../
Resolving ...... failed: Name or service not known.
wget: unable to resolve host address “...”
--2019-07-09 12:21:31--
http://6.3.tar.gz/
Resolving 6.3.tar.gz... failed: Name or service not known.
wget: unable to resolve host address “6.3.tar.gz”
Re: Update to 5.6.3 appears to have failed
Posted: Tue Jul 09, 2019 11:26 am
by benningtonr
i used these lines, and then the rest of your lines
wget
http://assets.nagios.com/downloads/nagi ... est.tar.gz
tar xzf xi-latest.tar.gz
running install now fingers crossed
Re: Update to 5.6.3 appears to have failed
Posted: Tue Jul 09, 2019 11:52 am
by benningtonr
well that did not work, got the exact URL from your link, and running all the commands you sent exactly as sent, installing yet again.
Hopefully fifth time is a charm
Re: Update to 5.6.3 appears to have failed
Posted: Tue Jul 09, 2019 11:54 am
by benningtonr
I have captured the last two installs in a single txt file, if this one fails i will upload the file.