I'm trying to install nagiosxi on a new VM in Azure using Ubuntu 22.04.05 by downloading the latest tar file and running fullinstall -n but I'm getting an error on step 13-installxi that I narrowed down to this task # Install the Manage MIBs database (XI 5.6) php ./nagiosxi/basedir/scripts/initialize_mibs.php
these are the last lines of the installer.log
Code: Select all
Editing snmptt.ini
Creating a test file for NXTI Test Events to write to
Modifying permissions
Restarting snmptt
Restarting snmptrapd
<h3>Database Error</h3>Access denied for user 'nagiosxi'@'localhost' (using password: YES)<p>Run the following from the CLI as root to attempt to repair the DB:<br><pre>/usr/local/nagiosxi/
scripts/repair_databases.sh</pre></p>Nagios XI base files installed OK
The user www-data cannot use this program (crontab)
As I have created the VM with terraform I tried to delete it and re-create 3 times but it always end up failing on the same step. Is like the password that the installer configures for nagiosxi DDBB is not being using by that php script because if I get the nagiosxi password from /usr/local/nagiosxi/html/config.inc.php I can successfully connect to the db with mysql -u nagiosxi -pThePassword