Page 1 of 1

DBMaint Password & Upgrade Issue

Posted: Mon Mar 17, 2025 3:45 pm
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?

Re: DBMaint Password & Upgrade Issue

Posted: Mon Mar 17, 2025 4:21 pm
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?

Re: DBMaint Password & Upgrade Issue

Posted: Mon Mar 17, 2025 4:54 pm
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: