Page 1 of 1

Bad password??

Posted: Mon Feb 13, 2017 12:36 pm
by SavaSC
Hello,

I'm really having some issue with upgrading from v5.4.1 to 5.4.2. We have 2 instances of NagiosXI in our company. One instance had an issue with the repository but that is now fixed and that one updated. The second is telling me that the password for the DB is incorrect. (See below) I updated it to v5.4.2 manually no problem, but updating via the UI is a no-go.
---- Starting Nagios XI Backup ----
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
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 errno 28 on write
Error backing up MySQL database 'nagios' - check the password in this script!
As this instance is managed by multiple people, a mistake could have been made and the password changed. Where do I find this password in the settings in order to change it?

Re: Bad password??

Posted: Mon Feb 13, 2017 12:38 pm
by rkennedy
I don't think it's an invalid password, but actually a disk space issue. You may want to expand your disk - https://sittinginoblivion.com/wiki/back ... o-28-write

Re: Bad password??

Posted: Wed Feb 15, 2017 4:26 pm
by SavaSC
Thanks for the response. I looked and drive only had 3% left. I have expanded the drive space quite a bit. I've already upgraded to 5.4.2 manually so I'll have to wait until the next version to see if that fixed it.

Re: Bad password??

Posted: Wed Feb 15, 2017 4:29 pm
by dwhitfield
Did you want us to lock this up or leave it open for the next upgrade?

Re: Bad password??

Posted: Wed Feb 15, 2017 4:31 pm
by rkennedy
SavaSC wrote:Thanks for the response. I looked and drive only had 3% left. I have expanded the drive space quite a bit. I've already upgraded to 5.4.2 manually so I'll have to wait until the next version to see if that fixed it.
That should clear it up. The error at hand was when it tries to create a backup before upgrading, which is why it failed. As you'll have space next time, all should be well. :)

Re: Bad password??

Posted: Fri Feb 17, 2017 3:00 pm
by SavaSC
Thanks again for the help. Go ahead and lock it. If it comes up again, I'll just reference back to this thread.