ERROR 1396 (HY000) at line 3: Operation CREATE USER failed f
Posted: Fri Aug 03, 2018 10:14 am
ERROR 1396 (HY000) at line 3: Operation CREATE USER failed for 'ndoutils'@'localhost'
I uninstalled the Nagiosxi, I uninstalled Mariadb and I deleted the directories /var/lib/mysql/nagios, /usr/local/nagios and when I ran the full installation of version 5.5.2 (I also tried previous versions) and it gave me the error that I show below, reviewing I see that only the nagios database was created but the tables were not created, so when it comes to creating the user ndoutils can not create it because there are no tables for it to do so.
What should I review to correct this problem?
Best regards...
INSTALL: POST-INSTALL: Starting NDOUtils post install...
kernel.msgmnb = 262144000
kernel.msgmax = 262144000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
kernel.msgmni = 512000
NOTE: If prompted, enter the MySQL root password
ERROR 1396 (HY000) at line 3: Operation CREATE USER failed for 'ndoutils'@'localhost'
ERROR: Subcomponent 'ndoutils' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './A-subcomponents'
I uninstalled the Nagiosxi, I uninstalled Mariadb and I deleted the directories /var/lib/mysql/nagios, /usr/local/nagios and when I ran the full installation of version 5.5.2 (I also tried previous versions) and it gave me the error that I show below, reviewing I see that only the nagios database was created but the tables were not created, so when it comes to creating the user ndoutils can not create it because there are no tables for it to do so.
What should I review to correct this problem?
Best regards...
INSTALL: POST-INSTALL: Starting NDOUtils post install...
kernel.msgmnb = 262144000
kernel.msgmax = 262144000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
kernel.msgmni = 512000
NOTE: If prompted, enter the MySQL root password
ERROR 1396 (HY000) at line 3: Operation CREATE USER failed for 'ndoutils'@'localhost'
ERROR: Subcomponent 'ndoutils' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './A-subcomponents'