I'm running Nagios XI fullinstall but failed at 30dbservers script. Installation managed to start postgresql and mysql , but asking for mysql root password. I entered 'nagiosxi' (without quotes) but it is not accepting. Anyone faced this issue? Please help.
Regards
Sebastian
Mysql root password, not accepting nagiosxi
-
sebastian_anthony
- Posts: 16
- Joined: Tue Aug 18, 2015 11:19 pm
Re: Mysql root password, not accepting nagiosxi
Was this system used for anything before? The existence of a database prior to the fullinstall could produce this behavior. What OS and version is this on?
Former Nagios employee
-
sebastian_anthony
- Posts: 16
- Joined: Tue Aug 18, 2015 11:19 pm
Re: Mysql root password, not accepting nagiosxi
This is a new vm with RHEL 6.7. Nagios XI installation doing first time.
System was giving RHN registration error. So we removed lines from 30 to 45 in 0-repos script. After that ran the installation and it downloaded and installed all packages from configured repos. This is the only change we did.
System was giving RHN registration error. So we removed lines from 30 to 45 in 0-repos script. After that ran the installation and it downloaded and installed all packages from configured repos. This is the only change we did.
-
sebastian_anthony
- Posts: 16
- Joined: Tue Aug 18, 2015 11:19 pm
Re: Mysql root password, not accepting nagiosxi
Error as follows
Repos already configured - exiting.
Prereqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run your package manager's update command
Users/groups already configured - skipping.
PostgresQL installed OK - continuing...
Initializing PostgresQL...
Starting PostgresQL...
Starting postgresql service: [ OK ]
Copying PostgresQL trust-based authentication configuration...
Restarting PostgresQL...
Stopping postgresql service: [ OK ]
Starting postgresql service: [ OK ]
Checking PostgresQL status...
PostgresQL initialized OK
MySQL installed OK - continuing...
Starting MySQL...
Starting mysqld: [ OK ]
Initializing MySQL...
Enter the MySQL root password to continue...
MySQL Root Password: Password failed.
Enter the MySQL root password to continue...
MySQL Root Password: Password failed.
Enter the MySQL root password to continue...
MySQL Root Password: Password failed.
Repos already configured - exiting.
Prereqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run your package manager's update command
Users/groups already configured - skipping.
PostgresQL installed OK - continuing...
Initializing PostgresQL...
Starting PostgresQL...
Starting postgresql service: [ OK ]
Copying PostgresQL trust-based authentication configuration...
Restarting PostgresQL...
Stopping postgresql service: [ OK ]
Starting postgresql service: [ OK ]
Checking PostgresQL status...
PostgresQL initialized OK
MySQL installed OK - continuing...
Starting MySQL...
Starting mysqld: [ OK ]
Initializing MySQL...
Enter the MySQL root password to continue...
MySQL Root Password: Password failed.
Enter the MySQL root password to continue...
MySQL Root Password: Password failed.
Enter the MySQL root password to continue...
MySQL Root Password: Password failed.
Re: Mysql root password, not accepting nagiosxi
Do you have a valid RedHat subscription for the machine? Commenting lines out of the install can cause some problems, such as missing dependencies, which could be happening here. We generally don't support installations where the install script was modified. If you don't have a RedHat subscription, you should be using a minimal install of CentOS 6/7 (preferably 6 at this time).
Former Nagios Employee.
me.
me.
-
sebastian_anthony
- Posts: 16
- Joined: Tue Aug 18, 2015 11:19 pm
Re: Mysql root password, not accepting nagiosxi
We uninstalled mysql and ran fullinstall again. NagiosXI installed successfully
.
After logging in we can see one service is not running - Performance Grapher (NPCD). Trying to bring it up.
After logging in we can see one service is not running - Performance Grapher (NPCD). Trying to bring it up.
-
sebastian_anthony
- Posts: 16
- Joined: Tue Aug 18, 2015 11:19 pm
Re: Mysql root password, not accepting nagiosxi
Perfromance Grapher error was due to incorrect permissions on npcd.pid file. Changed permissions and now it is working.
Thanks all for your inputs ....
Reagrds
Sebastian
Thanks all for your inputs ....
Reagrds
Sebastian
Re: Mysql root password, not accepting nagiosxi
Happy to hear it is working. I have another user running into a similar issue, hopefully this sheds some light on what could be happening.
I am going to lock this thread. Please feel free to post if you run into any more weird stuff!
I am going to lock this thread. Please feel free to post if you run into any more weird stuff!
Former Nagios Employee.
me.
me.