Which RPM contains the script? I can extract it and run it in another directory. My concern is that, since this script has never run since 5.4.13, are there enough schema and other changes to make this risky? I am actually surprised that XI is still running.
*** UPDATE ***
I found the script in the base nagiosxi RPM in /tmp/nagiosxi/. I copied that directory tree to /root and can execute from within. The question is still, "Is it safe to do this?"
Persistent error message displayed
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Persistent error message displayed
that should work just fine, it should run all the updates sequentiallysmblair wrote:*** UPDATE ***
I found the script in the base nagiosxi RPM in /tmp/nagiosxi/. I copied that directory tree to /root and can execute from within. The question is still, "Is it safe to do this?"
from within that directory you should be able to run
Code: Select all
./rpmupgradeRe: Persistent error message displayed
Ok, rather than prolong this, I removed noexec from /tmp and /var/tmp and reinstalled all 5.6.5 RPMs. The error indication is gone, the system profile indicates the correct version (5.6.5) and all seems well. There was an import that failed due to a missing table. You will see it in the attached log.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Persistent error message displayed
great!
I don't believe this should be an issue at all.
Can you apply configuration from the CLI?
I don't believe this should be an issue at all.
Can you apply configuration from the CLI?
Code: Select all
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.shRe: Persistent error message displayed
No, same failure.
> Importing config files into the CCM
- Importing: /usr/local/nagios/etc/import/xitempates.cfg .. ERROR
"Table for import definition 'timeperiod' is not available!<span class="greenmessage">Entry name::xi_contact_generic inside tbl_contacttemplate successfully inserted</span><br>
> Importing config files into the CCM
- Importing: /usr/local/nagios/etc/import/xitempates.cfg .. ERROR
"Table for import definition 'timeperiod' is not available!<span class="greenmessage">Entry name::xi_contact_generic inside tbl_contacttemplate successfully inserted</span><br>
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Persistent error message displayed
I think you have a bad file stuck in the import directory, lets move that file out and try to re-run the apply config
Code: Select all
mv /usr/local/nagios/etc/import/xitempates.cfg ~/xitempates.cfg
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.shRe: Persistent error message displayed
Script ran with some warnings about specific host configs, which we will address. I think we can close this incident. Thanks for your help.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Persistent error message displayed
Great!smblair wrote:Script ran with some warnings about specific host configs, which we will address. I think we can close this incident. Thanks for your help.
Locking