Page 1 of 1
5.5 can't upgrade components or wizards
Posted: Thu Jun 28, 2018 3:19 pm
by BanditBBS
When try to upgrade either components or wizards it says upgraded completed but the version still shows the older version. I see no errors in /var/log/messages, anywhere else to check?
Re: 5.5 can't upgrade components or wizards
Posted: Thu Jun 28, 2018 3:34 pm
by BanditBBS
Further investigation seems my ramdisk is full, service-perfdata is taking up the entire mount. Not sure if it's related or not.
Re: 5.5 can't upgrade components or wizards
Posted: Thu Jun 28, 2018 3:40 pm
by jomann
Were there any other issues? You can go into the nagiosxi directory after you've extracted the tarball, then go to subcomponents/xicomponents and do a ./install on the components and see if you get any errors. You can do this on both the xiwizards and xicomponents folders. You can also try running the upgrade again, if the "mysql.5500.updated" file is in the main nagiosxi directory then the upgrade should not error out and should re-install all the subcomponents.
Re: 5.5 can't upgrade components or wizards
Posted: Thu Jun 28, 2018 4:09 pm
by BanditBBS
jomann wrote:Were there any other issues? You can go into the nagiosxi directory after you've extracted the tarball, then go to subcomponents/xicomponents and do a ./install on the components and see if you get any errors. You can do this on both the xiwizards and xicomponents folders. You can also try running the upgrade again, if the "mysql.5500.updated" file is in the main nagiosxi directory then the upgrade should not error out and should re-install all the subcomponents.
I did that, saw no errors but the versions are still old.
Re: 5.5 can't upgrade components or wizards
Posted: Thu Jun 28, 2018 4:23 pm
by jomann
Which ones are out of date? Can you confirm by unzipping the file in the subcomponents/xicomponents/components/<component>.zip and seeing if it has the updated version - and if you do the install for the subcomponents can you save the output and post it?
Re: 5.5 can't upgrade components or wizards
Posted: Fri Jun 29, 2018 7:50 am
by BanditBBS
@jomann, I'm a tool...this is my only dev box, so happens to be the one I installed and played with the RC versions. I force installed all of the subcomponents and all is well with the versions and stuff now. I just have one issue that seems to have been going on since RC2 was installed, none of the graphs are working. I can only see data up until the moment I installed RC2.
Re: 5.5 can't upgrade components or wizards
Posted: Fri Jun 29, 2018 2:18 pm
by cdienger
Try a restart of the cron services:
service crond restart
and tail the perfdata.log and npcd.log files to see if any errors or warnings pop up:
/usr/local/nagiosxi/var/perfdataproc.log
/usr/local/nagios/var/npcd.log
Is a ramdisk being used? If so, check that the npcd.cfg, config.inc.php and nagios.cfg are still intact and configured to use it(
https://assets.nagios.com/downloads/nag ... giosXI.pdf).
Re: 5.5 can't upgrade components or wizards
Posted: Mon Jul 02, 2018 8:57 am
by BanditBBS
Code: Select all
[07-02-2018 08:55:39] NPCD: ERROR: Executed command exits with return code '7'
[07-02-2018 08:55:39] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1530539719.perfdata.service'
There were a couple config files that somehow reverted back to defualt settings. Fixed them for ram drive and now getting those errors in npcd log.
Re: 5.5 can't upgrade components or wizards
Posted: Mon Jul 02, 2018 9:47 am
by BanditBBS
I don't know what changed now, but the errors stopped appearing and graphs are populating again.
Close this up!