Discussions specific to the VMware vSphere hypervisor
Kas_Tigar
Influencer
Posts: 13
Liked: 2 times
Joined: Jan 29, 2015 9:18 am
Contact:

connecting to guest os via vix failed.

Post by Kas_Tigar » Jan 29, 2015 3:09 pm

Hi. I am new to veeam and have a strange issue. Trying to go with guest processing with Windows Server 2012 or 2008 VM, I am getting the follow:
- connecting to guest os via RPC successful
- connecting to guest os via vix failed. Failed to open VM (datatore/vmx file). VIX Error: there was an error in communication code 14010

I do not understand what the problem is.
Please help.
Thanks!

Shestakov
Veeam Software
Posts: 7059
Liked: 725 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: connecting to guest os via vix failed.

Post by Shestakov » Jan 29, 2015 3:20 pm

Hi,
According to the error code, looks like you have a problem with a name resolution. Have you tried a relevant VMware KB?
If it doesn`t work, please contact Veeam technical support.
Thanks.

Kas_Tigar
Influencer
Posts: 13
Liked: 2 times
Joined: Jan 29, 2015 9:18 am
Contact:

Re: connecting to guest os via vix failed.

Post by Kas_Tigar » Jan 29, 2015 3:28 pm

Ok, thanks! I will check this.

Shestakov
Veeam Software
Posts: 7059
Liked: 725 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: connecting to guest os via vix failed.

Post by Shestakov » Jan 29, 2015 3:49 pm

Let me know if it works. Otherwise, please provide your support case number once you contact the support team.
Thanks.

MAA
Enthusiast
Posts: 48
Liked: never
Joined: Apr 27, 2013 12:10 pm
Contact:

Re: connecting to guest os via vix failed.

Post by MAA » Apr 30, 2015 2:25 pm

I also have this issue.

:: Connecting to guest OS via VIX, user DOMAIN\veeam Error: Cannot connect to host [a.b.c.d] over VIX. Login: [DOMAIN\veeam]. Guest Login: [DOMAIN\veeam].
Failed to login to VM: [[datastore] server01/server01.vmx]. User: [DOMAIN\veeam].
VIX Error: Authentication failure or insufficient permissions in guest operating system Code: 3015


(DOMAIN\veeam is Domain Admin and vCenter Admin)

foggy
Veeam Software
Posts: 18458
Liked: 1589 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: connecting to guest os via vix failed.

Post by foggy » Apr 30, 2015 2:39 pm

Check whether credentials are entered correctly and contact technical support.

dellock6
Veeam Software
Posts: 5791
Liked: 1657 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: connecting to guest os via vix failed.

Post by dellock6 » Apr 30, 2015 3:53 pm

Be careful about which credentials you use: this mode has a limitation that "classic" mode (network-based) doesn't have: you either need to disable UAC or use exactly the "well-known" administrator accounts (.\ADMINISTRATOR or DOMAIN\ADMINISTRATOR). Other administrative credentials that are not exactly "ADMINISTRATOR" will fail, even if they are domain admins. Since DOMAIN\veeam is none of these users, I suspect UAC is enabled.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2019
Veeam VMCE #1

muisesa
Lurker
Posts: 1
Liked: never
Joined: Apr 09, 2016 3:27 pm
Full Name: Scott Muise
Contact:

Re: connecting to guest os via vix failed.

Post by muisesa » Apr 09, 2016 3:29 pm

Just curious if there was ever a solution posted for this error... I am also receiving:

- connecting to guest os via RPC successful
- connecting to guest os via vix failed. Failed to open VM (datatore/vmx file). VIX Error: there was an error in communication code 14010

Thanks for the help...

foggy
Veeam Software
Posts: 18458
Liked: 1589 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: connecting to guest os via vix failed.

Post by foggy » Apr 11, 2016 2:37 pm

Do you have UAC enabled on the affected VMs? What credentials do you specify for the guest processing (please see Luca's answer above)?

kewnev
Enthusiast
Posts: 64
Liked: 19 times
Joined: Jun 17, 2012 1:09 pm
Full Name: Nev V
Contact:

Re: connecting to guest os via vix failed.

Post by kewnev » Apr 17, 2016 11:57 pm

muisesa wrote:Just curious if there was ever a solution posted for this error... I am also receiving:

- connecting to guest os via RPC successful
- connecting to guest os via vix failed. Failed to open VM (datatore/vmx file). VIX Error: there was an error in communication code 14010

Thanks for the help...
I recently came across this when moving our environment from Hyper-V to VMware, and if your situation is the same as ours the error only appears when executing the "Test Now" button under the Backup Job -> Guest Processing.
In your case, the VIX error you shouldn't need to worry about (assuming you don't have any guests that are "networkless").
You see, when Veeam performs a backup it will first try to connect with RPC. Only if RPC fails will it try with VIX.
As you can see in your above log extract RPC succeeds. Hence you can ignore the VIX error, and there is no need to disable UAC in the guest or to back up as the actual "administrator" login. The backup will work without warnings or errors (well it has for us).

To remove this confusion I think Veeam should not attempt VIX testing if RPC testing succeeds (ie when "Test Now" is executed).

ita-tomi
Influencer
Posts: 12
Liked: 7 times
Joined: Apr 09, 2015 7:14 pm
Contact:

Re: connecting to guest os via vix failed.

Post by ita-tomi » Apr 18, 2016 6:31 am 1 person likes this post

Only time you need VIX is if you have to backup VM with AppAware and there is no network connection from Veeam server to the VM. In those situations one needs to choose least bad option:
- Open access trough network
- Use Administrator account for backup job credentials
- Disable UAC
- Disable AppAware

Andreas Neufert
Veeam Software
Posts: 3978
Liked: 722 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: connecting to guest os via vix failed.

Post by Andreas Neufert » Apr 18, 2016 11:53 am 1 person likes this post

There are 2 ways to speak with the VM for InGuest processing.
RPC - The typical Windows way over the network.
VIX - Veeam connects to the ESXi hosts and opens a network less connection to the VM by using the VIX communication channel of the VMware Tools.

RPC is faster than VIX.
Veeam tries first to connect by RPC and fallback to VIX.

So if you can connect by RPC there is no need to fix the VIX connection.

To allow VIX to work you need several things:
- Actual VMware Tools installed within the VM.
- VM is running
- VIX is enabled within VMware Tools and ESXi (this is by default the case).
- DNS resolution needs to work correctly with the ESXi VMKernel interfaces (VMKernel Hostname and Domain settings needs to be inline with DNS).

For authentication within the VM you need one of the following.
a) Disabled UAC and a account that is somehow member of the local Administrator group.
or
b) the usage of a user with the name "Administrator" servername\administrator or domain\administrator and enabled UAC.

SaAtomic
Novice
Posts: 9
Liked: never
Joined: Oct 17, 2016 9:07 am
Contact:

[MERGED] Testing admin share accessibility via VIX fails

Post by SaAtomic » Dec 12, 2016 12:00 pm

I'm setting up an application-aware backup of a Windows Server 2012 R2 and get the following error message:

Code: Select all

Connecting to guest OS via VIX Error: Cannot upload  file to admin share [C:\Windows].
Cannot create folder in guest: [C:\Windows\VeeamGuestHelpersTest].
VIX Error: A file was not found Code: 4

Testing admin share accessibility via VIX
I've googled for a while and came across this blog entry https://notesfrommwhite.net/2016/06/28/ ... r-error-4/ and if I understand it correctly, the error can be fixed by using a local administrator account.
But I'm already using a local administrator account, for the target machine.

edit: The local administrator account is not named Administrator and I've added the following key in the registry:

Code: Select all

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\LocalAccountTokenFilterPolicy 1
What do I have to do to have my setup pass the application-aware backup test?

Vitaliy S.
Product Manager
Posts: 23230
Liked: 1611 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: connecting to guest os via vix failed.

Post by Vitaliy S. » Dec 12, 2016 2:20 pm

You either need to use built-in local administrator (named one) or disable UAC on this server. Please review this topic for more info.

jamerson
Expert
Posts: 313
Liked: 18 times
Joined: May 01, 2013 9:54 pm
Full Name: Julien
Contact:

[MERGED] VIX Error

Post by jamerson » Jan 06, 2017 12:34 pm

Hi Guys.
we are building a new ESXI6 for our customer.
i have created a daily job after adding the globe admin username and password and run a test , everything seems to be fine only one error.

Code: Select all

1/6/2017 2:32:02 PM :: Connecting to guest OS via VIX Error: Cannot connect to host [10.10.2.2] over VIX. Login: [root]. Guest Login: [domain\admin_me].
Failed to open VM [[SSD] DC001/DC001.vmx].
VIX Error: There was an error in communication Code: 14010
admin_me user is globe admin and can access the admin$ of each VM.
is this a firewall block ?

thank you

Vitaliy S.
Product Manager
Posts: 23230
Liked: 1611 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: connecting to guest os via vix failed.

Post by Vitaliy S. » Jan 06, 2017 12:43 pm

Julien, please take a look at my previous post for the solution. Should help.

Andreas Neufert
Veeam Software
Posts: 3978
Liked: 722 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: connecting to guest os via vix failed.

Post by Andreas Neufert » Jan 06, 2017 2:09 pm

Let me please add again that VIX processing is used ad fallback (only) if RPC connection is not possible. So you can ignore this if you start a test.

If you can not avoid VIX usage, then look at my above statement for details.

jamerson
Expert
Posts: 313
Liked: 18 times
Joined: May 01, 2013 9:54 pm
Full Name: Julien
Contact:

Re: connecting to guest os via vix failed.

Post by jamerson » Jan 06, 2017 4:23 pm

Vitaliy S. wrote:You either need to use built-in local administrator (named one) or disable UAC on this server. Please review this topic for more info.
which server do you mean to disable the UAC ? the VEEAM Server or the Client servers that need to be backed up ?

Vitaliy S.
Product Manager
Posts: 23230
Liked: 1611 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: connecting to guest os via vix failed.

Post by Vitaliy S. » Jan 06, 2017 4:26 pm

This refers to client servers (VMs).

Andreas Neufert
Veeam Software
Posts: 3978
Liked: 722 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: connecting to guest os via vix failed.

Post by Andreas Neufert » Jan 06, 2017 6:31 pm 1 person likes this post

Andreas Neufert wrote:There are 2 ways to speak with the VM for InGuest processing.
RPC - The typical Windows way over the network.
VIX - Veeam connects to the ESXi hosts and opens a network less connection to the VM by using the VIX communication channel of the VMware Tools.

RPC is faster than VIX.
Veeam tries first to connect by RPC and fallback to VIX.

So if you can connect by RPC there is no need to fix the VIX connection.

To allow VIX to work you need several things:
- Actual VMware Tools installed within the VM.
- VM is running
- VIX is enabled within VMware Tools and ESXi (this is by default the case).
- DNS resolution needs to work correctly with the ESXi VMKernel interfaces (VMKernel Hostname and Domain settings needs to be inline with DNS).

For authentication within the VM you need one of the following.
a) Disabled UAC and a account that is somehow member of the local Administrator group.
or
b) the usage of a user with the name "Administrator" servername\administrator or domain\administrator and enabled UAC.

jamerson
Expert
Posts: 313
Liked: 18 times
Joined: May 01, 2013 9:54 pm
Full Name: Julien
Contact:

Re: connecting to guest os via vix failed.

Post by jamerson » Jan 22, 2017 12:35 am

Disabled the UAC and after it works.
if it can't run the test , and the UAC is not off, would it do some harm stuff to the backup files ?

Andreas Neufert
Veeam Software
Posts: 3978
Liked: 722 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: connecting to guest os via vix failed.

Post by Andreas Neufert » Jan 22, 2017 6:47 am

It has not something to do with the way we write data, it is a question if the data is consistent and if you backup application-aware.

If RPC (over Network) works, you do not need VIX as VIX is ONLY used as fallback if RPC not work.

lreese
Novice
Posts: 8
Liked: 1 time
Joined: Aug 30, 2016 12:38 pm
Full Name: Logan Reese
Contact:

Re: connecting to guest os via vix failed.

Post by lreese » Jan 24, 2017 2:35 pm

I pointed all of my backups to use the local admin account instead of the domain admin account and found this to fix my issue.
It seems like a messy fix, but it will do for now.

Andreas Neufert
Veeam Software
Posts: 3978
Liked: 722 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: connecting to guest os via vix failed.

Post by Andreas Neufert » Jan 25, 2017 8:55 am

Thanks for the feedback.

VIX is only needed if there is no network connection for RPC and RPC can work with any account that belong to local admin group (inherit).

jrafter
Influencer
Posts: 13
Liked: 2 times
Joined: Dec 02, 2016 3:12 pm
Full Name: John R
Contact:

[MERGED] Backing up non-domain server

Post by jrafter » Mar 21, 2017 9:39 pm

I've been back and forth with support regarding this topic/issue. I have a non-domain server sitting in my vSphere environment. I used local admin credentials for Veeam to use...RPC fails but VIX appears to work. In the email log I see "Failed to call RPC function 'Vss.Unfreeze': Error code: 0x80004005. Failed to invoke func [Unfreeze]: Unspecified error. Failed to unfreeze guest system (VIX mode). Cannot run program [C:\Windows\TEMP\{e1e7ef23-3551-4564-8433-fbcd048f0dad}]. VIX Error: VMware Tools are not running in the guest Code: 3016"

VMware tools are up to date and running...the funny thing is that the on the second attempt it backed up successfully. I cant seem to find any definitive answers for backing up a non-domain box.

Any help?

PTide
Product Manager
Posts: 5349
Liked: 471 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: connecting to guest os via vix failed.

Post by PTide » Mar 21, 2017 11:04 pm

Hi,

Your post has been merged to the existing thread on the subject. Please review the thread and post your case ID. I'd also recommend to check VSS event log for any errors.

Thank you.

b.vanhaastrecht
Service Provider
Posts: 564
Liked: 98 times
Joined: Aug 26, 2013 7:46 am
Full Name: Bastiaan van Haastrecht
Location: The Netherlands
Contact:

[MERGED] VIX communication failure

Post by b.vanhaastrecht » Apr 20, 2017 11:56 am

Hello,

We have vSphere 6.0 and need networkless backup. Currently there's a problem with VIX:

Code: Select all

[20.04.2017 13:20:44] <49> Info     [WinGuestConnectionProxy] Connecting to guest service via VIX, hostIp '1.1.1.1', postPort '443', hostUser 'user', vmVmx '[spbr_ssd1] THLxxxxx (6f0051d4-bee4-4684-83e0-c25d8c4f13ce)/THL-xxxxxx(6f0051d4-bee4-4684-83e0-c25d8c4f13ce).vmx', vmUser 'domain\administrator'
[20.04.2017 13:20:45]      Info             Connecting to host [1.1.1.1] over VIX. Login: [user].
[20.04.2017 13:21:06]      Info             Connecting to host [1.1.1.1] over VIX. Login: [user].. Failed.
[20.04.2017 13:21:06]      Error             Cannot connect to host [1.1.1.1] over VIX. Login: [spbr_veeam]. Guest Login: [domain\administrator].
[20.04.2017 13:21:06]      Error             Failed to open VM [[spbr_ssd1] THL-xxxxxxx (6f0051d4-bee4-4684-83e0-c25d8c4f13ce)/THL-xxxxxxx (6f0051d4-bee4-4684-83e0-c25d8c4f13ce).vmx].
[20.04.2017 13:21:06]      Error             VIX Error: There was an error in communication Code: 14010
The user account is 100% correct and used to access the vCenter inventory correctly, it's an Administrator in vCenter.

There's a firewall between Veeam and vCenter (not managed by us). Does VIX use an other TCP port then 443? Other things that could be causing this?

Regards,
Bastiaan
========================================
Veeam ProPartner and Cloud Connect Provider

PTide
Product Manager
Posts: 5349
Liked: 471 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: connecting to guest os via vix failed.

Post by PTide » Apr 20, 2017 12:55 pm

Hi,
Does VIX use an other TCP port then 443?
I guess that it does:
vmware technote, page 4 wrote: 1. VIX client program calls a function in the VIX library.
2. VIX sends a command over a TCP connection (on port 902) to the virtual machine’s VMX process. The TCP connection for VIX guest operations goes directly to VMX on the ESXi host, bypassing the vCenter Server, and the host agent process. By contrast, virtual machine and datacenter operations are proxied by vCenter Server using SOAP/https on port 443, and relayed to the host agent.
3. VMX relays the command to VMware Tools in the guest.
4. VMware Tools has the Guest OS execute the guest operation.
14010 is a VIX_E_HOST_TCP_SOCKET_ERROR

Thanks

Ioannis.T
Influencer
Posts: 18
Liked: never
Joined: Dec 14, 2017 1:49 pm
Full Name: Ioannis Tsitsiklis
Contact:

[MERGED] Veeam in multiple domains

Post by Ioannis.T » Dec 14, 2017 2:18 pm

Hello,

I recently started evaluating Veeam backup&replication.
We have 3 AD domains. Domain A, B, C. There is no trust between those domains.
Veeam is in Domain A.
I have created different credentials in the credentials manager for each domain.
While everything works great for domain A, guest index & application-aware does not work for the other 2 domains.
I select the appropriate credentials for each VM before testing.
I have UAC disabled. and re-installed VM tools.
The error I get is

Code: Select all

Connecting to guest OS via VIX Error: Cannot upload  file to admin share [C:\Windows].Cannot create folder in guest: [C:\Windows\VeeamGuestHelpersTest].VIX Error: A file was not found Code: 4
Testing admin share accessibility via VIX
Any ideas?

Thank you
Ioannis

pcdr11
Lurker
Posts: 1
Liked: never
Joined: Nov 25, 2019 11:52 pm
Full Name: John Spencer
Contact:

Re: connecting to guest os via vix failed.

Post by pcdr11 » Nov 25, 2019 11:54 pm

i was able to resolve by simply making the local administrator account PASSWORD the same as the Domain administrator account.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests