DBMaint Password & Upgrade Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
lveitch
Posts: 38
Joined: Fri Mar 22, 2024 10:02 am

DBMaint Password & Upgrade Issue

Post by lveitch »

Hey everyone!

Hopefully a quick question. So the DBMaint password was created when our system was first built and it has a parenthesis in it.

When running the upgrade to 1.4.1, it tells me that it cant because line 27: syntax error near unexpected token `)' and when I check the line its the dbmaint password.

Is there a recommended way to get around this or do I need to change the password now?
lveitch
Posts: 38
Joined: Fri Mar 22, 2024 10:02 am

Re: DBMaint Password & Upgrade Issue

Post by lveitch »

So I changed the password in MySQL but when I try to run the upgrade again; it appears to be pulling the login information from another file somewhere as its the old password. Can anyone tell me where its pulling it from? I thought it was in /usr/local/nagiosxi/etc/xi-sys.cfg but that is a read-only file so thats being compiled from somewhere else also.

Any pointers?
lveitch
Posts: 38
Joined: Fri Mar 22, 2024 10:02 am

Re: DBMaint Password & Upgrade Issue

Post by lveitch »

Ahh i found it! I was one folder off...it was /usr/local/nagiosxi/var and modify that xi-sys.cfg file with the newly updated password for the dbmaintpass (2 spots in the file you have to change it) and that did the trick! :mrgreen:
Post Reply