The update did not complete successfully. Please try updatin

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ponnpr7
Posts: 90
Joined: Fri Jul 28, 2017 3:55 pm

The update did not complete successfully. Please try updatin

Post by ponnpr7 »

Getting error message while doing the updates. What needs to be done here.

---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up MySQL databases...
mysqldump: Got error: 145: Table './nagios/nagios_systemcommands' is marked as crashed and should be repaired when using LOCK TABLES
Error backing up MySQL database 'nagios' - check the password in this script!


/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Total Warnings: 104
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check

Thanks,
Ravi
dwasswa

Re: The update did not complete successfully. Please try upd

Post by dwasswa »

Try running the following script:

Code: Select all

cd /usr/local/nagiosxi/scripts
Then:

Code: Select all

repair_databases.sh
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: The update did not complete successfully. Please try upd

Post by dwhitfield »

One common cause of db corruption is being out of space. If that's the case, please follow https://assets.nagios.com/downloads/nag ... M-Disk.pdf

What's the output of the following?

Code: Select all

df -i
df -h
Please put the output in a code block. The "Code" button is the fifth from the left on the post input screen (between Quote and List).
ponnpr7
Posts: 90
Joined: Fri Jul 28, 2017 3:55 pm

Re: The update did not complete successfully. Please try upd

Post by ponnpr7 »

I got this solved, there were some files related to repository wasn't deleted. I installed those packages to test the Openstack Environment.
yum install https://repos.fedorapeople.org/repos/op ... noarch.rpm I
I did yum remove rdo-release.

Do you have document how to monitor OpenStack in Nagios XI? Do I need to install any plugin/scripts in Nagios Core?

Thanks,
Ravi Ponnaiah
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: The update did not complete successfully. Please try upd

Post by dwhitfield »

ponnpr7 wrote:
Do you have document how to monitor OpenStack in Nagios XI? Do I need to install any plugin/scripts in Nagios Core?
As this is a separate issue, it should be a separate forum thread. That said, the answer to the document question is no. The answer to the plugin/script question is almost certainly yes. If you have any questions about what you find at https://exchange.nagios.org/index.php?o ... =openstack please open a new thread.
Locked