©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#651 Re: General matters » VMWare ESXi: error code 131 | trapped SIGTERM (13) » 2020-12-21 10:10:24

Your issue seems related to the SSH tunnel or the server component.
The repository folder is created, but when the first file transfer takes place the error is raised: [b]illegal seek[/b], on a system call.
You distro/GLibC could be not compatible with (c)XSIBackup.
To tell you the truth, the set of C functions that we use is indeed simple and should be compatible with "almost anything".
We can't certify every distro out there though, so please try to stick to CentOS/RHEL/Fedora

Also: Debian Buster is a really new release. You are trying to use a back end that is way forward (c)ESXi, which usually sticks to much older versions of OpenSSL & OpenSSH binaries, thus you are forcing things too much. Your OpenSSH versions could not even be compatible. Use CentOS 6/7, we have also tested equivalent in time Ubuntu versions with no issue.

#652 Re: General matters » Getting CLVMKFS1 error 39 during crontask » 2020-12-21 08:06:03

Yes, it may work, but you will be forced to use the [b]--backup-how=cold[/b] option, namely: your VMs will be turned off during the backup processs.

#653 Re: General matters » VMWare ESXi: hardware Segmentation fault » 2020-12-21 08:03:43

Contact us to get some older version.

We will revise the code to try to identify your issue, nonetheless it's not a generalized problem and must probably affect some particular condition that you share.

JoJo: you never provided any details on your issue in this forum. Please, do not assume or make others think that you share some common problem when you have not provided details that demonstrate that, it's misleading.

Wowbagger's issue is not even about backup, the segfault is raised when processing information on the VMs, not when backing them up. It's probably something quite trivial, still it will need to be identified to offer a solution.

Please, try to give as much information as you can: whether you are using NFS or VMFS, the size of your VMs, the jobs and output. This goes for JoJo, Wowbagger has already provided enough info.

UPDATE:

Contact us on support and we will provide some special debug version/s with some extra messages that will detect where exactly things are going wrong in your case. Once we detect where the issue is we'll publish the conclusions, otherwise we are going to make this post grow with speculations on the possible cause.

#654 Re: General matters » Getting CLVMKFS1 error 39 during crontask » 2020-12-20 13:53:36

That error is simply telling you that there already exists a file by that name and that you can't overwrite it, due to the nature of how [b]vmkfstools[/b] works.
[b](c)XSIBackup-Free[/b] deletes the remote content previous to perform a backup, so that you don't receive that message, but for some reason is failing in your case: permissions issue?

Nonetheless, that message is also telling you that you aren't doing things very well, as simply keeping a copy of some VM and overwritting it on every new backup cycle is by no means a backup. Should something go wrong in the original VM, e.g. some ransomware incident, your copy would soon be corrupted too.

