Bad password??

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Bad password??

Post 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?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Bad password??

Post 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
Former Nagios Employee
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Bad password??

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Bad password??

Post by dwhitfield »

Did you want us to lock this up or leave it open for the next upgrade?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Bad password??

Post 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. :)
Former Nagios Employee
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Bad password??

Post 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.
Locked