I think so. I modified it to what you said to. If that's the correct setting then yes. I can log into the DB with the default password:Did you fix the path to the nagios.lock file?
Code: Select all
[root@lisl-ngos-01-pv nagiosxi]# mysql -uroot -pnagiosxi
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2533
Server version: 5.1.73 Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> Ctrl-C -- exit!
AbortedCode: Select all
===============
REPAIR COMPLETE
===============
ndo2db was not running... could not stop
Starting ndo2db: done.
Stopping nagios: /etc/init.d/nagios: line 153: kill: (29966) - No such process
done.
Starting nagios: done.
=======================
nagios database repair skipped, no *.MYI files found
nagiosql database repair succeeded