If you use [b]vmkfstools[/b] to perform backups, use some [url=https://33hops.com/xsibackup-pro-dynamically-naming.html]dynamic folder[/url] as the target of your backups, or use the [b][url=https://33hops.com/xsibackup-help-man-page.html#datedir]--date-dir[/url][/b] argument.

#655 Re: General matters » VMWare ESXi: hardware Segmentation fault » 2020-12-17 18:24:44

[quote=wowbagger]Splitting did not really work for some reason, perhaps it has to do with the VM name characters. I'm looping over the list so there is just a single xsibackup invocation each time as opposed to providing a long list of VM's.
I noticed in /scratch/downloads/ the exported configs .tgz files accumulate, maybe also a candidate for cleaning after a backup run.[/quote]

Version 1.4.2.8 will include a [b]/scratch/downloads[/b] folder clean up.

#656 Re: General matters » VMWare ESXi: error code 131 | trapped SIGTERM (13) » 2020-12-17 17:58:59

Is there an .xsitools file in the root of that folder?
This new info helps us to narrow the problem down in more detail.
If there's no such file, then:

1 - Check whether a [b]/scratch/XSI/XSIBackup-DC/tmp/NNN/.xsitools[/b] file exists in your local ESXi server, where NNN is the pid of the launched job.
2 - Make sure that you are using [b]root[/b] as the remote user. You can fine tune your jobs later on, but at first, don't introduce uncertainties regarding permissions that can complicate debugging.

#657 Re: General matters » VMWare ESXi: error code 131 | trapped SIGTERM (13) » 2020-12-17 17:17:28

Just another seemingly silly question.
Did you exchange keys with the remote host to be able to access the remote FS?.

There is also some clarifying message:

[b]Illegal seek[/b]

We would need to debug your particular set up to find out the exact cause, but we can't do that if you go your own way.
The thing is that DC has some dependencies that we cannot guarantee to be met by any Linux distro, thus we recommend CentOS/RHEL because we have tested them thoroughly. We have also tested it on Ubuntu and some other distros.

If you use some distro out of the recommended ones, you are entering unknown territories.

A good way to minimize incompatibilities is to just copy the public key to the remote server's [b]authorized_keys[/b] file, that is: exchange keys manually and then retry. Again, we don't know what that distro might have installed by default or whether even if xsibackup can run there.

Try at least to login to the remote host and run:

# xsibackup --help

To see if the binary can execute in the server side.

#658 Re: General matters » Error of no space left » 2020-12-17 17:04:56

It must be the local /tmp dirs at:

/tmp
/scratch/XSI/XSIBackup-DC/tmp

Delete any files/ folders there. Next version 1.4.2.8 will include a fix.

#659 Re: General matters » VMWare ESXi: hardware Segmentation fault » 2020-12-17 17:02:06

Nothing around variables length seems to be the issue. The fact that your VM list is so long made us pointed our investigation in that direction.

We found this message in your log:

[b]Could not retrieve disk metadata all blocks will be scanned[/b]

That indicates that some of your VMs reside in an NFS host or that the metadata for that VM is corrupt, as it could not be retrieved.

If you have mixed datastore types VMFS & NFS, try to group VMs by datastore type into two different jobs. We will check that posibility in search of an eventual bug.

If you don't have NFS datastores, then clone that VM with vmkfstools to regenerate the associated metadata.

#660 Re: General matters » VMWare ESXi: hardware Segmentation fault » 2020-12-17 16:51:50

Be careful if you cut & paste, you may be inputting characters out of the ASCII set.

Yes, that will need some clean up, those files are rather small and they are deleted on every reboot, but if you use the --config-backup very often, a good number of .tgz files may end up there.

We are working on this issue, we'll come up with a definitive solution or answer after the weekend, if not before.

#661 Re: General matters » VMWare ESXi: hardware Segmentation fault » 2020-12-16 16:33:12

[b]JoJo[/b], your problem should be fixed by now, if not contact us for a remote session.
That kind of errors happen when something goes out of control e.g.: a full FS.
There were some circumstances in which the /tmp folders could fill up, we are working to fix that on 1.4.2.8
Please remove the /tmp folder and the local tmp folder at installation root:

rm -rf /tmp/*
rm -rf /scratch/XSIBackup-DC/tmp/*

If the problem persists, just contact our support e-mail to appoint a session too.

UPDATE:

We believe it could just be some variable holding the VM names overflowing, still it halts the backup.
Try to split the VMs in two groups until we find the exact cause. We were about to release 1.4.2.8, we'll wait a bit to check all those implied vars.

#662 Re: General matters » VMWare ESXi: error code 131 | trapped SIGTERM (13) » 2020-12-15 20:30:15

We haven't tested that distro thoroughly enough. We recommend that you use CentOS/RHEL 6/7/8 in production.
Have you copied the [b]xsibackup[/b] binary to the remote /bin folder on the remote Linux box?

#663 Re: © XSITools » xsibackup-rsync: not foundrsync: connection unexpectedly closed » 2020-12-14 16:32:38

Set the remote location of the xsibackup installation path using the
[b][url=https://33hops.com/xsibackup-help-man-page.html#remotexsipath]--remote-xsipath[/url][/b] argument.

#664 Re: General matters » VMWare ESXi: error code 131 | trapped SIGTERM (13) » 2020-12-14 16:26:07

What Linux distro are you using in the remote end?

You got a 13 signal which is a broken pipe. You will find more details in the remote error log at [b]/var/log/xsi/error.log[/b]
Most probably it is due to some lack of permissions or similar issue.

#665 (c)XSIBackup-Pro & DC bug tracker » /tmp/xsi dir is not wiped » 2020-12-13 18:21:50

admin
Replies: 0

The [b]/tmp/xsi[/b] dir is not wiped, accumulating many different PID subfolders.
Will be fixed in 1.4.2.8

#666 Re: General matters » Error code 665 » 2020-12-13 17:25:03

You were faster than we were.

Yes, the issue is clear, you run out of space in the /tmp folder and the generated .map file was partially written, the deduplication process detected this inconsistency and raised the error.

(c)XSIBackup-DC should clean the /tmp/xsi folder on every run. You can remove it manually.
We'll check everything related to this clean up and eventually release a fix in next upgrade.

#668 Re: General matters » Getting CLVMKFS1 error Failed to clone disk only with cronjob (solved) » 2020-12-09 15:57:30

Yes, there use to be problems with NFS 4 in some ESXi versions.
Just switch down to NFS 3, you don't have any advantage in using NFS 4

#669 Re: General matters » Can't install XSI free - need /scratch (solved) » 2020-12-09 15:54:59

It looks like you already have some dir by that name at: /scratch/XSI
Delete it manually.

#670 Re: © OneDiff » Backup of one VM fails, every other day. » 2020-12-01 12:34:42

We have narrowed the problem down more than a generic error allows to.
What about?

tail -n1000 /scratch/log/hostd.log | grep -i "error"

#671 Re: © OneDiff » Backup of one VM fails, every other day. » 2020-12-01 12:16:38

If you took the time to trace this error down to its primary cause, you would probably find it has to do with the MySQL service, could also be any other service running in the VM which refuses to be quiesced or is not playing well with VMWare Tools.

In case this is not caused by some incompatibility or lack of some piece of software, a reboot will help it. If, on the contrary, this is caused by some sort of incompatibiity, you will need to contact the vendor

#672 Re: © OneDiff » Backup of one VM fails, every other day. » 2020-12-01 11:37:37

That is the recommended (by ©VMWare itself) package for Linux guests.
If you upgraded the OS and you have not rebooted the host services, most likely cause is some process loaded into memory is expecting to communicate with some previous version of something. ESXi is great, but it's still not perfect.

#673 Re: © OneDiff » Backup of one VM fails, every other day. » 2020-12-01 11:01:39

You only have one issue: not being able to delete the snapshot. The rest of errors are just derived from that fact.
Not being able to delete a snapshot is one of the most common errors in (c)ESXi, it can be due to a number of reasons.

(c)XSIBackup-Pro is just the postman, it forwards the message thrown by the (c)ESXi shell, which we agree is not very verbose.

To delve into the details on why that error was raised you will have to search in the VM and host logs. You will find the VM logs in the same dir where the .vmx file is kept, the host logs are at /scratch/logs, we would take a look at [b]/scratch/log/hostd.log[/b]

Most common reasons are:

- You are trying to quiesce a service, but (c)VMWare tools are not installed or they are not working properly with the service to be quiesced.
- There isn't room enough to perform the operation.
- Some disk is damaged.
- Some ESXi service is not working properly.

Before going any further, just reboot the host. If the problem persists, you can read our posts on how to deal with snapshot errors:

[url=https://33hops.com/esxi-snapshot-errors-and-solutions.html](c)ESXi most frequent snapshot errrors and solutions[/url]
[url=https://33hops.com/troubleshooting-windows-snapshots-in-esxi.html]Windows specific post on snapshots[/url]

#674 (c)XSIBackup-Pro & DC bug tracker » --config-backup fails over IP » 2020-11-30 17:31:38

admin
Replies: 0

Bug backing up config via the --config-backup argument over IP. Fix scheduled in 1.4.2.7, will be rleased aprox. Dec-3rd

UPDATE 2020-12-03:

This bug was fixed in v. 1.4.2.7

#675 Re: General matters » BP: 2 Servers VM with VMDK disk spread in 2 Local datastores » 2020-11-21 10:19:55

Then you have a different kind of problem.
Why are you focusing on trying to fix a problem that you don't have while ignoring the key matter?.
Sorry for being that clear, but it doesn't make sense to offer support without being cruelly sincere.

Board footer