ERROR 1010 (HY000) Restoring Backup

This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support.

ERROR 1010 (HY000) Restoring Backup

Postby rambertnala » Wed Oct 30, 2019 11:24 am

I am trying to restore a backup but i get this error

Restoring MySQL databases...
ERROR 1010 (HY000) at line 22: Error dropping database (can't rmdir './nagios/' , errno: 17)

What can I do ????
rambertnala
 
Posts: 52
Joined: Fri Feb 26, 2016 7:15 am

Re: ERROR 1010 (HY000) Restoring Backup

Postby rambertnala » Wed Oct 30, 2019 11:39 am

Where can I download .ova version 5.4.13-64 to try to restore backup in a new machine...

New machine mut ne identical to first one??? Number of CPU's Memory etc...

Regards
rambertnala
 
Posts: 52
Joined: Fri Feb 26, 2016 7:15 am

Re: ERROR 1010 (HY000) Restoring Backup

Postby scottwilkerson » Wed Oct 30, 2019 12:42 pm

rambertnala wrote:I am trying to restore a backup but i get this error

Restoring MySQL databases...
ERROR 1010 (HY000) at line 22: Error dropping database (can't rmdir './nagios/' , errno: 17)

What can I do ????

Here you must have dome extra files in the directory, run
Code: Select all
rm -f /var/lib/mysql/nagios


then perform the restore

rambertnala wrote:Where can I download .ova version 5.4.13-64 to try to restore backup in a new machine...

New machine mut ne identical to first one??? Number of CPU's Memory etc...

Regards


You can download here, and the specs of the machine do not have to match the old machine
https://assets.nagios.com/downloads/nagiosxi/5/ovf/nagiosxi-5.4.13-64.ova
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17032
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: ERROR 1010 (HY000) Restoring Backup

Postby rambertnala » Wed Oct 30, 2019 12:45 pm

scottwilkerson wrote:
rambertnala wrote:I am trying to restore a backup but i get this error

Restoring MySQL databases...
ERROR 1010 (HY000) at line 22: Error dropping database (can't rmdir './nagios/' , errno: 17)

What can I do ????

Here you must have dome extra files in the directory, run
Code: Select all
rm -f /var/lib/mysql/nagios


then perform the restore

rambertnala wrote:Where can I download .ova version 5.4.13-64 to try to restore backup in a new machine...

New machine mut ne identical to first one??? Number of CPU's Memory etc...

Regards


You can download here, and the specs of the machine do not have to match the old machine
https://assets.nagios.com/downloads/nagiosxi/5/ovf/nagiosxi-5.4.13-64.ova


Once I have created new machine from .ova file i will restore backup...

And license will be OK. No problem at all.

My servers are offline from Internet, any problem with that???

Thanks and regards
rambertnala
 
Posts: 52
Joined: Fri Feb 26, 2016 7:15 am

Re: ERROR 1010 (HY000) Restoring Backup

Postby scottwilkerson » Wed Oct 30, 2019 12:47 pm

rambertnala wrote:Once I have created new machine from .ova file i will restore backup...

And license will be OK. No problem at all.

My servers are offline from Internet, any problem with that???

Thanks and regards


Should be just fine, the restore will bring along your license key and activation
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17032
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios XI

Who is online

Users browsing this forum: Google [Bot] and 12 guests