Hi,
We use XI 5.4.3.
I'm following the prescribed Nagios document on restoring a backup onto an fresh XI instance. The I'm getting this error (see last 2 lines). The password has not changed from the default. Any idea why I would be getting this error? Thx.
Extracting backup to /store/backups/nagiosxi/1493745549-restore...
In /store/backups/nagiosxi/1493745549-restore/1493741697...
Backup files look okay. Preparing to restore...
Shutting down services...
Executable file /usr/local/nagios/bin/nagios not found. Exiting.
Executable file /usr/local/nagios/bin/ndo2db not found. Exiting.
rm: cannot remove `/usr/local/nagiosxi/var/subsys/npcd.pid': No such file or directory
NPCD was not running.
Restoring directories to /...
Restoring Nagios Core...
Restoring Nagios XI...
Restoring NagiosQL...
Restoring NagiosQL backups...
Restoring NRDP backups...
Restoring MRTG...
Restoring Nagvis backups...
Restoring MySQL databases...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Error restoring MySQL database 'nagios' - check the password in this script!
Nagios XI Restore Failing
Re: Nagios XI Restore Failing
plz close. I simply manually started service mysqld to create file '/var/lib/mysql/mysql.sock'. Then ran the restore script again, which allowed the restore to complete successfully.